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

Notification

Icon
Error

Extremely slow build processing followed by "hanging" devenv process
GreenMoose
#1 Posted : Tuesday, October 14, 2014 1:06:00 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
v2.10.0.4

Today I ended up with extremely slow processing during building (bug report submitted, could not get covering tests to show) so I closed solution and exited vstudio.

devenv.exe though wouldn't exit from list of processes (not choking cpu, but still doing something according to Cycles Delta in process explorer) so I started a second devenv.exe process and attached it to the orphan one and this is the callstack of main thread:
Code:

>	nCrunch.Core.dll!nCrunch.Core.Threading.CoreMessageDispatcher.BlockUntilQueueIsEmpty() + 0x86 bytes	
 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.PackageIntegrator.Terminate() + 0xbb bytes	
 	nCrunch.VSIntegration2010.dll!nCrunch.VSIntegration2010.CrunchPackage.Dispose(bool disposing) + 0x14 bytes	
 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close() + 0x1b bytes	
 	[Native to Managed Transition]	


and the list of active threads looks like this:
Code:

Not Flagged		26268	89	Worker Thread	Worker Thread	[Managed to Native Transition]	Lowest
 	 	 	 	 	 	[Managed to Native Transition]	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.ServiceProvider.GetService.AnonymousMethod__0() + 0x5d bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention.AnonymousMethod__0() + 0xb bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Func<int> method) + 0x2e bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Action method) + 0x4a bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.ServiceProvider.GetService(System.Guid guid, System.Type serviceType) + 0x129 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.ServiceProvider.GetService(System.Type serviceType) + 0x59 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.GetService(System.Type serviceType) + 0x31b bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.System.IServiceProvider.GetService(System.Type serviceType) + 0x5 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.VsShellUtilities.IsSolutionBuilding(System.IServiceProvider serviceProvider) + 0x24 bytes	 
 	 	 	 	 	 	nCrunch.VSIntegration2010.dll!nCrunch.VSIntegration2010.CrunchPackage.IsSolutionBuilding.get() + 0x1b bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.VsHostingEnvironment.IsIDEBuildInProgress.get() + 0x13 bytes	 
 	 	 	 	 	 	nCrunch.Client.dll!nCrunch.Client.Processing.TaskObstructionMonitor.HoldBuildThreadUntilExecutionIsAllowed() + 0x27 bytes	 
 	 	 	 	 	 	nCrunch.Client.dll!nCrunch.Client.ComponentLoader.SnapshotComponentFactory.(nCrunch.Compiler.ProcessorArchitecture ) + 0x2c bytes	 
 	 	 	 	 	 	nCrunch.Client.dll!nCrunch.Client.ComponentLoader.SnapshotComponentFactory.CreateSnapshotComponentFromXml(nCrunch.Common.IO.FilePath projectFilePath, nCrunch.Compiler.BuildXml projectXml, nCrunch.Common.IO.FilePath solutionFilePath, string[] additionalFilesToIncludeAtSolutionLevel, bool isLoadedFromFile, nCrunch.Core.Configuration.ISnapshotConfig snapshotConfig, nCrunch.TestExecution.VisualStudioVersion vsVersion) + 0x22a bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.Synchronisation.SnapshotSynchroniser.(nCrunch.Common.IO.FilePath , nCrunch.Compiler.BuildXml , bool , nCrunch.TestExecution.VisualStudioVersion ) + 0x8a bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.Synchronisation.SnapshotSynchroniser.(System.Collections.Generic.IList<nCrunch.VSAddIn.Synchronisation.DteProject> , System.Collections.Generic.IList<nCrunch.Core.SnapshotComponent> , System.Collections.Generic.HashSet<nCrunch.Common.IO.FilePath> , nCrunch.TestExecution.VisualStudioVersion ) + 0x1bc bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.Synchronisation.SnapshotSynchroniser.(nCrunch.VSAddIn.Synchronisation.SynchronisationEvents.DteProjectsAddedWithBuildXmlEvent ) + 0x193 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 
 	 	 	 	 	 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	 
 	 	 	 	 	 	nCrunch.Common.dll!nCrunch.Common.PendingDispatcherMessage.Dispatch() + 0x36 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Threading.CoreMessageDispatcher.() + 0x1dd bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Threading.PooledWorkItem.Start() + 0x55 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Threading.ThreadFactory.(object ) + 0x65 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(object state) + 0x3e bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x60 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		11628	122	Worker Thread	Worker Thread	[Managed to Native Transition]	Normal
 	 	 	 	 	 	[Managed to Native Transition]	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) + 0xbd bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags) + 0x1d bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.NetworkStream.Read(byte[] buffer, int offset, int size) + 0x83 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.DecryptorStream.Read(byte[] buffer, int offset, int count) + 0x423 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll! .Read(byte[] , int , int ) + 0x155 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Read(byte[] buffer, int offset, int count) + 0x39 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.IO.Stream.BeginReadInternal.AnonymousMethod__a(object param0) + 0x3c bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task<int>.InnerInvoke() + 0x49 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x2e bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x15 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xcb bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xb3 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		17164	98	Worker Thread	Worker Thread	[Managed to Native Transition]	Normal
 	 	 	 	 	 	[Managed to Native Transition]	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) + 0xbd bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags) + 0x1d bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.NetworkStream.Read(byte[] buffer, int offset, int size) + 0x83 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.DecryptorStream.Read(byte[] buffer, int offset, int count) + 0x423 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll! .Read(byte[] , int , int ) + 0x155 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Read(byte[] buffer, int offset, int count) + 0x39 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.IO.Stream.BeginReadInternal.AnonymousMethod__a(object param0) + 0x3c bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task<int>.InnerInvoke() + 0x49 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x2e bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x15 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xcb bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xb3 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		24808	30	Worker Thread	Single-Thread Scheduler Worker	System.Threading.Monitor.Wait()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) + 0x7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) + 0x182 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ManualResetEventSlim.Wait() + 0xb bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.JSLS.dll!Microsoft.VisualStudio.JSLS.Engine.SingleThreadScheduler.WorkerThreadStart() + 0x98 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		25016	102	Worker Thread	<No Name>		Normal
Not Flagged		25956	35	Worker Thread	<No Name>		Normal
Not Flagged		28212	0	Worker Thread	<No Name>		Normal
Not Flagged		29548	4	Worker Thread	Pool Thread #0	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		30396	10	Worker Thread	LAAFix	System.Threading.Thread.Suspend()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.Thread.Suspend() + 0x20 bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.LaaFix.() + 0xa1 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		31824	81	Worker Thread	Pool Thread #2	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		31864	38	Worker Thread	Pool Thread #3	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		32784	84	Worker Thread	<No Name>	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Data.Tools.Package.dll!Microsoft.VisualStudio.Data.Tools.Package.Explorers.BrowseObjectRetrieverJob.RunImpl() + 0xc4 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		33204	40	Worker Thread	<No Name>	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	VsGraphicsDebuggerPkg.dll!Microsoft.VsPixPkg.STAWorkerThread.DoWork() + 0x2e bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		34300	0	Worker Thread	<No Name>		Normal
Not Flagged		34324	0	Worker Thread	<No Name>		Normal
Not Flagged		35904	2	Worker Thread	<No Name>		Highest
Not Flagged		36232	17	Worker Thread	In-proc Node (Default)	System.Threading.WaitHandle.WaitAny()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitAny(System.Threading.WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) + 0x92 bytes	 
 	 	 	 	 	 	Microsoft.Build.dll!Microsoft.Build.BackEnd.InProcNode.Run(out System.Exception shutdownException) + 0xad bytes	 
 	 	 	 	 	 	Microsoft.Build.dll!Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeThreadProc() + 0x18 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		36296	29	Worker Thread	MiniTimer	System.Threading.Monitor.Wait()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) + 0x7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) + 0x182 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout) + 0x8 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.JSLS.dll!Microsoft.VisualStudio.JSLS.Shared.MiniTimer.WorkerThreadEntry() + 0x1ac bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		36436	14	Worker Thread	Worker Thread	[Managed to Native Transition]	Normal
 	 	 	 	 	 	[Managed to Native Transition]	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) + 0xbd bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.Socket.Receive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags) + 0x1d bytes	 
 	 	 	 	 	 	System.dll!System.Net.Sockets.NetworkStream.Read(byte[] buffer, int offset, int size) + 0x83 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.DecryptorStream.Read(byte[] buffer, int offset, int count) + 0x423 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll! .Read(byte[] , int , int ) + 0x155 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Read(byte[] buffer, int offset, int count) + 0x39 bytes	 
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Grid.Connectivity.BidirectionalStream.Read(byte[] buffer, int offset, int count) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.IO.Stream.BeginReadInternal.AnonymousMethod__a(object param0) + 0x3c bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task<int>.InnerInvoke() + 0x49 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.Execute() + 0x2e bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) + 0x15 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) + 0xcb bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) + 0xb3 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		36600	5	Worker Thread	Pool Thread #1	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		37548	28	Worker Thread	ApplicationMutices	[Managed to Native Transition]	Normal
 	 	 	 	 	 	[Managed to Native Transition]	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.Run() + 0x40 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.CreateDispatcherThread.AnonymousMethod__1() + 0x55 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		37556	0	Worker Thread	<No Name>		Normal
Not Flagged	>	37860	1	Main Thread	Main Thread	nCrunch.Core.Threading.CoreMessageDispatcher.BlockUntilQueueIsEmpty()	Normal
 	 	 	 	 	 	nCrunch.Core.dll!nCrunch.Core.Threading.CoreMessageDispatcher.BlockUntilQueueIsEmpty() + 0x86 bytes	 
 	 	 	 	 	 	nCrunch.VSAddIn.dll!nCrunch.VSAddIn.PackageIntegrator.Terminate() + 0xbb bytes	 
 	 	 	 	 	 	nCrunch.VSIntegration2010.dll!nCrunch.VSIntegration2010.CrunchPackage.Dispose(bool disposing) + 0x14 bytes	 
 	 	 	 	 	 	Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close() + 0x1b bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 

Not Flagged		38328	93	Worker Thread	<No Name>		Normal
Not Flagged		38376	32	Worker Thread	<No Name>		Normal
Not Flagged		38608	0	Worker Thread	<No Name>		Normal


HTH.
GreenMoose
#2 Posted : Tuesday, October 14, 2014 1:07:03 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
(continuing...)
Code:

Not Flagged		38788	31	Worker Thread	Pool Thread #4	System.Threading.WaitHandle.InternalWaitOne()	Normal
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool hasThreadAffinity, bool exitContext) + 0x22 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout, bool exitContext) + 0x28 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0x10 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() + 0x29 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Logger.Catch(System.Action action) + 0x20 bytes	 
 	 	 	 	 	 	JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread..ctor.AnonymousMethod__1() + 0x35 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x6f bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes	 
 	 	 	 	 	 	mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes	 
 	 	 	 	 	 	[Native to Managed Transition]	 


Remco
#3 Posted : Tuesday, October 14, 2014 9:01:34 PM(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, thanks for sharing this issue.

There is a known threading issue in the code you've described above. This code is responsible for checking the state of Visual Studio's build engine prior to performing a build action. It's very rare that problems arise from it, but it can happen and when it does, a restart of VS will fix it.

The next release of NCrunch will contain a fix for this issue, so in the long term it will be solved!


Cheers,

Remco
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.050 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download