unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: guile-gnome-0 - guile-1.6-latest - corrupted double-linked
Date: Thu, 15 Apr 2010 16:46:24 -0300	[thread overview]
Message-ID: <20100415164624.5c35d5ce@rascar> (raw)
In-Reply-To: <m3633tkgn5.fsf@pobox.com>

Hi Andy,

Le Wed, 14 Apr 2010 20:55:58 +0200,
Andy Wingo <wingo@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) 




      reply	other threads:[~2010-04-15 19:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100317170918.0a21c8be@rascar>
     [not found] ` <m3bpegw0y9.fsf@pobox.com>
2010-04-08 18:06   ` guile-gnome-0 - guile-1.6.8-6.3 - random crash David Pirotte
2010-04-08 18:53     ` Andy Wingo
2010-04-08 20:06       ` Thien-Thi Nguyen
2010-04-08 22:13         ` Andy Wingo
2010-04-09  7:08           ` Thien-Thi Nguyen
2010-04-09  8:40             ` Andy Wingo
2010-04-10 14:23       ` David Pirotte
2010-04-11 20:24         ` Andy Wingo
2010-04-10 14:36       ` David Pirotte
2010-04-13 14:09       ` guile-gnome-0 - guile-1.6-latest - corrupted double-linked David Pirotte
2010-04-14 18:55         ` Andy Wingo
2010-04-15 19:46           ` David Pirotte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100415164624.5c35d5ce@rascar \
    --to=david@altosw.be \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).