[Mono-bugs] [Bug 79883][Wis] Changed - SIGSEGV in Graphics.DrawLine

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 10 14:40:14 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 sebastien at ximian.com.

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

--- shadow/79883	2006-11-10 10:32:00.000000000 -0500
+++ shadow/79883.tmp.14456	2006-11-10 14:40:14.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 79883
 Product: Mono: Class Libraries
 Version: 1.0
 OS: other
 OS Details: SUSE 10.1
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: libgdiplus
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: rolfkvinge at ya.com               
@@ -419,6 +419,60 @@
         /lib/libc.so.6(__libc_start_main+0xdc) [0xb7da787c]
         /mono/install/bin/mono [0x805d8f1]
 
 
 ------- Additional Comments From sebastien at ximian.com  2006-11-10 10:31 -------
 *** Bug 79884 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From sebastien at ximian.com  2006-11-10 14:40 -------
+I can't duplicate the crash (SIG*) on my box. However if I wait a long
+time (like lunch) I can get an exception (but no crash) in
+FillRectangle. Looks like something in SWF gets garbage collected.
+
+Unhandled Exception: System.ArgumentException: Invalid Parameter. A
+null reference or invalid value was found.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0006d] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:189
+  at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush
+brush, Int32 x, Int32 y, Int32 width, Int32 height) [0x0002a] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1603
+  at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush
+brush, Rectangle rect) [0x00012] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Graphics.cs:1594
+  at (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:FillRectangle
+(System.Drawing.Brush,System.Drawing.Rectangle)
+  at System.Windows.Forms.InternalWindowManager.DrawTitleButton
+(System.Drawing.Graphics dc, System.Windows.Forms.TitleButton button,
+Rectangle clip) [0x0006e] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/InternalWindowManager.cs:621
+  at System.Windows.Forms.MdiWindowManager.DrawMaximizedButtons
+(System.Object sender, System.Windows.Forms.PaintEventArgs pe)
+[0x00179] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs:329
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&
+m) [0x00460] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1880
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:181
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/poupou/svn/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/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2851
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:428
+  at System.Windows.Forms.Application.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:447
+
+
+As for the crasher please run under valgrind and attach the log. This
+may get us some clues about the problem.
+
+MONO_PATH="../../class/lib/default::$MONO_PATH" valgrind
+--tool=memcheck --leak-check=full --log-file=nunit --smc-check=all
+--suppressions=/home/poupou/svn/mono/data/mono.supp mono sample.exe
+


More information about the mono-bugs mailing list