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

7 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
19014 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

7 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
19014 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

7 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
2817 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

7 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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 18 2020 :  11:17:10 AM  Show Profile  Reply with Quote
Have you used earlier versions of VS2019, or is 16.5 preview 2 the first version of VS2019 that you have used?
Go to Top of Page

ldrs
New Member

7 Posts

Posted - Feb 18 2020 :  2:29:16 PM  Show Profile  Reply with Quote
I have used all previous version of VS: 2003, 2005, 2008, 2010, 2013, 2015, 2017, 2019.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 18 2020 :  2:39:46 PM  Show Profile  Reply with Quote
the thing I'm trying to determine is if the behavior changed specifically in vs2019 16.5 preview 2, or did the same crashes happen in vs2019 16.0, 16.1, 16.2, 16.3, or 16.4?

in other words, did the crashes only start after moving to 16.5 preview 2?

I'm specifically asking about VS 2019 -- not any other VS like 2017 or 2015.

Edited by - sean on Feb 18 2020 2:41:13 PM
Go to Top of Page

ldrs
New Member

7 Posts

Posted - Feb 18 2020 :  2:52:19 PM  Show Profile  Reply with Quote
I cannot say if it is specific to 16.5 preview 2 only. It might be but I am not certain. I've mostly been using the preview version and don't remember exactly when the crashes started.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 18 2020 :  7:22:52 PM  Show Profile  Reply with Quote
thanks for the clarification
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 20 2020 :  10:49:39 PM  Show Profile  Reply with Quote
The changes that were in 2363 are now officially released in build 2366.
https://support.wholetomato.com/default.asp?W404#2366
Go to Top of Page

ldrs
New Member

7 Posts

Posted - Apr 03 2020 :  12:37:04 PM  Show Profile  Reply with Quote
I have had another crash while closing VS just now.
VS 2019 16.6.0 Preview 2.0
VAX 10.9.2366
It might still be the same issue. It happens only sometimes, not consistently.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 03 2020 :  12:59:10 PM  Show Profile  Reply with Quote
Yes, we are experiencing similar inconsistent recurrence in 16.6 and are investigating. case=142074
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 09 2020 :  1:18:51 PM  Show Profile  Reply with Quote
I opened a bug report for Visual Studio regarding this crash:
https://developercommunity.visualstudio.com/content/problem/952829/crash-during-exit.html

They closed it as a dupe of another bug report I opened. That one is apparently fixed for the next 16.6 preview release.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000