Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

nCrunch.TestHost.x86.exe has stopped working
Mark
#1 Posted : Sunday, July 1, 2012 1:52:49 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/29/2012(UTC)
Posts: 36

Thanks: 13 times
Was thanked: 8 time(s) in 8 post(s)
I was recently using nCrunch 1.40.0.24b on a project and was given the following error message.
nCrunch.TestHost.x86.exe has stopped working. Stopping and restarting nCrunch in the visual studio menu just results in the error message happening again. It appears to be happening during the build process in nCrunch(Based on the status indicator in the lower right). Let me know if there's anything I can help with or anything else you need.
Thanks,
Mark Smith

Edit: Looks like I've introduced a stack overflow in one or more of my test cases. How well does nCrunch handle stack overflows in a test case?

Edit2: I recreated the issue in a project with 1 test and basically 2 lines of code. I couldn't find a good way of submitting a file to you so I emailed it directly to you.

nCrunch.TestHost.x86.exe has stopped working

Problem signature:
Problem Event Name: APPCRASH
Application Name: nCrunch.TestHost.x86.exe
Application Version: 0.0.0.0
Application Timestamp: 4fe10978
Fault Module Name: nCrunch.TestHost.x86.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4fe10978
Exception Code: 40000015
Exception Offset: 0000160d
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 79ed
Additional Information 2: 79edac7249921efddb8fda8eccf7598c
Additional Information 3: 34d2
Additional Information 4: 34d27dbf91c40b586544cd05ea728cc6

Read our privacy statement online:
http://go.microsoft.com/...104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt


Environment
VS 2010,
Resharper 7 EAP Build 7.0.76.69 on 2012-06-28T06:18:46
Windows 7 64 bit
Attached to a TFS preview account with the project being source controlled in the tfspreview service. (Which also means I have the forward compatibility KB required for connecting to the 2012 TFS server.
Project size is very small, I'll save a snapshot of the source as it exists now for use in troubleshooting.

Here's my VS about window dump
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50501 SP1Rel

Installed Version: Ultimate

Microsoft Office Developer Tools 01019-532-2002102-70622
Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01019-532-2002102-70622
Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01019-532-2002102-70622
Microsoft Visual C# 2010

Microsoft Visual C++ 2010 01019-532-2002102-70622
Microsoft Visual C++ 2010

Microsoft Visual F# 2010 01019-532-2002102-70622
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Architecture and Modeling Tools 01019-532-2002102-70622
Microsoft Visual Studio 2010 Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Microsoft Visual Studio 2010 Code Analysis Spell Checker 01019-532-2002102-70622
Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer 01019-532-2002102-70622
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01019-532-2002102-70622
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

DXCore for Visual Studio 11.2
DXCore for Visual Studio

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2522890) KB2522890
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2522890.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2529927) KB2529927
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2529927.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2542054) KB2542054
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2542054.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2548139) KB2548139
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2548139.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2549864) KB2549864
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2549864.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2635973) KB2635973
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2635973.

Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2662296) KB2662296
This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2662296.

JetBrains ReSharper 7 EAP Full Edition build 7.0.76.69 on 2012-06-28T06:18:46
JetBrains ReSharper 7 EAP package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2012 JetBrains, Inc.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio 2010 Ultimate - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

NCrunch
Continuous Testing Tool for .NET
Copyright © 2010-2012 Remco Software Ltd

NuGet Package Manager 1.2.20325.9034
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://nuget.codeplex.com.

Security Update for Microsoft Visual Studio 2010 Ultimate - ENU (KB2645410) KB2645410
This security update is for Microsoft Visual Studio 2010 Ultimate - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2645410.

Project Settings Comparison Tool
For more information about , see the website at
(- BROKEN LINK -)
For customer support, call 1-800-xxx-xxxx.
Copyright (c) 2012 Inc.
Remco
#2 Posted : Monday, July 2, 2012 4:10:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Mark -

Thanks for taking the time to share this issue. Stack overflows are a serious problem for continuous testing as the .NET framework itself treats them as a catastrophic failure that results in immediate termination of the test runner process. The default behaviour of the .NET framework is to throw up the error dialog you were presented with when the stack overflow has occurred, which is particularly irritating for a test runner that is expected to run in the background.

I've yet to find a reliable way to prevent the error dialog from appearing when a stack overflow occurs. However, NCrunch will automatically recover and will continue executing the rest of the tests in the pipeline as usual. If you see the error dialog appear, the best plan of action is often to turn off continuous execution (i.e. set NCrunch in manual mode) until you can fix the test that is causing the stack overflow.


Cheers,

Remco
1 user thanked Remco for this useful post.
Mark on 7/2/2012(UTC)
Mark
#3 Posted : Monday, July 2, 2012 4:48:44 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/29/2012(UTC)
Posts: 36

Thanks: 13 times
Was thanked: 8 time(s) in 8 post(s)
Thanks Remco,

I ended up disabling NCrunch until I tracked down the stack overflow while debugging a test and then reenabled it and tested out my theory. So I'm definitely not bothered by it at all but any time I see a big crash/debug popup I feel it's important enough to forward along a report. Overall it sounds like you have a pretty good hold of what's going on, so best of luck. I wish I had something else I could help with.

Mark Smith
1 user thanked Mark for this useful post.
Remco on 7/3/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.079 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download