[Mono-list] *** glibc detected *** double free or corruption
(fasttop): 0x0a574240 ***
Nikki Locke
nikki at trumphurst.com
Fri May 26 10:52:01 EDT 2006
Robert Jordan wrote:
> Robert Jordan wrote:
> > Nikki Locke wrote:
> >> Then I got...
> >>
> >> Program received signal SIG35, Real-time event 35.
> >>
> >> What now?
> >>
> >
> > What now? Please *read* http://www.mono-project.com/Debugging
>
> Ah, okay. SIG35 is not mentioned on the page:
>
> handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
Thanks. I trust the web site will be corrected.
[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
#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)
in System.Windows.Forms.XplatUI:PaintEventEnd (intptr,bool) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:586)
in System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3781)
in System.Windows.Forms.ScrollableControl:WndProc (System.Windows.Forms.Message&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:584)
in System.Windows.Forms.ContainerControl:WndProc (System.Windows.Forms.Message&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:336)
in System.Windows.Forms.Form:WndProc (System.Windows.Forms.Message&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1821)
in ControlNativeWindow:WndProc (System.Windows.Forms.Message&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:160)
in System.Windows.Forms.NativeWindow:WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146)
in System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2562)
in System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG&) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:408)
in System.Windows.Forms.Application:RunLoop (bool,System.Windows.Forms.ApplicationContext) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:395)
in System.Windows.Forms.Application:Run (System.Windows.Forms.Form) (at /var/src/mono-
1.1.15/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:292)
in SpecSoft.EPOS.TransactionClient.FormMain:Main (string[]) (at /home/epos/src/ClientTestApp/FormMain.cs:173)
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x7cdaf1e>
(gdb)
Any suggestions what to do now?
--
Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming
http://www.trumphurst.com/
More information about the Mono-list
mailing list