Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 System.ExecutionEngineException on VS close
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ldrs
New Member

4 Posts

Posted - Feb 11 2020 :  2:43:48 PM  Show Profile  Reply with Quote
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.

I reported the issue in the Visual Studio community but it seems to be related to VAX:
https://developercommunity.visualstudio.com/comments/913231/view.html

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."

feline
Whole Tomato Software

United Kingdom
16339 Posts

Posted - Feb 11 2020 :  2:59:10 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

ldrs
New Member

4 Posts

Posted - Feb 11 2020 :  3:30:42 PM  Show Profile  Reply with Quote
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.

Edited by - ldrs on Feb 11 2020 3:30:21 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16339 Posts

Posted - Feb 12 2020 :  08:19:12 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

ldrs
New Member

4 Posts

Posted - Feb 12 2020 :  3:29:54 PM  Show Profile  Reply with Quote
There are 70 projects and VA's Open File in Solution dialog shows [2134 of 2134].
I did not have the crash with debugger integration disabled yet. I am going to re-enable it and try with 2363_0.
Go to Top of Page

sean
Whole Tomato Software

USA
2763 Posts

Posted - Feb 17 2020 :  7:36:24 PM  Show Profile  Reply with Quote
Do you recall ever having experienced the crash in earlier versions of VS2019?
Go to Top of Page

ldrs
New Member

4 Posts

Posted - Feb 18 2020 :  02:11:18 AM  Show Profile  Reply with Quote
No, it only happened in VS2019.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000