Hi Andy, Le Wed, 14 Apr 2010 20:55:58 +0200, Andy Wingo <wi...@pobox.com> a écrit :
> Unfortunately I don't see the problem. All of the bt is in GTK+ code. > But surely it was a case that we freed something that was supposed to be > freed in some other way (the g_slice thing again). The backtrace error of the message you answered is the 'corrupted double-linked ...' which occurs 'rarely' and always gives a long output in the terminal + a backtrace ... ;; -- the 2 errors might be [or are for sure] related, but...: The 'gslice error' occurs 'all the time'. This tells me that they are not 'the same' and I still wish to try to debug. I have an idea: 1] here below is a 'full' backtrace [after installed guile-1.6-dev nostrip...] - may be it's better then the previous one? [for this error GSlice I mean] 2] if not, as I have a full source tree ready to compile as many times as I wish, using libglib 2.22.4-1 and 2.18.9-2: -] I could temporarily change the source code, with your help, to open a log and write in it these info you need what do you think? > Try valgrind perhaps? I tried, but so far without much success: without help I am not sure I will achieve any useful result, and I have a feeling it would be quicker to temporarily change the source code, would it not be? Thanks, David ;; -- terminal output ***MEMORY-ERROR***: oc[6277]: GSlice: assertion failed: sinfo->n_allocated > 0 ;; -- gdb backtrace ... Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7d246c0 (LWP 6277)] 0xffffe410 in __kernel_vsyscall () (gdb) backtrace #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d5a8e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb7d5de15 in *__GI_abort () at abort.c:88 #3 0xb7b8c94f in mem_error (format=0xb7bb4f76 "assertion failed: %s") at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:1197 #4 0xb7b8d216 in slab_allocator_free_chunk (chunk_size=<value optimized out>, mem=0x89a97c8) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:1079 #5 0xb7b8d532 in magazine_cache_push_magazine (ix=<value optimized out>, magazine_chunks=<value optimized out>, count=51) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:614 #6 0xb7b8e57d in IA__g_slice_free_chain_with_offset (mem_size=12, mem_chain=0x83a3360, next_offset=4) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:744 #7 0xb7b6dd01 in IA__g_list_free (list=0x83a3360) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/glist.c:65 #8 0xb74595f4 in g_unix_volume_monitor_finalize (object=0x8a14768) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gio/gunixvolumemonitor.c:83 #9 0xb7bf90ab in IA__g_object_unref (_object=0x8a14768) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gobject.c:2472 #10 0xb744c614 in g_union_volume_monitor_finalize (object=0x8a0e168) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gio/gunionvolumemonitor.c:73 #11 0xb7bf90ab in IA__g_object_unref (_object=0x8a0e168) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gobject.c:2472 #12 0xb6c55ae9 in gtk_file_system_dispose (object=0x89f36a0) at /tmp/buildd/gtk+2.0-2.18.9/gtk/gtkfilesystem.c:184 #13 0xb7bf9000 in IA__g_object_unref (_object=0x89f36a0) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gobject.c:2441 #14 0xb6c53433 in free_async_data (async_data=0x846dfb8) at /tmp/buildd/gtk+2.0-2.18.9/gtk/gtkfilesystem.c:770 #15 0xb6c5394d in query_info_callback (source_object=0x89f4000, result=0x8202cf0, user_data=0x846dfb8) at /tmp/buildd/gtk+2.0-2.18.9/gtk/gtkfilesystem.c:881 #16 0xb743f059 in IA__g_simple_async_result_complete (simple=0x8202cf0) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gio/gsimpleasyncresult.c:588 #17 0xb743f36e in complete_in_idle_cb_for_thread (_data=0x82179a8) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gio/gsimpleasyncresult.c:650 #18 0xb7b6ddb1 in g_idle_dispatch (source=0xb38004e8, callback=0, user_data=0x82179a8) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:4065 #19 0xb7b6fb38 in IA__g_main_context_dispatch (context=0x811b720) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:1960 #20 0xb7b733d0 in g_main_context_iterate (context=0x811b720, block=<value optimized out>, dispatch=1, self=0x8260800) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2591 #21 0xb7b7383f in IA__g_main_loop_run (loop=0x8919908) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2799 #22 0xb7af99bd in ?? () from /usr/lib/guile-gnome-0/libgw-guile-gnome-glib.so.0 #23 0x08919908 in ?? () #24 0xb7f89468 in ?? () from /usr/lib/libguile.so.12 #25 0xbfb2db2c in ?? () #26 0xb7f13757 in scm_internal_dynamic_wind (before=0x8919908, inner=0x2174, after=0xb5b456e8, inner_data=0x80dc958, guard_data=0xbfb2db5c) at dynwind.c:168 Backtrace stopped: frame did not save the PC (gdb)