[Mono-bugs] [Bug 80562][Wis] Changed - System.Drawing.Graphics.MeasureString not working.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jan 30 19:20:38 EST 2007
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 vlad.dimitrov at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80562
--- shadow/80562 2007-01-30 17:49:23.000000000 -0500
+++ shadow/80562.tmp.22042 2007-01-30 19:20:38.000000000 -0500
@@ -1,12 +1,12 @@
Bug#: 80562
Product: Mono: Class Libraries
Version: 1.2
OS: GNU/Linux [Other]
OS Details:
-Status: NEEDINFO
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Wishlist
Component: Sys.Drawing.
AssignedTo: mono-bugs at ximian.com
ReportedBy: vlad.dimitrov at gmail.com
@@ -48,6 +48,203 @@
text:Това е тестов стринг, size:{Width=133.3333, Height=13.88889}
------- Additional Comments From sebastien at ximian.com 2007-01-30 17:49 -------
*** Bug 80561 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From vlad.dimitrov at gmail.com 2007-01-30 19:20 -------
+And this is what I get on Ubuntu 6.10. I also got the latest build
+from monocharge (monocharge-20070130) and refreshed mono.
+
+# mono ConsoleApplication.exe
+text:This is a test string, size:{Width=0, Height=1.388889}
+text:This is another test string, size:{Width=0, Height=1.388889}
+mono: cairo.c:86: _cairo_error: Assertion `status >
+CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_DASH' failed.
+Stacktrace:
+
+ at (wrapper managed-to-native)
+System.Drawing.Printing.PrintingServicesUnix.GdipGetPostScriptSavePage
+(intptr) <0x00004>
+ at (wrapper managed-to-native)
+System.Drawing.Printing.PrintingServicesUnix.GdipGetPostScriptSavePage
+(intptr) <0xffffffff>
+ at System.Drawing.Printing.PrintingServicesUnix.EndPage
+(System.Drawing.Printing.GraphicsPrinter) <0x0001a>
+ at System.Drawing.Printing.StandardPrintController.OnEndPage
+(System.Drawing.Printing.PrintDocument,System.Drawing.Printing.PrintPageEventArgs)
+<0x00029>
+ at System.Drawing.Printing.PrintDocument.Print () <0x0042f>
+ at (wrapper remoting-invoke-with-check)
+System.Drawing.Printing.PrintDocument.Print () <0xffffffff>
+ at ConsoleApplication.Window1.button1_Clicked
+(object,System.EventArgs) <0x0002e>
+ at (wrapper delegate-invoke)
+System.MulticastDelegate.invoke_void_object_EventArgs
+(object,System.EventArgs) <0xffffffff>
+ at GLib.Signal.voidObjectCallback (intptr,intptr) <0x00093>
+ at (wrapper native-to-managed) GLib.Signal.voidObjectCallback
+(intptr,intptr) <0xffffffff>
+ at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
+ at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
+ at Gtk.Application.Run () <0x00007>
+ at ConsoleApplication.Program.Main (string[]) <0x00037>
+ at (wrapper runtime-invoke)
+System.Object.runtime_invoke_void_string[]
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+ mono [0x815b8ed]
+ [0xffffe440]
+ /lib/tls/i686/cmov/libc.so.6(abort+0xe9) [0xb7d902b9]
+ /lib/tls/i686/cmov/libc.so.6(__assert_fail+0x101) [0xb7d87f51]
+ /usr/lib/libcairo.so.2 [0xb6caa77d]
+ /usr/lib/libcairo.so.2 [0xb6caa795]
+
+/opt/mono-1.2.2/lib/libgdiplus.so(GdipGetPostScriptSavePage+0x2f)
+[0xb69c83ee]
+ [0xb67d7591]
+ [0xb67d754b]
+ [0xb67d7522]
+ [0xb6b373c0]
+ [0xb6b36f21]
+ [0xb6b3305f]
+ [0xb6b32f07]
+ [0xb6b32ae4]
+ [0xb6b2dd7b]
+
+/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)
+[0xb6cff423]
+ /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6cf379f]
+ /usr/lib/libgobject-2.0.so.0 [0xb6d027ec]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0)
+[0xb6d03b19]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6d03e89]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x53) [0xb6f4a49f]
+ /usr/lib/libgtk-x11-2.0.so.0 [0xb6f4bcda]
+
+/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x43)
+[0xb6cff423]
+ /usr/lib/libgobject-2.0.so.0 [0xb6cf316f]
+ /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6cf379f]
+ /usr/lib/libgobject-2.0.so.0 [0xb6d025cc]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6b0)
+[0xb6d03b19]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6d03e89]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x56)
+[0xb6f4a41c]
+ /usr/lib/libgtk-x11-2.0.so.0 [0xb6f4b38c]
+ /usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x58)
+[0xb700b8e0]
+ /usr/lib/libgobject-2.0.so.0 [0xb6cf316f]
+ /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x11e) [0xb6cf379f]
+ /usr/lib/libgobject-2.0.so.0 [0xb6d029ce]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x41d)
+[0xb6d03886]
+ /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6d03e89]
+ /usr/lib/libgtk-x11-2.0.so.0 [0xb70eddcf]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xb7)
+[0xb700a05d]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x300) [0xb700a46b]
+ /usr/lib/libgdk-x11-2.0.so.0 [0xb6e98dec]
+ /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d7)
+[0xb7eec8d6]
+ /usr/lib/libglib-2.0.so.0 [0xb7eef996]
+ /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1d6) [0xb7eefcb8]
+ /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4) [0xb7009765]
+ [0xb6b329ed]
+ [0xb6b329b0]
+ [0xb74dde98]
+ [0xb74dd7c3]
+ mono [0x8145660]
+ mono(mono_runtime_invoke+0x27) [0x80d9cb7]
+ mono(mono_runtime_exec_main+0x5c) [0x80dae6c]
+ mono(mono_runtime_run_main+0x182) [0x80daa52]
+ mono(strftime+0x1c46) [0x8058572]
+ mono(mono_main+0x867) [0x8058f77]
+ mono(__fxstat64+0x12f) [0x80578db]
+ /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7d7aea2]
+ mono(sinh+0x45) [0x8057831]
+
+Debug info from gdb:
+
+(no debugging symbols found)
+Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
+(no debugging symbols found)
+[Thread debugging using libthread_db enabled]
+[New Thread -1210693952 (LWP 31655)]
+[New Thread -1219642448 (LWP 31657)]
+[New Thread -1213903952 (LWP 31656)]
+0xffffe410 in __kernel_vsyscall ()
+ 3 Thread -1213903952 (LWP 31656) 0xffffe410 in __kernel_vsyscall ()
+ 2 Thread -1219642448 (LWP 31657) 0xffffe410 in __kernel_vsyscall ()
+ 1 Thread -1210693952 (LWP 31655) 0xffffe410 in __kernel_vsyscall ()
+
+Thread 3 (Thread -1213903952 (LWP 31656)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7ec1d56 in __nanosleep_nocancel ()
+ from /lib/tls/i686/cmov/libpthread.so.0
+#2 0x081057e0 in mono_pthread_key_for_tls ()
+#3 0xb7ebc341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#4 0xb7e2f4ee in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 2 (Thread -1219642448 (LWP 31657)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7ebec76 in pthread_cond_wait@@GLIBC_2.3.2 ()
+ from /lib/tls/i686/cmov/libpthread.so.0
+#2 0x0810aadf in mono_pthread_key_for_tls ()
+#3 0x0810ad7b in mono_pthread_key_for_tls ()
+#4 0x0810ac0e in mono_pthread_key_for_tls ()
+#5 0x0810e23f in mono_pthread_key_for_tls ()
+#6 0x080d663d in mono_gchandle_free ()
+#7 0x08094612 in mono_signature_explicit_this ()
+#8 0x080fbe97 in mono_environment_exitcode_set ()
+#9 0x0811ab95 in GC_end_blocking ()
+#10 0xb7ebc341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#11 0xb7e2f4ee in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 1 (Thread -1210693952 (LWP 31655)):
+#0 0xffffe410 in __kernel_vsyscall ()
+#1 0xb7e280c1 in select () from /lib/tls/i686/cmov/libc.so.6
+#2 0xb7f15462 in IA__g_spawn_sync (working_directory=0x0, argv=0x8477108,
+ envp=0xfffffdfe, flags=G_SPAWN_SEARCH_PATH, child_setup=0xfffffdfe,
+ user_data=0xfffffdfe, standard_output=0xbfa77934,
+ standard_error=0xbfa77938, exit_status=0xbfa7793c, error=0x0)
+ at gspawn.c:288
+#3 0xb7f157bd in IA__g_spawn_command_line_sync (
+ command_line=0xbfa77940 "gdb --ex 'attach 31655' --ex 'info
+threads' --ex 'thread apply all bt' --batch", standard_output=0xfffffdfe,
+ standard_error=0xfffffdfe, exit_status=0xfffffdfe, error=0x0)
+ at gspawn.c:656
+#4 0x0815b996 in mono_debugger_run_finally ()
+#5 <signal handler called>
+#6 0xffffe410 in __kernel_vsyscall ()
+#7 0xb7d8e9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
+#8 0xb7d902b9 in abort () from /lib/tls/i686/cmov/libc.so.6
+#9 0xb7d87f51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
+#10 0xb6caa77d in ?? () from /usr/lib/libcairo.so.2
+#11 0xb6ce5be8 in ?? () from /usr/lib/libcairo.so.2
+#12 0xb6ce5b2c in ?? () from /usr/lib/libcairo.so.2
+#13 0x00000056 in ?? ()
+#14 0xb6ce5ab0 in ?? () from /usr/lib/libcairo.so.2
+#15 0x08484020 in ?? ()
+#16 0xb6a4a648 in ?? () from /opt/mono-1.2.2/lib/libgdiplus.so
+#17 0xbfa78724 in ?? ()
+#18 0xb6caa795 in ?? () from /usr/lib/libcairo.so.2
+#19 0x00003000 in ?? ()
+#20 0x0007fcf0 in ?? ()
+#21 0xbfa78744 in ?? ()
+#22 0xb69c83ee in GdipGetPostScriptSavePage ()
+ from /opt/mono-1.2.2/lib/libgdiplus.so
+#0 0xffffe410 in __kernel_vsyscall ()
+
+
+=================================================================
+Got a SIGABRT while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+
+Aborted
+
More information about the mono-bugs
mailing list