[Mono-bugs] [Bug 79536][Maj] New - MDI: ObjectDisposedException in swf-mdi sample

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 30 13:29:23 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by alex.olk at googlemail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79536

--- shadow/79536	2006-09-30 13:29:23.000000000 -0400
+++ shadow/79536.tmp.2639	2006-09-30 13:29:23.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 79536
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MDI: ObjectDisposedException in swf-mdi sample
+
+Run the MDI sample swf-mdi.
+
+Now start closing each mdi child and then click the close button of the
+form/window. And voila, an ObjectDisposedException:
+
+Unhandled Exception: System.ObjectDisposedException: The object was used
+after being disposed.
+  at System.Windows.Forms.Control.CreateHandle () [0x001b1] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3407
+
+  at System.Windows.Forms.Form.CreateHandle () [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1384
+
+  at System.Windows.Forms.Control.get_Handle () [0x0000b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2050
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:get_Handle ()
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
+[0x0001e] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1743
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:166
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+
+  at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2826
+
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:428
+
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x0025d] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:530
+
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:421
+
+  at MainForm.Main (System.String[] args) [0x00000] in
+/home/alex/develop/winforms/mdi/swf-mdi.cs:43


More information about the mono-bugs mailing list