[Mono-dev] Mono 1.2.6 SIGSEGV, Windows.Forms issues

Euan MacInnes euan_macinnes at hotmail.com
Wed Dec 12 23:16:39 EST 2007


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.

If I remove the libtiff.* files from mono1.2.6/lib then it works fine.

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.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-Icarus Project Manager-5.png
Type: image/png
Size: 32060 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071213/41c4d3a9/attachment.png 


More information about the Mono-devel-list mailing list