[Mono-bugs] [Bug 79659][Nor] New - crash on reporting application.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 13 19:58:52 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 miguel at ximian.com.

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

--- shadow/79659	2006-10-13 19:58:52.000000000 -0400
+++ shadow/79659.tmp.5416	2006-10-13 19:58:52.000000000 -0400
@@ -0,0 +1,233 @@
+Bug#: 79659
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: crash on reporting application.
+
+This an LGPL reporting application, I setup a few Makefiles to simplify its
+use, do:
+
+tar xzvf rdl.tar.gz
+cd rdl
+make 
+make run
+
+Then open one of the .rdl files (they are in the src/RdlViewer directory, I
+suggest to copy those to /tmp or something like that, because navigation
+might be painful).
+
+Unhandled Exception: System.ArgumentException: Invalid Parameter. A null
+reference or invalid value was found.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0006d] in
+/home/cvs/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:189
+  at System.Drawing.Graphics.DrawString (System.String s,
+System.Drawing.Font font, System.Drawing.Brush brush, RectangleF
+layoutRectangle, System.Drawing.StringFormat format) [0x00070] in
+/home/cvs/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1175
+  at System.Drawing.Graphics.DrawString (System.String s,
+System.Drawing.Font font, System.Drawing.Brush brush, Single x, Single y)
+[0x00000] in /home/cvs/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1157
+  at (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:DrawString
+(string,System.Drawing.Font,System.Drawing.Brush,single,single)
+  at fyiReporting.RdlViewer.RdlViewer.DrawPanelPaint (System.Object sender,
+System.Windows.Forms.PaintEventArgs e) [0x000b8] in
+/home/miguel/downloads/rdl/RDL Project 2/src/RdlViewer/RdlViewer.cs:562
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_PaintEventArgs
+(object,System.Windows.Forms.PaintEventArgs)
+  at System.Windows.Forms.Control.OnPaint
+(System.Windows.Forms.PaintEventArgs e) [0x0000b] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4570
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x0022d] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4009
+  at System.Windows.Forms.ScrollableControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:598
+  at System.Windows.Forms.ContainerControl.WndProc
+(System.Windows.Forms.Message& m) [0x00073] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:436
+  at System.Windows.Forms.UserControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:91
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/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/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message,
+IntPtr wParam, IntPtr lParam) [0x0008e] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4235
+  at System.Windows.Forms.XplatUIX11.UpdateWindow (IntPtr handle) [0x00029]
+in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4942
+  at System.Windows.Forms.XplatUI.UpdateWindow (IntPtr handle) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:932
+  at System.Windows.Forms.Control.Refresh () [0x00011] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3185
+  at fyiReporting.RdlViewer.RdlViewer.DrawPanelResize (System.Object
+sender, System.EventArgs e) [0x00006] in /home/miguel/downloads/rdl/RDL
+Project 2/src/RdlViewer/RdlViewer.cs:574
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x0000b]
+in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4670
+  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e)
+[0x00006] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4688
+  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32
+width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x000b5] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3892
+  at System.Windows.Forms.Control.UpdateBounds () [0x00031] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3848
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x00152] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3963
+  at System.Windows.Forms.ScrollableControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:598
+  at System.Windows.Forms.ContainerControl.WndProc
+(System.Windows.Forms.Message& m) [0x00073] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:436
+  at System.Windows.Forms.UserControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:91
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/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/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message,
+IntPtr wParam, IntPtr lParam) [0x0008e] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4235
+  at System.Windows.Forms.XplatUIX11.SetWindowPos (IntPtr handle, Int32 x,
+Int32 y, Int32 width, Int32 height) [0x000bf] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4647
+  at System.Windows.Forms.XplatUI.SetWindowPos (IntPtr handle, Int32 x,
+Int32 y, Int32 width, Int32 height) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:829
+  at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32
+width, Int32 height, BoundsSpecified specified) [0x0000b] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3743
+  at System.Windows.Forms.Control.SetBounds (Int32 x, Int32 y, Int32 width,
+Int32 height, BoundsSpecified specified) [0x00048] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3323
+  at System.Windows.Forms.Control.set_Width (Int32 value) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2513
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Width (int)
+  at fyiReporting.RdlViewer.RdlViewer.RdlViewer_Layout (System.Object
+sender, System.Windows.Forms.LayoutEventArgs e) [0x000ff] in
+/home/miguel/downloads/rdl/RDL Project 2/src/RdlViewer/RdlViewer.cs:1300
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_LayoutEventArgs
+(object,System.Windows.Forms.LayoutEventArgs)  at
+System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs
+levent) [0x0000b] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4504
+  at System.Windows.Forms.Control.PerformLayout
+(System.Windows.Forms.Control affectedControl, System.String
+affectedProperty) [0x00371] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3117
+  at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00018]
+in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4672
+  at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e)
+[0x00006] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4688
+  at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32
+width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x000b5] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3892
+  at System.Windows.Forms.Control.UpdateBounds () [0x00031] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3848
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x00152] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3963
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/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/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:159
+  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message,
+IntPtr wParam, IntPtr lParam) [0x0008e] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4235
+  at System.Windows.Forms.XplatUIX11.SetWindowPos (IntPtr handle, Int32 x,
+Int32 y, Int32 width, Int32 height) [0x000bf] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:4647
+  at System.Windows.Forms.XplatUI.SetWindowPos (IntPtr handle, Int32 x,
+Int32 y, Int32 width, Int32 height) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:829
+  at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32
+width, Int32 height, BoundsSpecified specified) [0x0000b] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3743
+  at System.Windows.Forms.Control.SetBounds (Int32 x, Int32 y, Int32 width,
+Int32 height, BoundsSpecified specified) [0x00048] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3323
+  at System.Windows.Forms.Control.set_Size (Size value) [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2375
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Size (System.Drawing.Size)
+  at fyiReporting.RdlReader.MDIChild..ctor (Int32 width, Int32 height)
+[0x00048] in /home/miguel/downloads/rdl/RDL Project
+2/src/RdlViewer/RdlReader/MDIChild.cs:52
+  at (wrapper remoting-invoke-with-check)
+fyiReporting.RdlReader.MDIChild:.ctor (int,int)
+  at fyiReporting.RdlReader.RdlReader.CreateMDIChild (System.String file,
+Boolean bMenuUpdate) [0x0005c] in /home/miguel/downloads/rdl/RDL Project
+2/src/RdlViewer/RdlReader/RdlReader.cs:317
+  at fyiReporting.RdlReader.RdlReader.menuFileOpen_Click (System.Object
+sender, System.EventArgs e) [0x0004a] in /home/miguel/downloads/rdl/RDL
+Project 2/src/RdlViewer/RdlReader/RdlReader.cs:284
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x0000b]
+in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:456
+  at System.Windows.Forms.MenuItem.PerformClick () [0x00000] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:496
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MenuItem:PerformClick ()
+  at System.Windows.Forms.MenuTracker.OnMouseUp
+(System.Windows.Forms.MouseEventArgs args) [0x00037] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:186
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
+[0x0067e] in
+/home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1924
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/cvs/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/cvs/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/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2848
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/cvs/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/cvs/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/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:421
+  at fyiReporting.RdlReader.RdlReader.Main () [0x00050] in
+/home/miguel/downloads/rdl/RDL Project
+2/src/RdlViewer/RdlReader/RdlReader.cs:173


More information about the mono-bugs mailing list