[Mono-bugs] [Bug 79783][Nor] New - ODE calling a second MessageBox

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 30 01:22:28 EST 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 monkey at jpobst.com.


--- shadow/79783	2006-10-30 01:22:28.000000000 -0500
+++ shadow/79783.tmp.391	2006-10-30 01:22:28.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 79783
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: ODE calling a second MessageBox
+Description of Problem:
+When calling MessageBox.Show() twice from the main function, the second
+call results in an ObjectDisposedException.
+Steps to reproduce the problem:
+1. Run attached program.
+2. Click OK on message box "1".
+Actual Results:
+App crashes with ODE.
+Expected Results:
+!(App crashes with ODE).
+How often does this happen? 
+Additional Information:
+Unhandled Exception: System.ObjectDisposedException: The object was used
+after being disposed.
+  at System.Windows.Forms.Control.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Form.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Control.get_Handle () [0x00000] 
+  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) [0x00000] 
+  at System.Windows.Forms.Form.ShowDialog () [0x00000] 
+  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] 
+  at (wrapper remoting-invoke-with-check) MessageBoxForm:RunDialog ()
+  at System.Windows.Forms.MessageBox.Show (System.String text) [0x00000] 
+  at MonoTest.MonoTest.Main () [0x00000]

More information about the mono-bugs mailing list