[232] VS2005 hang because of hidden modal dialog window

I had VS2005 hang right after doing a refactor operation that brings the little modal ReSharper window.

VS2005 was not really hung because when I clicked on it, it would beep, just like when you click outside of a modal dialog. What I discovered is that when I right-click on the VS2005 taskbar icon (to close it), I'd see the ReSharper modal dialog box appear and disappear quickly. It seems like it got lost behind the VS2005 window and there was no way for me to bring it way, as far as I know.

Here is the stack trace of the 'Main' thread:


> System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(System.Windows.Forms.Form form = {JetBrains.ReSharper.CodeInsight.Generate.GenerateWizardForm}) + 0x1e3 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = 4, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.Application.ModalApplicationContext}) + 0x1db bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x53 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window owner) + 0x4ee bytes
JetBrains.ReSharper.Shell.dll!JetBrains.ReSharper.Shell.WindowUtil.ShowDialog(System.Windows.Forms.Form form = {JetBrains.ReSharper.CodeInsight.Generate.GenerateWizardForm}, System.Windows.Forms.IWin32Window owner) + 0x44 bytes
JetBrains.ReSharper.CodeInsight.dll!JetBrains.ReSharper.CodeInsight.Generate.GenerateProcessor.Execute.AnonymousMethod() + 0x6d bytes
JetBrains.ReSharper.Shell.dll!JetBrains.ReSharper.Shell.Invocator.PendingAction.Execute() + 0x28 bytes
JetBrains.ReSharper.Shell.dll!JetBrains.ReSharper.Shell.Invocator.ProcessQueue() + 0x131 bytes


mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x5a bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackDo(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0x9d bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(object obj) + 0x6b bytes
mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x43 bytes


mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x92 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallback(System.Windows.Forms.Control.ThreadMethodEntry tme) + 0x90 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.InvokeMarshaledCallbacks() + 0xb3 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x800 bytes
System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x45 bytes
System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.WndProc(ref System.Windows.Forms.Message m) + 0x13 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.WndProc(ref System.Windows.Forms.Message m) + 0x2b6 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 49477, System.IntPtr wparam, System.IntPtr lparam) + 0x75 bytes

2 comments
Comment actions Permalink

Sounds like the same problem I'm having:

When I want to create a read / write property for a newly added member. I
hit Alt+Insert and chose Read/write property. This often just briefly
display the Generate Read/Write Properties modal dialog box before hiding it
behind the IDE, effectively locking Visual Studio. When this occurs I have
to kill Visual Studio in Task Manager.

If the dialog box does appear as its supposed to, I can easily hide it if I
Alt+Tab between Visual Studio and other windows. After a few attempts, the
dialog box is hidden behind Visual Studio and I have to kill the process.

Best wishes,
Dag Christensen



0
Comment actions Permalink

Fixed in 233
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.