[Mono-list] Re: *** glibc detected *** double free or corruption (fasttop): 0x0a574240 ***

Robert Jordan robertj at gmx.net
Fri May 26 12:06:12 EDT 2006


> [Later]
> OK, I've run it under the debugger, and got a SIGABRT with the following stack trace...
> 
> (gdb) bt
> #0  0x00b6b7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0x00bab7f5 in raise () from /lib/tls/libc.so.6
> #2  0x00bad199 in abort () from /lib/tls/libc.so.6
> #3  0x00bea795 in free_check () from /lib/tls/libc.so.6
> #4  0x00be5f95 in free () from /lib/tls/libc.so.6
> #5  0x003219ae in cairo_font_face_set_user_data () from /usr/lib/libgdiplus.so


 From other mails you've sent to the list, I saw that you're probably
using the Mono-Installer distribution. I wonder whether
/usr/lib/libgdiplus.so is correct. I'm not familiar with the
Mono-Installer, so please check if it contains
/opt/mono-1.1.15/lib/libgdiplus.so. If yes, assure it's found before
/usr/lib/libgdiplus.so.


> #6  0x00321b82 in cairo_font_face_set_user_data () from /usr/lib/libgdiplus.so
> #7  0x0032172b in cairo_font_face_destroy () from /usr/lib/libgdiplus.so
> #8  0x003237e6 in cairo_font_options_get_hint_metrics () from /usr/lib/libgdiplus.so
> #9  0x003238b3 in cairo_font_options_get_hint_metrics () from /usr/lib/libgdiplus.so
> #10 0x0031cf44 in cairo_destroy () from /usr/lib/libgdiplus.so
> #11 0x002e3cde in GdipDeleteGraphics () from /usr/lib/libgdiplus.so
> #12 0x009e8a6d in ?? ()
> #13 0x09f61ac8 in ?? ()
> #14 0x00efe948 in ?? ()
> #15 0x00000000 in ?? ()
> (gdb) mono_stack
> "" tid=0x0xb7eef8e0 this=0x0x21e40:
> in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDeleteGraphics (intptr) <0x4>
> in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDeleteGraphics (intptr) <0xffffffc9>
> [New Thread -1253397584 (LWP 1673)]
> in System.Drawing.Graphics:Dispose () (at /var/src/mono-1.1.15/mcs/class/System.Drawing/System.Drawing/Graphics.cs:259)
> in (wrapper remoting-invoke-with-check) System.Drawing.Graphics:Dispose () <0xfffd1cf8>
> in System.Windows.Forms.XplatUIX11:PaintEventEnd (intptr,bool) (at /var/src/mono-
> 1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3602)

[...]

> Any suggestions what to do now?

Compile Mono from SVN and don't forget to update libgdiplus as well.
There were 100s of SWF bug fixes since the last 1.1.15 release.

See
http://www.mono-project.com/Compiling_Mono#Building_Mono_from_the_Subversion_Repository

If the issue persists, try to separate a small test case and file it
at http://www.mono-project.com/Bugs.

Thanks,
Robert



More information about the Mono-list mailing list