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

Notification

Icon
Error

nCrunch.Host.x86.exe preventing devenv.exe from exiting normally
gatapia
#1 Posted : Wednesday, June 20, 2012 1:42:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/29/2012(UTC)
Posts: 4
Location: Australia

Was thanked: 2 time(s) in 2 post(s)
When existing VS2010 the devenv.exe process cannot shutdown. Looking at ProcessExplorer it looks like nCrunch.Host is keeping it alive.

I'm using nCrunch 1.40b.

Is there anything I can do to get you more info? Error logs anywhere?

Tnx

Remco
#2 Posted : Wednesday, June 20, 2012 2:24:31 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for posting!

The nCrunch.Host process is something launched by the NCrunch VS Extension during shut down of VS. It is responsible for cleaning up any leftover workspaces created by NCrunch, as soon as the devenv.exe process has completely terminated. As such, this is actually the reverse of what you've described (devenv.exe is actually keeping the nCrunch.Host process alive).

A likely scenario is that there is a deadlock on VS exit. This could be caused by any plugin you may have installed (including NCrunch). If the problem is happening consistently for you, I think the first step would be to try uninstalling NCrunch to see if this makes any difference. This would confirm or deny whether NCrunch is the culprit.

Beyond this, the best way to identify the problem is to attach the VS debugger (of another VS process) onto devenv.exe after the process has hung during exit. Break into execution and check the list of running threads. Are there any threads that appear to be stuck in distinctive places inside managed code? If you can provide me with the names of any NCrunch methods responsible for hanging the threads, I should be able to troubleshoot the issue.


Thanks!

Remco
gatapia
#3 Posted : Wednesday, June 20, 2012 4:37:52 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/29/2012(UTC)
Posts: 4
Location: Australia

Was thanked: 2 time(s) in 2 post(s)
Hmmmmmn uninstalling NCrunch did not fix the issue. Must be an issue with something else. Very strange.

Thanks Remco, sorry for the false report.
1 user thanked gatapia for this useful post.
Remco on 6/20/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.039 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download