vs2003 freezes at process detach

I'm debugging web-application.

After debug IE closed or ctrl-f5 hit my Visual Studio is freezed with 99% CPU usage.

When i want to attach to this studio instance using another studio instace it freezes too.

Ok, i attach dbgclr to second instance and get following stack trace:

[<Non-user Code>]

jetbrains.resharper.idecore.dll!JetBrains.ReSharper.ClipboardManager.ClipboardManager.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) Line 86 + 0x6 bytes C#
[] jetbrains.resharper.idecore.dll!JetBrains.ReSharper.ClipboardManager.ClipboardManager.Init() Line 22 + 0x10 bytes C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.InitializeComponent(JetBrains.ReSharper.Component.IComponent component = , System.Xml.XmlElement configurationElement = ) Line 184 C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.InitializeComponentIfNeeded(JetBrains.ReSharper.Component.IComponent component = {JetBrains.ReSharper.ClipboardManager.ClipboardManager}) Line 141 + 0xc bytes C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.GetComponentByImplType(System.Type implType = ) Line 344 C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.GetComponents() Line 359 C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.ComponentsLoaded(System.Collections.ArrayList descriptors = , System.Collections.Hashtable implTypeToComponentDescriptorMap = ) Line 452 C# jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentDescriptorsCache.RegisterHandler(System.Type interfaceAttributeType = , System.Type implementationAttributeType = , System.Reflection.Assembly configurationAssembly = , JetBrains.ReSharper.Component.IComponentLoadingHandler handler = ]]>) Line 54 C#
jetbrains.resharper.shell.dll!JetBrains.ReSharper.Component.ComponentContainer.InitializeComponents() Line 212 C#
jetbrains.resharper.shell.dll!JetBrains.ReSharper.Shell.UIApplicationShell.InitializeComponents() Line 823 C#
jetbrains.vsaddin.dll!JetBrains.ReSharper.Shell.VSIntegration.VSShell.InitializeComponents() Line 445 C#
jetbrains.resharper.shell.dll!JetBrains.ReSharper.Shell.UIApplicationShell.Init() Line 127 + 0x7 bytes C#
jetbrains.vsaddin.dll!JetBrains.ReSharper.Shell.VSIntegration.VSShell.VSShell(EnvDTE.DTE dte = {System.__ComObject}, EnvDTE.AddIn addIn = {System.__ComObject}) Line 270 C#
jetbrains.vsaddin.dll!JetBrains.VSAddin.AbstractAddIn.Startup() Line 46 + 0x22 bytes C#
jetbrains.vsaddin.dll!JetBrains.VSAddin.AbstractAddIn.OnConnection(System.Object application = {System.__ComObject}, Extensibility.ext_ConnectMode connectMode = ext_cm_Startup, System.Object addInInst = {System.__ComObject}, System.Array custom = {System.Array}) Line 151 C#

I cannot attach dbgclr to first studio instance because it not loads debug symbols completely (stops at
'DefaultDomain': Loaded 'RegexAssembly7_0.dll', No symbols loaded.

).
And so cannot show stack trace for first freezed studio.

Any ideas?

4 comments
Comment actions Permalink

Ok. Here the stack of first studio:

jetbrains.vsaddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.UpdateCommandFilter() Line 685 C#

jetbrains.vsaddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.MyCommandFilter.Exec(System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 684, uint nCmdexecopt = 0, int pvaIn = 0, int pvaOut = 1231772) Line 591 C#
system.windows.forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message m) + 0xde bytes
system.windows.forms.dll!System.Windows.Forms.NativeWindow.WndProc(System.Windows.Forms.Message m) + 0x6 bytes
jetbrains.vsaddin.dll!JetBrains.ReSharper.Shell.VSIntegration.VSShell.MyMainWindow.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) Line 131 + 0xc bytes C#
system.windows.forms.dll!System.Windows.Forms.NativeWindow.Callback(int hWnd, int msg, int wparam, int lparam) + 0x30 bytes
system.windows.forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message m) + 0x11e bytes
system.windows.forms.dll!System.Windows.Forms.NativeWindow.WndProc(System.Windows.Forms.Message m) + 0x6 bytes
jetbrains.resharper.commoncontrols.dll!JetBrains.ReSharper.CommonControls.WindowListener.WndProc(System.Windows.Forms.Message m = ) Line 37 C# system.windows.forms.dll!System.Windows.Forms.NativeWindow.Callback(int hWnd, int msg, int wparam, int lparam) + 0x30 bytes jetbrains.vsaddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.UpdateCommandFilter() Line 685 C# jetbrains.vsaddin.dll!JetBrains.VSAddin.TextControl.VSTextControl.MyCommandFilter.Exec(System.Guid pguidCmdGroup = {System.Guid}, uint nCmdID = 684, uint nCmdexecopt = 0, int pvaIn = 0, int pvaOut = 1238064) Line 591 C# system.windows.forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message m) + 0xde bytes system.windows.forms.dll!System.Windows.Forms.NativeWindow.WndProc(System.Windows.Forms.Message m) + 0x6 bytes jetbrains.vsaddin.dll!JetBrains.ReSharper.Shell.VSIntegration.VSShell.MyMainWindow.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) Line 131 + 0xc bytes C# system.windows.forms.dll!System.Windows.Forms.NativeWindow.Callback(int hWnd, int msg, int wparam, int lparam) + 0x30 bytes system.windows.forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message m) + 0x11e bytes system.windows.forms.dll!System.Windows.Forms.NativeWindow.WndProc(System.Windows.Forms.Message m) + 0x6 bytes jetbrains.resharper.commoncontrols.dll!JetBrains.ReSharper.CommonControls.WindowListener.WndProc(System.Windows.Forms.Message m = ]]>) Line 37 C#
system.windows.forms.dll!System.Windows.Forms.NativeWindow.Callback(int hWnd, int msg, int wparam, int lparam) + 0x30 bytes

system.dll!System.Net.Sockets.Socket.ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) + 0x13e bytes

system.dll!System.Net.Sockets.UdpClient.Receive(System.Net.IPEndPoint remoteEP) + 0x54 bytes
jetbrains.resharper.shell.dll!JetBrains.ReSharper.Shell.SocketManager.PortListenerThread.Run() Line 131 + 0xe bytes C#

mscorlib.dll!System.Threading.Monitor.Wait(System.Object obj, int millisecondsTimeout, bool exitContext) + 0x11 bytes

jetbrains.resharper.psi.dll!JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run() Line 76 + 0x15 bytes C#

What happens to it?

0
Comment actions Permalink

Oh, i'm forgot:

ReSharper 235. No any addins or plugins in use.

0
Comment actions Permalink

I get this quite often, don't think it's R# as we had this happen on a machine without R# installed, just a VS2003 bug (feature?).

0
Comment actions Permalink

a> I get this quite often, don't think it's R# as we had this happen on a
a> machine without R# installed, just a VS2003 bug (feature?).

Yeah, i know it.
But before 235 build everything were nice (such error happend but only 1-2 times a week).
After i've intelled 235 such behavior happens too often. Each 2-3 start with debugging.

0

Please sign in to leave a comment.