[Mono-bugs] [Bug 79659][Blo] Changed - crash on reporting application.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 14 23:44:22 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 toshok at ximian.com.

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

--- shadow/79659	2006-10-14 14:22:08.000000000 -0400
+++ shadow/79659.tmp.5962	2006-10-14 23:44:22.000000000 -0400
@@ -233,6 +233,86 @@
 2/src/RdlViewer/RdlReader/RdlReader.cs:173
 
 ------- Additional Comments From miguel at ximian.com  2006-10-14 14:22 -------
 Ok, the attachment failed, I have uploaded it instead to:
 
 http://primates.ximian.com/~miguel/tmp/rdl.tar.gz
+
+------- Additional Comments From toshok at ximian.com  2006-10-14 23:44 -------
+So, the reason this is happening is due to the fact that the control
+is double buffered and the control is resizing itself (and thus
+hitting InvalidateBuffers, which disposes the Graphics object) from
+within its paint method.
+
+Here's the relevant trace:
+
+   at System.Drawing.Graphics.Dispose ()
+   at System.Windows.Forms.Control.InvalidateBuffers ()
+   at System.Windows.Forms.Control.OnSizeChanged ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.WndProc ()
+   at System.Windows.Forms.ScrollableControl.WndProc ()
+   at System.Windows.Forms.ContainerControl.WndProc ()
+   at System.Windows.Forms.UserControl.WndProc ()
+   at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+   at System.Windows.Forms.NativeWindow.WndProc ()
+   at System.Windows.Forms.XplatUIX11.SendMessage ()
+   at System.Windows.Forms.XplatUIX11.SetWindowPos ()
+   at System.Windows.Forms.XplatUI.SetWindowPos ()
+   at System.Windows.Forms.Control.SetBoundsCore ()
+   at System.Windows.Forms.Control.SetBounds ()
+   at System.Windows.Forms.Control.set_Height ()
+   at fyiReporting.RdlViewer.RdlViewer.RdlViewer_Layout ()
+   at fyiReporting.RdlViewer.RdlViewer.LoadPageIfNeeded ()
+   at fyiReporting.RdlViewer.RdlViewer.DrawPanelPaint ()
+   at System.MulticastDelegate.invoke_void_object_PaintEventArgs ()
+   at System.Windows.Forms.Control.OnPaint ()
+   at System.Windows.Forms.Control.WndProc ()
+   at System.Windows.Forms.ScrollableControl.WndProc ()
+   at System.Windows.Forms.ContainerControl.WndProc ()
+   at System.Windows.Forms.UserControl.WndProc ()
+   at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+   at System.Windows.Forms.NativeWindow.WndProc ()
+   at System.Windows.Forms.XplatUIX11.SendMessage ()
+   at System.Windows.Forms.XplatUIX11.UpdateWindow ()
+   at System.Windows.Forms.XplatUI.UpdateWindow ()
+   at System.Windows.Forms.Control.Refresh ()
+   at fyiReporting.RdlViewer.RdlViewer.DrawPanelResize ()
+   at System.MulticastDelegate.invoke_void_object_EventArgs ()
+   at System.Windows.Forms.Control.OnResize ()
+   at System.Windows.Forms.Control.OnSizeChanged ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.WndProc ()
+   at System.Windows.Forms.ScrollableControl.WndProc ()
+   at System.Windows.Forms.ContainerControl.WndProc ()
+   at System.Windows.Forms.UserControl.WndProc ()
+   at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+   at System.Windows.Forms.NativeWindow.WndProc ()
+   at System.Windows.Forms.XplatUIX11.SendMessage ()
+   at System.Windows.Forms.XplatUIX11.SetWindowPos ()
+   at System.Windows.Forms.XplatUI.SetWindowPos ()
+   at System.Windows.Forms.Control.SetBoundsCore ()
+   at System.Windows.Forms.Control.SetBounds ()
+   at System.Windows.Forms.Control.set_Width ()
+   at fyiReporting.RdlViewer.RdlViewer.RdlViewer_Layout ()
+   at System.MulticastDelegate.invoke_void_object_LayoutEventArgs ()
+   at System.Windows.Forms.Control.OnLayout ()
+   at System.Windows.Forms.Control.PerformLayout ()
+   at System.Windows.Forms.Control.OnResize ()
+   at System.Windows.Forms.Control.OnSizeChanged ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.UpdateBounds ()
+   at System.Windows.Forms.Control.WndProc ()
+   at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+   at System.Windows.Forms.NativeWindow.WndProc ()
+   at System.Windows.Forms.XplatUIX11.SendMessage ()
+   at System.Windows.Forms.XplatUIX11.SetWindowPos ()
+   at System.Windows.Forms.XplatUI.SetWindowPos ()
+   at System.Windows.Forms.Control.SetBoundsCore ()
+   at System.Windows.Forms.Control.SetBounds ()
+   at System.Windows.Forms.Control.set_Size ()
+   at fyiReporting.RdlReader.MDIChild..ctor ()
+   at fyiReporting.RdlReader.RdlReader.CreateMDIChild ()
+   at fyiReporting.RdlReader.RdlReader.menuFileOpen_Click ()
+


More information about the mono-bugs mailing list