[Mono-bugs] [Bug 78187][Maj] New - X11 error when opening a form
with ShowDialog that contains a TreeView
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Apr 25 11:11:02 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 mattd at condreycorp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78187
--- shadow/78187 2006-04-25 11:11:01.000000000 -0400
+++ shadow/78187.tmp.8566 2006-04-25 11:11:01.000000000 -0400
@@ -0,0 +1,77 @@
+Bug#: 78187
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: SuSE 10, kernel 2.6.13-15.8-smp
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: mattd at condreycorp.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: X11 error when opening a form with ShowDialog that contains a TreeView
+
+Description of Problem:
+When opening a form that contains a treeview, the following X11 errors are
+produced and the app crashes:
+
+Error: BadValue(integer parameter ouf of range for operation)
+Request: 12 (X_ConfigureWindow)
+Resource ID: 0x0
+Serial: 11151
+Hwnd: <null>
+Control: <null>
+
+Which ultimately results in an Unhandled Exception:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00140> System.Windows.Forms.ThemeWin32Classic:ButtonBase_DrawImage
+(System .Windows.Forms.ButtonBase button, System.Drawing.Graphics dc)
+in <0x0006c> System.Windows.Forms.ThemeWin32Classic:DrawButtonBase
+(System.Drawi ng.Graphics dc, Rectangle clip_area,
+System.Windows.Forms.ButtonBase button)
+in <0x0005c> System.Windows.Forms.ButtonBase:Draw
+(System.Windows.Forms.PaintEve ntArgs pevent)
+in <0x00011> System.Windows.Forms.ButtonBase:OnPaint
+(System.Windows.Forms.Paint EventArgs pevent)
+in <0x00537> System.Windows.Forms.Control:WndProc
+(System.Windows.Forms.Message m)
+in <0x00060> System.Windows.Forms.ButtonBase:WndProc
+(System.Windows.Forms.Messa ge m)
+in <0x0000d> System.Windows.Forms.Button:WndProc
+(System.Windows.Forms.Message m )
+in <0x00014> System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Wi ndows.Forms.Message m)
+in <0x0011e> System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg
+msg, In tPtr wParam, IntPtr lParam)
+in <0x00016> System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.For ms.MSG msg)
+in <0x00015> System.Windows.Forms.XplatUI:DispatchMessage
+(System.Windows.Forms. MSG msg)
+in <0x005fe> System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Win dows.Forms.ApplicationContext context)
+in <0x001ae> System.Windows.Forms.Form:ShowDialog (IWin32Window ownerWin32)
+in <0x0000c> System.Windows.Forms.Form:ShowDialog ()
+in <0x00029> System.Windows.Forms.MessageBox+MessageBoxForm:RunDialog ()
+in (wrapper remoting-invoke-with-check) MessageBoxForm:RunDialog ()
+in <0x00037> System.Windows.Forms.MessageBox:Show (IWin32Window owner,
+System.String text, System.String caption, MessageBoxButtons buttons,
+MessageBoxIcon icon )
+
+Actual Results:
+App crashes with Unhandled Exception.
+
+Expected Results:
+Dialog should be displayed when treevew contents.
+
+How often does this happen?
+100% of the time
+
+Additional Information:
+I can provide a sample App and source that exhibits the problem.
More information about the mono-bugs
mailing list