[Mono-bugs] [Bug 78886][Nor] New - loading of particular tiff image fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 17 21:29:09 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 scottell.lists at gmail.com.


--- shadow/78886	2006-07-17 21:29:09.000000000 -0400
+++ shadow/78886.tmp.31742	2006-07-17 21:29:09.000000000 -0400
@@ -0,0 +1,79 @@
+Bug#: 78886
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: libgdiplus
+AssignedTo: peter at novonyx.com                            
+ReportedBy: scottell.lists at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: loading of particular tiff image fails
+Here is a link to a large (49MB) TIFF image: 
+I am using the method Image.FromFile( string ) to load it.  This works fine
+with other TIFF files I have tried, but this one causes an exception.  I am
+pretty sure the image is not corrupt because it loads in eye-of-gnome fine.
+This is on mono- and libgdiplus-  Here is the output:
+*** glibc detected *** free(): invalid next size (fast): 0x08262ef0 ***
+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.
+  at (wrapper managed-to-native)
+System.Drawing.GDIPlus.GdipLoadImageFromFile (string,intptr&) <0x00004>
+  at (wrapper managed-to-native)
+System.Drawing.GDIPlus.GdipLoadImageFromFile (string,intptr&) <0xffffffff>
+  at System.Drawing.Image.FromFile (string,bool) <0x00052>
+  at System.Drawing.Image.FromFile (string) <0x0000c>
+  at DrawMe.Main (string[]) <0x0011e>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
+(object,intptr,intptr,intptr) <0xffffffff>
+Native stacktrace:
+        mono(mono_handle_native_sigsegv+0xde) [0x8147d44]
+        [0xffffe440]
+        /lib/tls/libc.so.6(abort+0x191) [0xb7d5c1c1]
+        /lib/tls/libc.so.6(__libc_fatal+0) [0xb7d8d731]
+        /lib/tls/libc.so.6 [0xb7d96ae5]
+        /lib/tls/libc.so.6 [0xb7d958b2]
+        /lib/tls/libc.so.6(__libc_free+0x8c) [0xb7d946d1]
+        /usr/lib/libgdiplus.so(GdipFree+0x1f) [0xb73faa9d]
+        /usr/lib/libgdiplus.so(gdip_load_tiff_properties+0x170a) [0xb7427957]
+        /usr/lib/libgdiplus.so(gdip_load_tiff_image+0xff) [0xb742921b]
+        /usr/lib/libgdiplus.so(gdip_load_tiff_image_from_file+0x88)
+        /usr/lib/libgdiplus.so(GdipLoadImageFromFile+0x14e) [0xb74114e9]
+        [0xb7b4e394]
+        [0xb7b4d9bb]
+        [0xb7b4d94d]
+        [0xb7b40a4f]
+        [0xb7b407c3]
+        mono [0x8133104]
+        mono(mono_runtime_invoke+0x27) [0x80d043c]
+        mono(mono_runtime_exec_main+0x5c) [0x80d1382]
+        mono(mono_runtime_run_main+0x1b0) [0x80d1021]
+        mono [0x805caa7]
+        mono(mono_main+0x857) [0x805d470]
+        mono [0x805be5f]
+        /lib/tls/libc.so.6(__libc_start_main+0xda) [0xb7d4808a]
+        mono [0x805bda1]

More information about the mono-bugs mailing list