[Mono-bugs] [Bug 78025][Nor] New - FontDialog crashes because of the changes in svn r 58381

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 5 15:25:43 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 xenomorph2 at onlinehome.de.

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

--- shadow/78025	2006-04-05 15:25:43.000000000 -0400
+++ shadow/78025.tmp.12314	2006-04-05 15:25:43.000000000 -0400
@@ -0,0 +1,177 @@
+Bug#: 78025
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FontDialog crashes because of the changes in svn r 58381
+
+The changes from svn revision 58381 make FontDialog crash.
+
+When you select a font the font example panel gets updated. A new font
+based on the family, size and font style gets created.
+
+After r58381 that causes a sigsegv:
+
+Stacktrace:
+
+in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFont
+(intptr,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,intptr&)
+<0x4>
+in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipCreateFont
+(intptr,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,intptr&)
+<0xfffffb55>
+in System.Drawing.Font:.ctor
+(System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool)
+<0x6d>
+in System.Drawing.Font:.ctor
+(System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0x1f>
+in (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor
+(System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0xffffe3e2>
+in System.Windows.Forms.FontDialog:UpdateExamplePanel () <0x72>
+in System.Windows.Forms.FontDialog:OnSelectedIndexChangedSizeListBox
+(object,System.EventArgs) <0xa0>
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs) <0xff9a2233>
+in System.Windows.Forms.ListBox:OnSelectedIndexChanged (System.EventArgs)
+<0x2b>in System.Windows.Forms.ListBox:set_SelectedIndex (int) <0xb3>
+in System.Windows.Forms.FontDialog:UpdateFontSizeListBox () <0x59>
+in System.Windows.Forms.FontDialog:OnSelectedIndexChangedFontListBox
+(object,System.EventArgs) <0xba>
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs) <0xff9a2233>
+in System.Windows.Forms.ListBox:OnSelectedIndexChanged (System.EventArgs)
+<0x2b>in System.Windows.Forms.ListBox:set_SelectedIndex (int) <0xb3>
+in System.Windows.Forms.ListBox:SelectedItemFromNavigation (int) <0x3d>
+in System.Windows.Forms.ListBox:OnMouseDownLB
+(object,System.Windows.Forms.MouseEventArgs) <0x75>
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_MouseEventArgs
+(object,System.Windows.Forms.MouseEventArgs) <0xfff376a3>
+in System.Windows.Forms.Control:OnMouseDown
+(System.Windows.Forms.MouseEventArgs) <0x23>
+in System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message&) <0x85b>
+in System.Windows.Forms.ListBox:WndProc (System.Windows.Forms.Message&) <0xd>
+in ControlNativeWindow:WndProc (System.Windows.Forms.Message&) <0x14>
+in System.Windows.Forms.NativeWindow:WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x11e>
+in System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG&) <0x16>
+in System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG&)
+<0x15>
+in System.Windows.Forms.Application:RunLoop
+(bool,System.Windows.Forms.ApplicationContext) <0x61d>
+in System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+<0x175>
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window)
+<0xfffffee5>
+in System.Windows.Forms.CommonDialog:ShowDialog
+(System.Windows.Forms.IWin32Window) <0x3d>
+in System.Windows.Forms.CommonDialog:ShowDialog () <0xc>
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.CommonDialog:ShowDialog () <0xffffff60>
+in testwin.MainForm:OnClick (object,System.EventArgs) <0x18>
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs) <0xff905185>
+in System.Windows.Forms.Control:OnClick (System.EventArgs) <0x1d>
+in System.Windows.Forms.Button:OnClick (System.EventArgs) <0xdd>
+in System.Windows.Forms.ButtonBase:OnMouseUp
+(System.Windows.Forms.MouseEventArgs) <0xf8>
+in System.Windows.Forms.Button:OnMouseUp
+(System.Windows.Forms.MouseEventArgs) <0xd>
+in System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message&) <0x71b>
+in System.Windows.Forms.ButtonBase:WndProc (System.Windows.Forms.Message&)
+<0x60>
+in System.Windows.Forms.Button:WndProc (System.Windows.Forms.Message&) <0xd>
+in ControlNativeWindow:WndProc (System.Windows.Forms.Message&) <0x14>
+in System.Windows.Forms.NativeWindow:WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x11e>
+in System.Windows.Forms.XplatUIX11:DispatchMessage
+(System.Windows.Forms.MSG&) <0x16>
+in System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG&)
+<0x15>
+in System.Windows.Forms.Application:RunLoop
+(bool,System.Windows.Forms.ApplicationContext) <0x61d>
+in System.Windows.Forms.Application:Run (System.Windows.Forms.Form) <0x24>
+in testwin.MainForm:Main (string[]) <0x1f>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[]
+(object,intptr,intptr,intptr) <0xae9c3f>
+
+Native stacktrace:
+
+        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7e3943f]
+        /usr/lib/libmono.so.0 [0xb7dfb03e]
+        [0xffffe440]
+        /usr/lib/libgdiplus.so [0xb6ef47b3]
+        /usr/lib/libgdiplus.so [0xb6ef49c2]
+        /usr/lib/libgdiplus.so [0xb6ef0633]
+        /usr/lib/libgdiplus.so(GdipCreateFont+0xb7) [0xb6ebf472]
+        [0xb6696937]
+        [0xb669644e]
+        [0xb65ce340]
+        [0xb65ce2f4]
+        [0xb65cc68b]
+        [0xb65cb379]
+        [0xb6c27ab2]
+        [0xb65c9ca4]
+        [0xb65c916c]
+        [0xb65ca4ca]
+        [0xb65c9dcb]
+        [0xb6c27ab2]
+        [0xb65c9ca4]
+        [0xb65c916c]
+        [0xb65f5c46]
+        [0xb65f5a76]
+        [0xb65f50b2]
+        [0xb652c714]
+        [0xb660085c]
+        [0xb652f516]
+        [0xb65d156d]
+        [0xb65d13f7]
+        [0xb660c4f7]
+        [0xb660c4d6]
+        [0xb6604496]
+        [0xb652d0ae]
+        [0xb652cef6]
+        [0xb652cd96]
+        [0xb652cd3d]
+        [0xb652ccf1]
+        [0xb652cc19]
+        [0xb6c27ab2]
+        [0xb652cbf6]
+        [0xb652cbb6]
+        [0xb652c979]
+        [0xb652c876]
+        [0xb660071c]
+        [0xb6608c71]
+        [0xb6608c06]
+        [0xb65d156d]
+        [0xb65d13f7]
+        [0xb660c4f7]
+        [0xb660c4d6]
+        [0xb6604496]
+        [0xb6603dbd]
+        [0xb732f770]
+        [0xb732e823]
+        /usr/lib/libmono.so.0 [0xb7e18438]
+        /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e7aeed]
+        /usr/lib/libmono.so.0(mono_runtime_exec_main+0x67) [0xb7e7da88]
+        /usr/lib/libmono.so.0(mono_runtime_run_main+0x188) [0xb7e80bf0]
+        /usr/lib/libmono.so.0(mono_jit_exec+0x90) [0xb7e2ab5e]
+        /usr/lib/libmono.so.0(mono_main+0x962) [0xb7e2b54f]
+        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7bc6ea2]
+        mono [0x8048459]


More information about the mono-bugs mailing list