R# 5.1 hanging in XAML editor
Not sure about what's causing it but when I attach a debugger and look at the UI thread, I see the stack trace below. I also have a memory dump with heap from devenv if you can provide me a place to upload it.
> ntdll.dll!_ZwWaitForSingleObject@12() + 0x15 bytes
kernel32.dll!_WaitForSingleObjectEx@12() + 0x88 bytes
kernel32.dll!_WaitForSingleObject@8() + 0x12 bytes
[Managed to Native Transition]
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Concurrency.NativeEvent.WaitOne(int timeout) + 0xe bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.Acquire(int timeout = -1) + 0x15e bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.Acquire() + 0x9 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.ShellLocks.AcquireWriteLock() + 0x5d bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.WriteLockCookie.Init(bool takeLock) + 0x54 bytes
JetBrains.Platform.ReSharper.DocumentModel.dll!JetBrains.DocumentModel.Impl.DocumentBase.HandleDocumentChange(JetBrains.DocumentModel.DocumentChange args = {JetBrains.DocumentModel.DocumentChange}, int timestamp = 1587, bool underWriteLock) + 0xb6 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.OnChangeStreamTextCore.AnonymousMethod__22() + 0x42 bytes
JetBrains.Platform.ReSharper.DocumentModel.dll!JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(System.Action F) + 0x25 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.OnChangeStreamTextCore.AnonymousMethod__21() + 0x4e bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.CommandProcessing.CommandProcessor.WithCommand(string commandName, System.Action action) + 0x4a bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.OnChangeStreamTextCore(JetBrains.Util.TextRange oldrange = Range = (Cannot evaluate expression because a native frame is on top of the call stack.:Cannot evaluate expression because a native frame is on top of the call stack.), Length = Cannot evaluate expression because a native frame is on top of the call stack., JetBrains.Util.TextRange newrange = Range = (Cannot evaluate expression because a native frame is on top of the call stack.:Cannot evaluate expression because a native frame is on top of the call stack.), Length = Cannot evaluate expression because a native frame is on top of the call stack.) + 0x26b bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ExecutePendingChanges() + 0xac bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Threading.Invocator.ExecuteOrQueueReadLock.AnonymousMethod__3() + 0x33 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.Execute(string name = "OnChangeStreamText", System.Action action) + 0x79 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(string name, System.Action action) + 0x64 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Threading.Invocator.ExecuteOrQueueReadLock(string name, System.Action action) + 0x4f bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Microsoft.VisualStudio.TextManager.Interop.IVsTextStreamEvents.OnChangeStreamText(int iPos = 736, int iOldLen = 55, int iNewLen = 9, int fLast = 1) + 0x62f bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChanged(object sender, Microsoft.VisualStudio.Text.TextContentChangedEventArgs e) + 0x346 bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent<Microsoft.VisualStudio.Text.TextContentChangedEventArgs>(object sender = {Microsoft.VisualStudio.Text.Implementation.TextBuffer}, System.EventHandler<Microsoft.VisualStudio.Text.TextContentChangedEventArgs> eventHandlers, Microsoft.VisualStudio.Text.TextContentChangedEventArgs args = {Microsoft.VisualStudio.Text.TextContentChangedEventArgs}) + 0xc2 bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Implementation.BaseBuffer.RawRaiseEvent(Microsoft.VisualStudio.Text.TextContentChangedEventArgs args = {Microsoft.VisualStudio.Text.TextContentChangedEventArgs}, bool immediate) + 0xd0 bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Implementation.BaseBuffer.TextContentChangedEventRaiser.RaiseEvent(Microsoft.VisualStudio.Text.Implementation.BaseBuffer baseBuffer, bool immediate) + 0x16 bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Implementation.BufferGroup.RaiseEvents() + 0x67 bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Implementation.BufferGroup.FinishEdit() + 0x1b bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Implementation.BaseBuffer.TextBufferEdit.Apply() + 0x5e bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.InsertText(string text = "KB982721 ", bool final = true, string undoText) + 0xb4f bytes
Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.InsertText(string text) + 0x1c bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Paste.AnonymousMethod__88() + 0x15 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.PasteTextAndAddGoBackLocations(System.Func<bool> pasteAction) + 0x58 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Paste(Microsoft.VisualStudio.OLE.Interop.IDataObject vsDataObject) + 0x270 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Paste() + 0x5a bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.InnerExec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x133e bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainTail.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x21 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.Undo.UndoManagerCommandFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x9f bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.IntellisenseCommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x116 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Package.LanguageService.10.0.dll!Microsoft.VisualStudio.Package.ViewFilter.InnerExec(ref System.Guid guidCmdGroup, uint nCmdId, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x1b bytes
Microsoft.VisualStudio.Package.LanguageService.10.0.dll!Microsoft.VisualStudio.Package.ViewFilter.ExecCommand(ref System.Guid guidCmdGroup = {System.Guid}, uint nCmdId = 26, uint nCmdexecopt = 0, System.IntPtr pvaIn = 0, System.IntPtr pvaOut = 0) + 0x12c bytes
Microsoft.VisualStudio.Xaml.dll!MS.Internal.XamlLanguageService.VsXamlLanguageService.XamlViewFilter.ExecCommand(ref System.Guid guidCmdGroup, uint nCmdId, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x96 bytes
Microsoft.VisualStudio.Package.LanguageService.10.0.dll!Microsoft.VisualStudio.Package.ViewFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid guidCmdGroup, uint nCmdId, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0xb7 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
AlignAssignments.dll!NoahRichards.AlignAssignments.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x71 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
MoveLineCommand.dll!Microsoft.MoveLineCommand.CommandFilter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x97 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
CopyAsHtml.dll!Microsoft.VisualStudio.Text.Formatting.Implementation.CommandFilter.Exec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 26, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x23 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x20 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.ExecOldCommandTarget.AnonymousMethod__6() + 0xee bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.CommandProcessing.CommandProcessor.WithCommand(string commandName, System.Action action) + 0x4a bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.Application.VsCommandProcessor.WithVsCommand(System.ComponentModel.Design.CommandID commandid = {System.ComponentModel.Design.CommandID}, System.Action F = {Method = Cannot evaluate expression because a native frame is on top of the call stack.}) + 0x1e6 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.ExecOldCommandTarget.AnonymousMethod__5() + 0x57 bytes
JetBrains.Platform.ReSharper.DocumentModel.dll!JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(System.Action F) + 0x25 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.ExecOldCommandTarget(System.ComponentModel.Design.CommandID commandid = {System.ComponentModel.Design.CommandID}, System.IntPtr pvaIn = 0, uint nCmdexecopt = 0, System.IntPtr pvaOut = 0) + 0x172 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroupRef = {System.Guid}, uint nCmdID = 26, uint nCmdexecopt = 0, System.IntPtr pvaIn = 0, System.IntPtr pvaOut = 0) + 0x12f bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 26, uint nCmdexecopt, System.IntPtr pvaIn = 0, System.IntPtr pvaOut) + 0x163 bytes
Microsoft.VisualStudio.Editor.Implementation.dll!Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x92 bytes
Microsoft.VisualStudio.Xaml.dll!MS.Internal.Designer.TextEditor.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 26, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x43 bytes
Microsoft.VisualStudio.Xaml.dll!MS.Internal.Designer.EditorTab.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x77 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(ref System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 26, uint nCmdexecopt = 0, System.IntPtr pvaIn = 0, System.IntPtr pvaOut = 0) + 0xfe bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(ref System.Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, System.IntPtr pvaIn, System.IntPtr pvaOut) + 0x4f bytes
[Native to Managed Transition]
msenv.dll!CVSCommandTarget::ExecCmd() + 0x309 bytes
msenv.dll!FTranslateAcceleratorEx() + 0x96389 bytes
msenv.dll!FTranslateAccelerator() + 0x60 bytes
msenv.dll!CMsoComponent::MainFTranslateMessage() + 0xe2 bytes
msenv.dll!CMsoComponent::FPreTranslateMessage() + 0x44 bytes
msenv.dll!SCM_MsoStdCompMgr::FPreTranslateMessage() + 0x52 bytes
msenv.dll!ProcessMessage() + 0x19 bytes
msenv.dll!CMsoCMHandler::EnvironmentMsgLoop() + 0x87 bytes
msenv.dll!CMsoCMHandler::FPushMessageLoop() + 0x79 bytes
msenv.dll!SCM::FPushMessageLoop() + 0x8c bytes
msenv.dll!SCM_MsoCompMgr::FPushMessageLoop() + 0x2a bytes
msenv.dll!CMsoComponent::PushMsgLoop() + 0x28 bytes
msenv.dll!VStudioMainLogged() + 0x22a bytes
msenv.dll!_VStudioMain() + 0x78 bytes
devenv.exe!util_CallVsMain() + 0xdb bytes
devenv.exe!CDevEnvAppId::Run() + 0x693 bytes
devenv.exe!_WinMain@16() + 0x88 bytes
devenv.exe!operator new[]() + 0xa59d bytes
kernel32.dll!_BaseProcessStart@4() + 0x28 bytes
Please sign in to leave a comment.
This just happened in the text editor too. It has happened 2-3 times yesterday and again today. R# is becomming unusable like this. This hang must be fixed ASAP.
Does the stack trace have enough info; do you need the memory dump?
Hello,
Same here. I can't use 5.1 (or the latest 7-7 nightly build) to get my work
done.
"With this ReSharper 5.1 release, we’re closing the ReSharper 5.1 Early
Access Program in order to focus on ReSharper 6 development. We’re really
hoping that critical issues that affect multiple users are firmly behind us
and we won’t have to reopen the 5.1 EAP."
Hmm. Please focus on a working 5.1 or 5.2 version.
--
/\/\arkus.
I am seeing exactly the same problem and it is seriously impacting productivity. This really needs fixing ASAP.
Yep me too --- xaml editor completely hangs visual studio 2-4x per day, c# editor sometimes not at all, sometimes maybe 1x. Running VS2010 w/ 5.1. Started noticing this somewhere during the last several EAP builds. R# 5 really has been a *big* disappointment so far, have to say. Was a very contented user of 3 - 4.5, but have been having to suspend R# frequently for extended period of times due first to slow performance and now too much instability (hard to say if performance has improved in 5.1 as I have to kill VS often enough that haven't been using it for long periods of time like before).
BTW @ JetBrains
I can't see his second post:
http://devnet.jetbrains.net/message/5267539#5267539
here on nntp.
--
/\/\arkus.
Hello Oren
Do you have exact repro steps, so that we could repeat this behavior on our side? Have you checked that this doesn't happen when ReSharper 5.1 is suspended (under Tools | Options | ReSharper | General)? Could you please also attach stack traces of all running threads (besides the UI thread)? Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
i see similar problems in the VB editor.It is nearly not usable in Visual Studio 2010 with R# turned on. Ironically when i work on the same solution in Visual Studio 2008 on a much less powerful PC the performance is much better, but there i have OutOfMemory Exceptions once or twice a day. In general for me editing performance was much better in 5.0 and earlier EAP builds.
My wish is also that the JetBrains folks should focus on fixing performance issues in 5.1.
Regards
Klaus
Andrey,
It does not happen then.
--
/\/\arkus.
Andrey,
Just try anything with xaml. It will crash sooner or later. Here it always
crashes sooner.
I just opened a xaml file and hit 4-5 keys 'till VS freezed -- just
inserted and removed some spaces here and there, without making the xaml
file invalid at any time.
all?? Is there a quick way to accomplish this? And why only the running
ones? Most of them are waiting at a WaitHandle.
Unflagged 4964 18 Worker Thread DaemonFibers #0 Normal 0000000000000011 0
Unflagged 4268 19 Worker Thread DaemonFibers #1 Normal 0000000000000011 0
Unflagged 4516 17 Worker Thread ProductUsageFeedbackSubmitter Normal 0000000000000011 0
Unflagged 1652 14 Worker Thread Build Engine Loop (Default) Normal 0000000000000011 0
Unflagged 4220 30 Worker Thread Unit Test Project Explorer Normal 0000000000000011 0
Unflagged 3652 20 Worker Thread Daemon Normal 0000000000000011 0
Unflagged 4324 24 Worker Thread SolutionAnalysis.UpdatingDependencyToFilesMap Normal 0000000000000011 0
Unflagged 4576 25 Worker Thread ExternalSourcesPsiCache cleanup Below Normal 0000000000000011 0
Unflagged 3560 26 Worker Thread Pdb cache thread Below Normal 0000000000000011 0
Unflagged > 2904 21 Worker Thread CacheUpdate Normal 0000000000000011 0
Unflagged 4564 29 Worker Thread XML Indexing Below Normal 0000000000000011 0
Unflagged 1140 13 Worker Thread In-proc Node (Default) Normal 0000000000000011 0
Unflagged 2740 38 Worker Thread In-proc Node (DTAR) Normal 0000000000000011 0
Unflagged 4976 15 Worker Thread Pool Thread #2 Normal 0000000000000011 0
Unflagged 2920 32 Worker Thread Build Engine Loop (DTAR) Normal 0000000000000011 0
Unflagged 4676 8 Worker Thread Pool Thread #3 Normal 0000000000000011 0
Unflagged 4432 40 Worker Thread RequestBuilder thread Normal 0000000000000011 0
Unflagged 4876 36 Worker Thread Pool Thread #1 Normal 0000000000000011 0
Unflagged 1176 34 Worker Thread Pool Thread #0 Normal 0000000000000011 0
Unflagged 3396 11 Worker Thread RequestBuilder thread Normal 0000000000000011 0
Unflagged 2736 10 Worker Thread Build Engine Loop (DTAR) Normal 0000000000000011 0
Unflagged 2344 9 Worker Thread In-proc Node (DTAR) Normal 0000000000000011 0
Unflagged 1044 0 Worker Thread _threadstartex _callthreadstartex Below Normal 0000000000000011 0
Unflagged 3020 0 Worker Thread Win32 Thread 74d4efa4 Normal 0000000000000011 0
Unflagged 4956 0 Worker Thread Win32 Thread 74d4efa4 Normal 0000000000000011 0
Unflagged 4116 6 Worker Thread 779000fd Normal 0000000000000011 0
Unflagged 2780 0 Worker Thread Win32 Thread 779000fd Normal 0000000000000011 0
Unflagged 3016 23 Worker Thread ApplicationMutices 779000fd Normal 0000000000000011 0
Unflagged 1124 0 Worker Thread Win32 Thread 77901ee6 Normal 0000000000000011 0
Unflagged 4628 0 Worker Thread Win32 Thread 77901ee6 Normal 0000000000000011 0
Unflagged 3968 0 Worker Thread Win32 Thread 77901ee6 Normal 0000000000000011 0
Unflagged 3276 0 Worker Thread Win32 Thread 77901ee6 Normal 0000000000000011 0
Unflagged 4344 0 Worker Thread Win32 Thread 77901ee6 Normal 0000000000000011 0
Oh, I just noticed that expanding the "Location" column first includes the
callstack into the clipboard:
--
/\/\arkus.
In my case if I build with a Xaml file open then it will max out one of the CPUs and hang VS2010.
Hello Markus,
Thank you very much! This is clear indication of deadlock and its location,
which we couldn't reproduce, we'll fix it ASAP. Still deciding on how to
arrange 5.1.1 with fixes.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
MS> Andrey,
MS>
>> Do you have exact repro steps, so that we could repeat this behavior
>> on our side?
>>
MS> Just try anything with xaml. It will crash sooner or later. Here it
MS> always
MS> crashes sooner.
MS> I just opened a xaml file and hit 4-5 keys 'till VS freezed -- just
MS> inserted and removed some spaces here and there, without making
MS> the xaml
MS> file invalid at any time.
>> Could you please also attach stack traces of all running threads
>> (besides the UI thread)?
>>
MS> all?? Is there a quick way to accomplish this? And why only the
MS> running ones? Most of them are waiting at a WaitHandle.
MS>
MS> Unflagged 4964 18 Worker Thread DaemonFibers #0 [In a sleep, wait,
MS> or join] Normal 0000000000000011 0
MS> Unflagged 4268 19 Worker Thread DaemonFibers #1 [In a sleep, wait,
MS> or join] Normal 0000000000000011 0
MS> Unflagged 4516 17 Worker Thread ProductUsageFeedbackSubmitter [In a
MS> sleep, wait, or join] Normal 0000000000000011 0
MS> Unflagged 1652 14 Worker Thread Build Engine Loop (Default) [In a
MS> sleep, wait, or join] Normal 0000000000000011 0
MS> Unflagged 4220 30 Worker Thread Unit Test Project Explorer [In a
MS> sleep, wait, or join] Normal 0000000000000011 0
MS> Unflagged 3652 20 Worker Thread Daemon
MS> Normal 0000000000000011 0
MS> Unflagged 4324 24 Worker Thread
MS> SolutionAnalysis.UpdatingDependencyToFilesMap [In a sleep, wait, or
MS> join] Normal 0000000000000011 0
MS> Unflagged 4576 25 Worker Thread ExternalSourcesPsiCache cleanup [In
MS> a sleep, wait, or join] Below Normal 0000000000000011 0
MS> Unflagged 3560 26 Worker Thread Pdb cache thread [In a sleep, wait,
MS> or join] Below Normal 0000000000000011 0
Unflagged>> 2904 21 Worker Thread CacheUpdate [In a sleep, wait, or
Unflagged>> join] Normal 0000000000000011 0
Unflagged>>
MS> Unflagged 4564 29 Worker Thread XML Indexing [In a sleep, wait, or
MS> join] Below Normal 0000000000000011 0
MS> Unflagged 1140 13 Worker Thread In-proc Node (Default) [In a sleep,
MS> wait, or join] Normal 0000000000000011 0
MS> Unflagged 2740 38 Worker Thread In-proc Node (DTAR) [In a sleep,
MS> wait, or join] Normal 0000000000000011 0
MS> Unflagged 4976 15 Worker Thread Pool Thread #2 [In a sleep, wait,
MS> or join] Normal 0000000000000011 0
MS> Unflagged 2920 32 Worker Thread Build Engine Loop (DTAR) [In a
MS> sleep, wait, or join] Normal 0000000000000011 0
MS> Unflagged 4676 8 Worker Thread Pool Thread #3 [In a sleep, wait, or
MS> join] Normal 0000000000000011 0
MS> Unflagged 4432 40 Worker Thread RequestBuilder thread [In a sleep,
MS> wait, or join] Normal 0000000000000011 0
MS> Unflagged 4876 36 Worker Thread Pool Thread #1 [In a sleep, wait,
MS> or join] Normal 0000000000000011 0
MS> Unflagged 1176 34 Worker Thread Pool Thread #0 [In a sleep, wait,
MS> or join] Normal 0000000000000011 0
MS> Unflagged 3396 11 Worker Thread RequestBuilder thread [In a sleep,
MS> wait, or join] Normal 0000000000000011 0
MS> Unflagged 2736 10 Worker Thread Build Engine Loop (DTAR) [In a
MS> sleep, wait, or join] Normal 0000000000000011 0
MS> Unflagged 2344 9 Worker Thread In-proc Node (DTAR) [In a sleep,
MS> wait, or join] Normal 0000000000000011 0
MS> Unflagged 1044 0 Worker Thread _threadstartex _callthreadstartex
MS> Below Normal 0000000000000011 0
MS> Unflagged 3020 0 Worker Thread Win32 Thread 74d4efa4 Normal
MS> 0000000000000011 0
MS> Unflagged 4956 0 Worker Thread Win32 Thread 74d4efa4 Normal
MS> 0000000000000011 0
MS> Unflagged 4116 6 Worker Thread
Ilya,
While we're all here in fighting mode, can I say how much it depresses me to see stuff like 'ProductUsageFeedbackSubmitter' on a waiting thread in a call stack.
Is there really a whole thread, sleeping almost continuously, just waiting to send feedback occasionally?
If you weren't already right up against the wall on both virtual memory consumption and performance, I could understand this, but .net gives you so many better ways of finding a thread on which to run something occasionally.
Please tell us that R#6 is going to have fewer DLLs and fewer threads...
Will
Thanks Oren and Markus for doing some of the hard work on this.
Just upgraded to 5.1 a couple of days ago and the hangs have been doing my head in. Was not looking forward to getting something reproduceable to send to JetBrains.
Now, JetBrainers.. hopefully you will notice this post in the midst of the rest, please could you supply a download link to Resharper 5.0? like a fool I did not keep my original installer and I really need to crack on with my work and don't reeeallly want to wait for 5.1.1 (apologies if there is already a spot to get old versions and I have missed it)
Thanks
Gav Shaw
Hello Gavin,
Older versions: http://devnet.jetbrains.net/docs/DOC-280
The link is actually on the right side on the main download page :)
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
GS> Thanks Oren and Markus for doing some of the hard work on this.
GS>
GS> Just upgraded to 5.1 a couple of days ago and the hangs have been
GS> doing my head in. Was not looking forward to getting something
GS> reproduceable to send to JetBrains.
GS>
GS> Now, JetBrainers.. hopefully you will notice this post in the midst
GS> of the rest, please could you supply a download link to Resharper
GS> 5.0? like a fool I did not keep my original installer and I really
GS> need to crack on with my work and don't reeeallly want to wait for
GS> 5.1.1 (apologies if there is already a spot to get old versions and
GS> I have missed it)
GS>
GS> Thanks
GS>
GS> Gav Shaw
GS>
GS> ---
GS> Original message URL:
GS> http://devnet.jetbrains.net/message/5268829#5268829
Thanks Ilya,
Thought it might be somewhere obvious and I was missing it.
Cheers,
Gav
Any news on when we might see 5.1.1?
I'm also very interested in when a service pack addressing this issue might be released. Having to switch ReSharper on and off every time I edit XAML is really hurting my productivity. Are there tickets open on the ReSharper issue tracker that I can watch?
The nightly builds are available http://confluence.jetbrains.net/display/ReSharper/ReSharper+5.1.1+Bugfix+Builds I haven't been able to give it a proper thashing yet, so not sure if the XAML issues are sorted yet, will find out this week though :)