Visual Studio deadlock with resharper 4.5.1208.6
I'm experiencing Visual Studio deadlocks with resharper, I don't know what
i'm exactly doing. But suddenly the Visual studio doesn't respond anymore
and says, do you wan't coninue waiting yes no if i click on visual studio.
the cpu is at 0 so it has to be a deadlock.
I although attached a debugger, but i only saw that somthing from jetbrains
was disposing. And the other jetbrains threads had some waitone operations.
Sincerly Thomas Stocker
Can I provide somthing helpful, like the callstacks of the blocked threads?
or make a dump of visual studio.
(I tried but didn't succeed, maybe i need some instructions)
__________ Information from ESET Smart Security, version of virus signature database 3935 (20090313) __________
The message was checked by ESET Smart Security.
http://www.eset.com
Please sign in to leave a comment.
I have again a blocked ide and i'm copying all the callstacks in the blocked
ide
0 2640 Main Thread Main Thread
JetBrains.VSIntegration.Infra.ConnectionPointCookie.Dispose Normal 0 0 2848 Worker Thread Highest 0 0 2156 Worker Thread Normal 0 0 3984 Worker Thread Normal 0 0 480 Worker Thread LicenseCheck Normal 0 0 3872 Worker Thread Activity Tracking Flush Thread Normal 0 0 868 Worker Thread Pool Thread #0 Normal 0 0 3672 Worker Thread Pool Thread #1 Normal 0 0 2288 Worker Thread Pool Thread #2 Normal 0 0 3032 Worker Thread Pool Thread #3 Normal 0 0 1692 Worker Thread Normal 0 0 1868 Worker Thread DaemonFibers #0 Normal 0 0 2636 Worker Thread DaemonFibers #1 Normal 0 0 1032 Worker Thread Daemon Normal 0 0 1276 Worker Thread CacheUpdate Normal 0 0 3344 Worker Thread ApplicationMutices Normal 0 0 1260 Worker Thread SolutionAnalysis.UpdatingDependencyToFilesMap Normal 0 0 3124 Worker Thread XML Doc Indexing Below Normal 0 0 2176 Worker Thread Unit Test Project Explorer Normal 0 0 1724 Worker Thread Normal 0 0 > 576 Worker Thread UiTaskExecutorWorker Normal 0 0 3452 Worker Thread ]]> Normal 0
Main Thread:
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VSIntegration.DocumentModel.VSDocumentOperationsHandler.DisconnectFromStream()
Line 207 + 0xe bytes C#
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VSIntegration.DocumentModel.VSDocumentOperationsHandler.Dispose()
Line 201 + 0x9 bytes C#
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VSDocument.OnOpenInEditor(JetBrains.VSIntegration.Interop.Declarations.IVsTextStream
textStream = {System.__ComObject}, bool creatingDocument = false) Line 55 +
0x17 bytes C#
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManager.OnRegisterTextBuffer(JetBrains.DocumentModel.VSIntegration.VsTextBufferData
textBufferData = {JetBrains.DocumentModel.VSIntegration.VsTextBufferData})
Line 976 + 0x7a bytes C#
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManager.OnRdtAfterFirstDocumentLock.AnonymousMethod()
Line 736 + 0xf bytes C#
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.ReadLockCookie.Execute(System.Action
action) + 0x45 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManager.OnRdtAfterFirstDocumentLock.AnonymousMethod()
Line 731 + 0x26 bytes C#
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.LogCookie.Execute(string
comment, System.Action F) + 0x67 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManager.OnRdtAfterFirstDocumentLock.AnonymousMethod()
Line 731 + 0x3f bytes C#
JetBrains.Platform.ReSharper.Util.dll!JetBrains.VSIntegration.ProjectModel.UnguardedCallbackMerger.ExecuteOrQueue.AnonymousMethod()
+ 0x20 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.Execute(string
name, System.Action action) + 0x81 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(string
name, System.Action action) + 0x75 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.VSIntegration.ProjectModel.UnguardedCallbackMerger.ExecuteOrQueue(JetBrains.Threading.ReentrancyGuard
reega, JetBrains.DataFlow.Disposables disposables, string name,
System.Action F) + 0xa8 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.VSIntegration.ProjectModel.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(string
name, System.Action F) + 0x57 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManager.OnRdtAfterFirstDocumentLock(JetBrains.VSIntegration.Interop.Declarations.VsShell.VSCOOKIE
docCookie = {JetBrains.VSIntegration.Interop.Declarations.VsShell.VSCOOKIE})
Line 731 + 0x39 bytes C#
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.DocumentModel.VSIntegration.VsDocumentManagerRdtListener.JetBrains.VSIntegration.Interop.Declarations.VsShell.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(JetBrains.VSIntegration.Interop.Declarations.VsShell.VSCOOKIE
docCookie = {JetBrains.VSIntegration.Interop.Declarations.VsShell.VSCOOKIE},
JetBrains.VSIntegration.Interop.Declarations.VsShell.VSRDTFLAGS
dwRDTLockType = RDT_EditLock, uint dwReadLocksRemaining = 0, uint
dwEditLocksRemaining = 1) Line 103 + 0x11 bytes C#
Microsoft.VSDesigner.dll!Microsoft.VSDesigner.ExceptionAssistant.DebuggerMonitor.ShowSourceWindow(Microsoft.VSDesigner.ExceptionAssistant.UserCodeContext
codeContext, bool promptOpen) + 0xb0 bytes
Microsoft.VSDesigner.dll!Microsoft.VSDesigner.ExceptionAssistant.DebuggerMonitor.IsUserCodeFrame(Microsoft.VSDesigner.ExceptionAssistant.ExceptionInfo
lastException = {Microsoft.VSDesigner.ExceptionAssistant.ExceptionInfo}, int
currentFrame, Microsoft.VisualStudio.Debugger.Interop.FRAMEINFO[] frameInfo
= {Microsoft.VisualStudio.Debugger.Interop.FRAMEINFO[13]}, uint frameCount =
13, ref bool promptedToOpenFile = false, out
Microsoft.VisualStudio.Debugger.Interop.IDebugExpressionContext2
exceptionExpressionContext = {System.__ComObject}, out
Microsoft.VSDesigner.ExceptionAssistant.DebuggerProperty exceptionProperty =
null) + 0x281 bytes
Microsoft.VSDesigner.dll!Microsoft.VSDesigner.ExceptionAssistant.DebuggerMonitor.TriageException(Microsoft.VSDesigner.ExceptionAssistant.ExceptionInfo
lastException = {Microsoft.VSDesigner.ExceptionAssistant.ExceptionInfo}) +
0x117 bytes
Microsoft.VSDesigner.dll!Microsoft.VSDesigner.ExceptionAssistant.DebuggerMonitor.OnDebugExceptionEvent(Microsoft.VisualStudio.Debugger.Interop.IDebugProcess2
process, Microsoft.VisualStudio.Debugger.Interop.IDebugProgram2 program =
{System.__ComObject}, ref
Microsoft.VisualStudio.Debugger.Interop.IDebugThread2 thread,
Microsoft.VisualStudio.Debugger.Interop.IDebugExceptionEvent2 debugEvent) +
0x2e5 bytes
Microsoft.VSDesigner.dll!Microsoft.VSDesigner.ExceptionAssistant.DebuggerMonitor.Microsoft.VSDesigner.ExceptionAssistant.IExceptionAssistantDebuggerMonitor.OnDebugEvent(Microsoft.VisualStudio.Debugger.Interop.IDebugEngine2
engine = null, Microsoft.VisualStudio.Debugger.Interop.IDebugProcess2
process = {System.__ComObject},
Microsoft.VisualStudio.Debugger.Interop.IDebugProgram2 program =
{System.__ComObject}, Microsoft.VisualStudio.Debugger.Interop.IDebugThread2
thread, Microsoft.VisualStudio.Debugger.Interop.IDebugEvent2 debugEvent =
{System.__ComObject}, ref System.Guid riidEvent, uint dwAttrib) + 0xb8 bytes
License Check:
System.dll!System.Net.Sockets.UdpClient.Receive(ref System.Net.IPEndPoint
remoteEP = null) + 0x6e bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.SocketManager.PortListenerThread.Run()
+ 0x94 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Activity Tracking Flush thread:
mscorlib.dll!System.Threading.WaitHandle.WaitOne(long timeout, bool
exitContext) + 0x2f bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.ActivityTracking.Impl.ActivityTracker.FlushLogEntries()
+ 0x3c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
Pool Thread #0
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc()
+ 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Pool Thread #1
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc()
+ 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Pool Thread #2
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc()
+ 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Pool Thread #3
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ThreadManager.PooledThread.ThreadProc()
+ 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Daemon Fibers #0
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Threading.MultiCoreFibersPool.DaemonFiberProc()
+ 0x39 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Daemon Fibers #1
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Threading.MultiCoreFibersPool.DaemonFiberProc()
+ 0x39 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Daemon
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.ReSharper.Daemon.dll!JetBrains.ReSharper.Daemon.Impl.DaemonThreadImpl.DaemonThreadProc()
+ 0x3d bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
CacheUpdate
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.Acquire(int
timeout = 50) + 0x190 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.TryAcquire(int
timeout) + 0x5 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.ShellLocks.TryAcquireWriteLock(int
timeout) + 0x4f bytes
JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Caches.TryWriteLockCookie.Init(JetBrains.Application.Progress.IProgressIndicator
progress = {JetBrains.ReSharper.Psi.Impl.Caches2.CacheWorkItemSubprogress})
+ 0x4c bytes
JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdater.ProjectFilesJob.ProcessProjectFile(JetBrains.ProjectModel.IProjectFile
projectFile = {JetBrains.ProjectModel.Impl.ProjectFileImpl},
JetBrains.Application.Progress.IProgressIndicator progress) + 0x206 bytes
JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdater.ProjectFilesJob.Do(JetBrains.Application.Progress.IProgressIndicator
progress = {JetBrains.ReSharper.Psi.Impl.Caches2.CacheWorkItemSubprogress})
+ 0x8e bytes
JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run()
+ 0x25a bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
ApplicationMutices
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.CreateDispatcherThread.AnonymousMethod()
+ 0x54 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
SolutionAnalysis.UpdatingDependencyToFilesMap
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Threading.WorkerThread.ThreadProc()
+ 0x42 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
XML Doc Indexing
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Impl.Reflection2.XmlDocIndexThread.Run()
+ 0x3e bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
Unit Test Project Explorer
mscorlib.dll!System.Threading.WaitHandle.WaitOne(int millisecondsTimeout,
bool exitContext) + 0x25 bytes
mscorlib.dll!System.Threading.WaitHandle.WaitOne() + 0xd bytes
JetBrains.ReSharper.UnitTestExplorer.dll!JetBrains.ReSharper.UnitTestExplorer.UnitTestManager.BackgroundProjectExplorer()
+ 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
UiTaskExecutorWorker
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.CreateDispatcherThread.AnonymousMethod()
+ 0x54 bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object state) +
0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes
__________ Information from ESET Smart Security, version of virus signature database 3941 (20090317) __________
The message was checked by ESET Smart Security.
http://www.eset.com
The neweset resharper version doesn't deadlock anymore so this issue is
fixed
__________ Information from ESET Smart Security, version of virus signature database 3988 (20090404) __________
The message was checked by ESET Smart Security.
http://www.eset.com
Hello,
Yes, we were able to identify a probable cause and fixed it right away before
the release.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”