[Mono-dev] Mono 1.2.6 SIGSEGV, Windows.Forms issues
Sebastien Pouliot
sebastien.pouliot at gmail.com
Thu Dec 13 08:08:31 EST 2007
Hey,
On Thu, 2007-12-13 at 12:16 +0800, Euan MacInnes wrote:
> Hi,
> After installing the .bin release of 1.2.6, it is now causing a SIGSEGV (after a recompile of the code using the new compiler):
>
> 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
>
> The old 1.2.5 compiler did not generate code with this issue, and if I compile with the old one and run it using the old one (after removing 1.2.6) the application works fine.
This looks like a packaging issue, not a compiler issue.
> If I remove the libtiff.* files from mono1.2.6/lib then it works fine.
Can you compare the libtiff files from 1.2.6 with the one in 1.2.5 ? and
fill a bug report with the information.
Note: the reason it works, once removed, is that FC7 already has it's
own libtiff.
>
> However, and far more seriously, Windows.Forms now draws very badly. I've attached a screenshot. You can see all the menuitem and toolstripbutton text is vertically offset and unreadable. Removing the mono.1.2.6 directory and compiling using the old 1.2.5 renders the controls correctly.
>
> This is on Fedora Core 7.
>
> Cheers,
>
> Euan.
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list