VS 2019 Preview 16.5.0 Preview 2.0. VAX 10.9.2358.0 built 2019-12-19.
I had VS open and clicked the close X in the top right corner. While closing, devenv.exe crashed with:
</StackTrace><ExceptionString>System.ExecutionEngineException: Exception of type ‘System.ExecutionEngineException’ was thrown.</ExceptionString></Exception></TraceRecord> An unhandled exception of type ‘System.ExecutionEngineException’ occurred in Unknown Module.
According to their analysis, "we are getting an Access Violation while freeing the RCW for VaManagedComLib.IVaDebuggerToolService. You should report the problem to them (linking them here), I can chat with them or (possibly) get them the dump if they wanted to look further."
Was this a one off problem, or are you seeing this every time you close VS2019 preview?
I am assuming you have:
VA Options -> Debug Assistance -> Enable debugger integration required by VA Step Filter for native C/C++
turned On. Assuming you are able to load and exit the IDE without a crash can you try turning this setting off and see if it makes any difference? I will install this preview here and see if I can reproduce this problem.
It's not consistently reproducible; happens every couple of times. I always have a larger solution open before closing VS. Debugger integration is turned on. I can try turning it off but it will take a while to see if it crashes again.
How large is your solution? As a way to measure this, how many files do you have in your solution?
If you open VA's Open File in Solution dialog (Alt-Shift-O) the title bar contains two numbers. The first number is the number of files currently listed, which changes as you filter the list. The second number is the total number of files in the list, which is normally the number of files in your solution. What is this second number?
It is possible that solution size is a factor here, but I am not sure why it should be.