[Mono-bugs] [Bug 348366] New: Default libtiff packaged with Mono 1.2.6_4 causes SIGSEGV

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 13 08:20:11 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=348366


           Summary: Default libtiff packaged with Mono 1.2.6_4 causes
                    SIGSEGV
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: x86
        OS/Version: Other
            Status: NEW
          Keywords: Install
          Severity: Normal
          Priority: P5 - None
         Component: packaging
        AssignedTo: wberrier at novell.com
        ReportedBy: euan.macinnes at pointscape.com.sg
         QAContact: mono-bugs at ximian.com
          Found By: Other


Description of Problem:

Running an application that loads a Tiff into a Bitmap on initialisation of the
form causes a SIGSEGV in 1.2.6 runtime:

> Stacktrace:
> 
>   at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateBitmapFromFile (string,intptr&) 
>   at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateBitmapFromFile (string,intptr&) 
>   at System.Drawing.Bitmap..ctor (string,bool) 
>   at System.Drawing.Bitmap..ctor (string) 
>   at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor (string) 
>   at ISE.ProjectManager.LoadButton (string,System.Windows.Forms.ToolStripButton) 
>   at ISE.ProjectManager..ctor () 
>   at (wrapper remoting-invoke-with-check) ISE.ProjectManager..ctor () 
>   at Icarus.IcarusThread.ShowInspector () 
>   at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () 
>   at (wrapper runtime-invoke) System.Collections.Generic.GenericComparer`1.runtime_invoke_void (object,intptr,intptr,intptr) 
> 
> Native stacktrace:
> 
>         mono [0x8170d80]
>         mono [0x813d432]
>         [0x110440]
>         /opt/mono-1.2.6/lib/libtiff.so.3(TIFFVGetField+0x68) [0x1158848]
>         /opt/mono-1.2.6/lib/libtiff.so.3(TIFFGetField+0x2b) [0x115a9cb]
>         /opt/mono-1.2.6/lib/libgdiplus.so [0x649212b]
>         /opt/mono-1.2.6/lib/libgdiplus.so(GdipLoadImageFromFile+0x1e3) [0x6471b03]
>         /opt/mono-1.2.6/lib/libgdiplus.so(GdipCreateBitmapFromFile+0x24) [0x6459e84]
>         [0x737f73a]
>         [0x737f6c6]
>         [0x737f670]
>         [0x737f63a]
>         [0x737f536]
>         [0x4563646]
>         [0x4563532]
>         [0x4563481]
>         [0x456342a]
>         [0x7dd0d69]
>         mono [0x815dbd6]
>         mono(mono_runtime_invoke+0x27) [0x80f15d7]
>         mono(mono_runtime_delegate_invoke+0x3b) [0x80f1a3b]
>         mono [0x80c7cfc]
>         mono [0x810fa30]
>         mono [0x812d004]
>         /lib/libpthread.so.0 [0x8dd44b]
>         /lib/libc.so.6(clone+0x5e) [0x80b80e]
> 
> =================================================================
> Got a SIGSEGV 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

Steps to reproduce the problem:
1. Bitmap img = new Bitmap("play.tif");

Sample tif attached below.

Actual Results:


Expected Results:


How often does this happen? 

Every time

Additional Information:

The default libtiff provided with mono 1.2.6 is libtiff.so.3.6.1, however
deleting all libtiff.* files from the /lib folder of the installation fixes the
problem. The installed libtiff with my installation of Fedora Core 7 is 3.8.1.
Running the 1.2.6 compiled application using that version of libtiff has no
problems.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list