[Mono-bugs] [Bug 78237][Wis] Changed - mono segv on X windows when font.conf is missing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Apr 29 12:47:58 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 sebastien at ximian.com.

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

--- shadow/78237	2006-04-28 17:08:23.000000000 -0400
+++ shadow/78237.tmp.28290	2006-04-29 12:47:58.000000000 -0400
@@ -1,17 +1,17 @@
 Bug#: 78237
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
-Component: Sys.Drawing.
-AssignedTo: peter at novonyx.com                            
+Component: libgdiplus
+AssignedTo: sebastien at ximian.com                            
 ReportedBy: myeates at jpl.nasa.gov               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: mono segv on X windows when font.conf is  missing
@@ -36,6 +36,67 @@
 Additional Information:
 
 ------- Additional Comments From myeates at jpl.nasa.gov  2006-04-28 17:08 -------
 Created an attachment (id=16867)
 stack trace
 
+
+------- Additional Comments From sebastien at ximian.com  2006-04-29 12:47 -------
+Luckily, I get (using SVN HEAD) a better stack trace when removing
+fonts.conf
+
+Stacktrace:
+ 
+in (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipGetFontHeightGivenDPI
+(intptr,single,single&) <0x4>
+in (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipGetFontHeightGivenDPI
+(intptr,single,single&) <0xffffffe2>
+in System.Drawing.Font:GetHeight (single) <0x22>
+in System.Drawing.Font:GetHeight () <0x20>
+in System.Drawing.Font:get_Height () <0xd>
+in (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height
+() <0x84dfce>
+in System.Windows.Forms.Form:GetAutoScaleSize
+(System.Drawing.Graphics,System.Drawing.Font) <0x7e>
+in System.Windows.Forms.Form:.ctor () <0x3e>
+in swf_kwik.Form1:.ctor () <0x17>
+in (wrapper remoting-invoke-with-check) swf_kwik.Form1:.ctor ()
+<0xff7a80a5>
+in swf_kwik.Program:Main () <0x25>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void
+(object,intptr,intptr,intptr) <0xc768c928>
+ 
+Native stacktrace:
+ 
+        mono(mono_handle_native_sigsegv+0x8e) [0x814514e]
+        mono [0x8115d28]
+        [0xffffe440]
+       
+/usr/local/lib/libgdiplus.so(gdip_cairo_ft_font_lock_face+0xb7)
+[0x410c8027]
+        /usr/local/lib/libgdiplus.so(GdipGetEmHeight+0x96) [0x410c8376]
+        /usr/local/lib/libgdiplus.so(GdipGetFontHeightGivenDPI+0x42)
+[0x410c8402]
+        [0x41789349]
+        [0x417892f3]
+        [0x40ab3f31]
+        [0x40ab3eae]
+        [0x40ab3e61]
+        [0x41301df7]
+        [0x412fef9f]
+        [0x412fec78]
+        [0x412fe95a]
+        [0x40aa69de]
+        [0x40aa5a6e]
+        mono [0x8132371]
+        mono(mono_runtime_invoke+0x1b) [0x80cdb2b]
+        mono(mono_runtime_exec_main+0x52) [0x80d03a2]
+        mono(mono_runtime_run_main+0x1fd) [0x80d091d]
+        mono(mono_main+0x93f) [0x805c9ff]
+        mono [0x805bc28]
+        /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x40120210]
+        mono [0x805bb71]
+Aborted
+
+Problem is in libgdiplus.


More information about the mono-bugs mailing list