[Mono-bugs] [Bug 75694][Maj] Changed - Graphics.FromImage NullReferneceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 2 17:39:51 EDT 2005


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 mha at sollentuna.net.

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

--- shadow/75694	2005-08-02 17:26:49.000000000 -0400
+++ shadow/75694.tmp.21120	2005-08-02 17:39:51.000000000 -0400
@@ -78,6 +78,127 @@
 
 what happens when you run 
 gdb --args mono <your app name>
 Does it crash? If so, can you paste the output from 
 "thread apply all bt"
 
+
+------- Additional Comments From mha at sollentuna.net  2005-08-02 17:39 -------
+I have the libgdiplus that instlals with the mentioned installer. The
+file is libgdiplus.so.0.0.0. How do I check the version more detailed
+than that?
+
+
+As for gdb - well it doesn't crash right off. Actually, it doesn't run
+with mono, I have to use "mono.bin" and run the shellscript commands
+manually - but that's expected. Then I hit "run", and once it crashes
+I get:
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 16384 (LWP 32504)]
+0xb756f56c in _cairo_int128_divrem () from
+/opt/mono-1.1.8.2/lib/libgdiplus.so
+
+at which point I get:
+(gdb) thread apply all bt
+
+Thread 4 (Thread 32771 (LWP 32509)):
+#0  0xb7e6c8b6 in nanosleep () from /lib/libpthread.so.0
+#1  0x00000000 in ?? ()
+#2  0xb7e684ca in __pthread_timedsuspend_new () from /lib/libpthread.so.0
+#3  0xb7e65115 in pthread_cond_timedwait_relative () from
+/lib/libpthread.so.0
+#4  0x080f60d7 in mono_pthread_key_for_tls ()
+#5  0x080f62bf in mono_pthread_key_for_tls ()
+#6  0x080f6247 in mono_pthread_key_for_tls ()
+#7  0x080f8ac8 in mono_pthread_key_for_tls ()
+#8  0x080c9c1d in mono_gchandle_free ()
+#9  0x080939a2 in mono_thread_get_tls_offset ()
+#10 0x080f99d7 in mono_once ()
+#11 0x08104254 in GC_end_blocking ()
+#12 0xb7e6654e in pthread_start_thread () from /lib/libpthread.so.0
+#13 0xb7e665df in pthread_start_thread_event () from /lib/libpthread.so.0
+#14 0xb7dc5b8a in clone () from /lib/libc.so.6
+
+Thread 3 (Thread 16386 (LWP 32508)):
+#0  0xb7e6c8b6 in nanosleep () from /lib/libpthread.so.0
+#1  0x00000000 in ?? ()
+#2  0x080f1c95 in mono_pthread_key_for_tls ()
+#3  0xb7e6654e in pthread_start_thread () from /lib/libpthread.so.0
+#4  0xb7e665df in pthread_start_thread_event () from /lib/libpthread.so.0
+#5  0xb7dc5b8a in clone () from /lib/libc.so.6
+
+Thread 2 (Thread 32769 (LWP 32507)):
+#0  0xb7dbceb1 in loser_poll () from /lib/libc.so.6
+#1  0xb7dbce39 in poll () from /lib/libc.so.6
+#2  0xb7e659f0 in __pthread_manager () from /lib/libpthread.so.0
+#3  0xb7e65c17 in __pthread_manager_event () from /lib/libpthread.so.0
+#4  0xb7dc5b8a in clone () from /lib/libc.so.6
+
+Thread 1 (Thread 16384 (LWP 32504)):
+#0  0xb756f56c in _cairo_int128_divrem ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#1  0xb756fb3d in _cairo_int128_divrem ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#2  0xb755ece5 in _cairo_fixed_integer_ceil ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#3  0xb755e6f0 in _cairo_cache_lookup ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#4  0xb755eef9 in _cairo_unscaled_font_create ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#5  0xb755f66c in _cairo_gstate_init ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#6  0xb755f5bb in _cairo_gstate_create ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#7  0xb755a489 in cairo_create () from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#8  0xb752814d in gdip_graphics_init ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#9  0xb7528262 in gdip_graphics_new () from
+/opt/mono-1.1.8.2/lib/libgdiplus.so
+#10 0xb753db90 in GdipGetImageGraphicsContext ()
+   from /opt/mono-1.1.8.2/lib/libgdiplus.so
+#11 0xb75eaa96 in ?? ()
+#12 0x0828ebf8 in ?? ()
+#13 0xbfd6e694 in ?? ()
+#14 0x001bbb50 in ?? ()
+#15 0x0827afa8 in ?? ()
+#16 0x081bbb68 in ?? ()
+#17 0x081bbb50 in ?? ()
+#18 0x0829a2e8 in ?? ()
+#19 0x00000000 in ?? ()
+#20 0x08207e80 in ?? ()
+#21 0x00000000 in ?? ()
+#22 0xbfd6e674 in ?? ()
+#23 0xb75eaa6c in ?? ()
+#24 0xbfd6e6b4 in ?? ()
+#25 0xb75ea880 in ?? ()
+#26 0x0828ebf8 in ?? ()
+#27 0xbfd6e694 in ?? ()
+#28 0x08271d98 in ?? ()
+#29 0x081bbb68 in ?? ()
+#30 0x0828ebf8 in ?? ()
+#31 0x00000000 in ?? ()
+#32 0x00000000 in ?? ()
+#33 0x00000000 in ?? ()
+#34 0x00000000 in ?? ()
+#35 0x00000000 in ?? ()
+#36 0x00000000 in ?? ()
+#37 0x08246810 in ?? ()
+#38 0x08207e80 in ?? ()
+#39 0x08207e80 in ?? ()
+#40 0xbfd6e6cc in ?? ()
+#41 0xb75e88d7 in ?? ()
+#42 0x08207e80 in ?? ()
+#43 0x00000000 in ?? ()
+#44 0x00000000 in ?? ()
+#45 0xb75e8778 in ?? ()
+#46 0xbfd6e6f8 in ?? ()
+#47 0xb75e87a5 in ?? ()
+#48 0x081fddf0 in ?? ()
+#49 0x08246810 in ?? ()
+#50 0xb75e8778 in ?? ()
+#51 0x08246810 in ?? ()
+#52 0x00000000 in ?? ()
+#53 0xbfd6e6f8 in ?? ()
+#54 0x0812ae5a in mono_codegen ()
+Previous frame inner to this frame (corrupt stack?)
+


More information about the mono-bugs mailing list