Closed jlaanstra closed 2 years ago
Thanks for reporting this. This looks like memory corruption. I don't think CsWin32 could be responsible for it though. Can you use Report a Problem in VS and repro it under the recorder so that a heap dump of the process can be shared with Microsoft and they can investigate? I wonder if another roslyn extension in that process is corrupting the memory.
Actual behavior
ServiceHub.RoslynCodeAnalysisService.exe randomly crashes during development:
Expected behavior
No crash.
Repro steps
NativeMethods.txt
content:NativeMethods.json
content (if present):Any of your own code that should be shared?
Context
netstandard2.0
] net6.0-windows10.0.22000LangVersion
(if explicitly set by project): [e.g.9
]