Posted 18 years ago
by Jake Pearson
-
Software Developer,
Alion Science and Technology
Version: 2.0.93
Platform: .NET 2.0
Environment: Windows Vista (32-bit)

Hi,
I am getting a crash in my application when a user right clicks on a tool window and presses the close button when they follow a few steps that are pretty specific to my application. The stack track (at the bottom of the post) does not hit my code anywhere. Could you give me any idea why this might happen?
thanks,
Jake
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlCollection.this[int].get(int index) + 0xd2 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiContainer.SelectedTabbedMdiWindow.set(ActiproSoftware.UIStudio.Dock.TabbedMdiWindow value = {ToolWindow[Key=TaskNetworkView]}) + 0xa2 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.ToolWindow.Activate(bool focus = true) + 0x1d9 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiWindow.Activate() + 0x20 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DockManager.a(ActiproSoftware.UIStudio.Dock.TabbedMdiWindow[] A_0 = {Dimensions:[1]}, bool A_1 = false, ActiproSoftware.UIStudio.Dock.TabbedMdiWindowCloseReason A_2 = User) + 0x3c3 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.ToolWindow.Close(ActiproSoftware.UIStudio.Dock.TabbedMdiWindowCloseReason reason = User) + 0x48 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DockManager.k(object A_0 = {ActiproSoftware.WinUICore.OwnerDrawMenuItem, Items.Count: 0, Text: Close}, System.EventArgs A_1 = {System.EventArgs}) + 0x98 bytes
System.Windows.Forms.dll!System.Windows.Forms.MenuItem.OnClick(System.EventArgs e) + 0x80 bytes
System.Windows.Forms.dll!System.Windows.Forms.MenuItem.MenuItemData.Execute() + 0x26 bytes
System.Windows.Forms.dll!System.Windows.Forms.Command.Invoke() + 0x30 bytes
System.Windows.Forms.dll!System.Windows.Forms.Command.DispatchID(int id) + 0x13 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmCommand(ref System.Windows.Forms.Message m = {msg=0x111 (WM_COMMAND) hwnd=0x2315b6 wparam=0x100 lparam=0x0 result=0x0}) + 0x59 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x281 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.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 = 273, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = -1, int pvLoopData = 0) + 0x2f1 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x17d 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.Application.Run(System.Windows.Forms.Form mainForm) + 0x2e bytes
> MAAD.MicroSaint.exe!MAAD.MicroSaint.Launcher.Main(string[] args = {Dimensions:[0]}) Line 33 + 0x7 bytes C#
I am getting a crash in my application when a user right clicks on a tool window and presses the close button when they follow a few steps that are pretty specific to my application. The stack track (at the bottom of the post) does not hit my code anywhere. Could you give me any idea why this might happen?
thanks,
Jake
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlCollection.this[int].get(int index) + 0xd2 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiContainer.SelectedTabbedMdiWindow.set(ActiproSoftware.UIStudio.Dock.TabbedMdiWindow value = {ToolWindow[Key=TaskNetworkView]}) + 0xa2 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.ToolWindow.Activate(bool focus = true) + 0x1d9 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiWindow.Activate() + 0x20 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DockManager.a(ActiproSoftware.UIStudio.Dock.TabbedMdiWindow[] A_0 = {Dimensions:[1]}, bool A_1 = false, ActiproSoftware.UIStudio.Dock.TabbedMdiWindowCloseReason A_2 = User) + 0x3c3 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.ToolWindow.Close(ActiproSoftware.UIStudio.Dock.TabbedMdiWindowCloseReason reason = User) + 0x48 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DockManager.k(object A_0 = {ActiproSoftware.WinUICore.OwnerDrawMenuItem, Items.Count: 0, Text: Close}, System.EventArgs A_1 = {System.EventArgs}) + 0x98 bytes
System.Windows.Forms.dll!System.Windows.Forms.MenuItem.OnClick(System.EventArgs e) + 0x80 bytes
System.Windows.Forms.dll!System.Windows.Forms.MenuItem.MenuItemData.Execute() + 0x26 bytes
System.Windows.Forms.dll!System.Windows.Forms.Command.Invoke() + 0x30 bytes
System.Windows.Forms.dll!System.Windows.Forms.Command.DispatchID(int id) + 0x13 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmCommand(ref System.Windows.Forms.Message m = {msg=0x111 (WM_COMMAND) hwnd=0x2315b6 wparam=0x100 lparam=0x0 result=0x0}) + 0x59 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x281 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.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 = 273, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = -1, int pvLoopData = 0) + 0x2f1 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x17d 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.Application.Run(System.Windows.Forms.Form mainForm) + 0x2e bytes
> MAAD.MicroSaint.exe!MAAD.MicroSaint.Launcher.Main(string[] args = {Dimensions:[0]}) Line 33 + 0x7 bytes C#