[Mono-bugs] [Bug 77735][Wis] New - sigsegv with libgdiplus

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 8 16:42:51 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 bonsouere at gmail.com.


--- shadow/77735	2006-03-08 16:42:51.000000000 -0500
+++ shadow/77735.tmp.20255	2006-03-08 16:42:51.000000000 -0500
@@ -0,0 +1,122 @@
+Bug#: 77735
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: suse 10.1 beta 4
+Status: NEW   
+Priority: Wishlist
+Component: libgdiplus
+AssignedTo: jordi at ximian.com                            
+ReportedBy: bonsouere at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: sigsegv with libgdiplus 
+Description of Problem:
+I tried a charting library called ZedGraph (www.zedgraph.org) with mono.
+A very simple sample works, but trying a more complicated one, I got 
+#mono -V
+Mono JIT compiler version 1.1.13, (C) 2002-2005 Novell, Inc and 
+Contributors. www.mono-project.com
+       TLS:           normal
+       GC:            Included Boehm (with typed GC)
+       SIGSEGV      : normal
+#uname -a
+linux 2.6.15-default #3 SMP Fri Jan 13 19:09:35 CET 2006 i686 i686 i386 
+mono installed from go-mono rpms, Suse 10.1 beta4
+zedgraph v4.2.4
+# rpm -qa | grep -i gdiplus
+Steps to reproduce :
+1) download mentionned version of zedgraph, and put it in your current 
+2) Compile the attached sample code with:
+gmcs -t:exe sample_console.cs -r:System.Drawing -r:ZedGraph.dll
+3) run compiled assembly...
+Below is what I obtained. I would be happy to provide you every 
+additional detail I missed and needed to solve the problem, so don't 
+hesitate to ask me.
+Regards, matt
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+in <0x4> (wrapper managed-to-native) 
+in <0xffffffa9> (wrapper managed-to-native) 
+in <0x59> System.Drawing.Graphics:FillRectangle 
+in <0x78> System.Drawing.Graphics:FillRectangle 
+in <0x5e68> (wrapper remoting-invoke-with-check) 
+in <0x98> ZedGraph.PieItem:DrawLegendKey 
+in <0x3cd> ZedGraph.Legend:Draw 
+in <0x9bf> ZedGraph.GraphPane:Draw (System.Drawing.Graphics)
+in <0x102> ZedGraph.PaneBase:get_Image ()
+in <0xb45> ConsoleApplication1.Program:CreateGraph (ZedGraph.GraphPane)
+in <0x96> ConsoleApplication1.Program:Main (string[])
+in <0xc7656ac7> (wrapper runtime-invoke) 
+System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr)
+Native stacktrace:
+       mono(mono_handle_native_sigsegv+0xba) [0x814c1da]
+       mono [0x81386af]
+       [0xffffe440]
+       /usr/lib/libgdiplus.so(create_tile_linear+0x204) [0x40ced044]
+       /usr/lib/libgdiplus.so [0x40ced5cc]
+       /usr/lib/libgdiplus.so(gdip_brush_setup+0x23) [0x40cd2c93]
+       /usr/lib/libgdiplus.so(GdipFillRectangle+0xa4) [0x40cd7914]
+       [0x40cad64a]
+       [0x40cad5a2]
+       [0x40cad4f9]
+       [0x40cad43f]
+       [0x40cb31d9]
+       [0x40cb2b66]
+       [0x40cab9c0]
+       [0x40caa40b]
+       [0x40ae9c36]
+       [0x40ae1c7f]
+       [0x40ae1ac3]
+       mono [0x8138560]
+       mono(mono_runtime_invoke+0x27) [0x80d4d37]
+       mono(mono_runtime_exec_main+0x5c) [0x80d5e4c]
+       mono(mono_runtime_run_main+0x171) [0x80d5a71]
+       mono(strftime+0x1b52) [0x805ce52]
+       mono(mono_main+0x786) [0x805d766]
+       mono(__fxstat64+0x12b) [0x805c21b]
+       /lib/libc.so.6(__libc_start_main+0xd8) [0x4013e748]
+       mono(sinh+0x41) [0x805c171]

More information about the mono-bugs mailing list