Rank: Newbie
Groups: Registered
Joined: 9/28/2013(UTC) Posts: 2 Location: Ireland
|
I have a particular test which crashes the ncrunch process nCrunch.TestHost.x86.exe to terminate with exit code 3. Is there any documentation on what different exit codes mean?
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,161
Thanks: 964 times Was thanked: 1296 time(s) in 1202 post(s)
|
Hi Rattle -
NCrunch tries to handle every exception it can, with the intention of reporting more detailed information as part of the test result. Because of this, any exit codes returned from the testhost process are indicative of a system error that NCrunch isn't able to handle or accurately report... so I'm afraid that error code 3 is unknown to me. I recommend trying to run the offending test with a debugger attached to see if this will give you more information.
Two common errors that are known to crash the testhost process in a way NCrunch cannot control are: - Stack overflow - Out of memory
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/28/2013(UTC) Posts: 2 Location: Ireland
|
Thanks, the offending code caused a stack overflow error. I had tried to run in debug mode but that crashed out silently too.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,161
Thanks: 964 times Was thanked: 1296 time(s) in 1202 post(s)
|
Great to hear you isolated the issue. NCrunch V2 is expected to bring improved handling of stack overflows. It's a tricky area, as a stack overflow generally causes the CLR to completely annihilate the process with no chance of recovery.
|
|
|
|
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.NETThis page was generated in 0.026 seconds.