From: David Pirotte <david@altosw.be>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-user <guile-user@gnu.org>,
guile-gtk <guile-gtk-general@gnu.org>,
guile-devel@gnu.org
Subject: Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
Date: Thu, 8 Apr 2010 15:06:24 -0300 [thread overview]
Message-ID: <20100408150624.0534a579@rascar> (raw)
In-Reply-To: <m3bpegw0y9.fsf@pobox.com>
[-- Attachment #1: Type: text/plain, Size: 2751 bytes --]
Hello Andy,
Hi developpers,
Thank you so much for having given a look to this problem. After digging into the
debian packages and trying to rebuild from latest 2.7.99-4 debian source, I
understand that your suggestion was actually already included by Andreas:
- I know it sounds surprising, but having built myself in the past, and
being quite prudent in installing official debian package [list-store
missing symbols ...] I now have to make sure that what is installed
and running on my machine is the latest 2.7.99-4! I'll do that today
But I have had another type of bug, which I beleive is not related to the one
you looked at, which rarely appears and occurred today, so here it is:
*** glibc detected *** guile: corrupted double-linked list: 0x08a1ca60 ***
======= Backtrace: =========
Attached are 2 files: the output that was printed in the terminal and the gdb
backtrace.
[I know I have to port my code, it's far from being easy: it depends on
gtrees [recently received support from the creator to make it running in
guile-1.8 and guile-pg, a prehistoric version which will remain so until
it's maintainer goes forward [i think he made it clear that he will], ...
gtrees and guile-pg force me to stay in guile-1.6]
[All these apps are between 13.000 and 30.000 lines of pure scheme code:
quite a lot of work, to port and test! but I started already...]
In the meantime, I still hope that you and guile-1.6 maintainers can offer a little
support and help me debug:
I'll do all my best to provide as much as possible info to get rid of these
2 nauty bugs.
Many thanks again,
Long live to guile! I am looking forward to port and test my code with guile-vm!
Cheers,
David
;; --
Le Mon, 22 Mar 2010
21:33:50 +0100, Andy Wingo <wingo@pobox.com> a écrit :
> On Wed 17 Mar 2010 21:09, David Pirotte <david@altosw.be> writes:
>
> > I know, guile-gnome-0 is obsolate ... But I have no choice right know and really
> > really hope that I can help developers to find out what the problem is and debug
> > it ...
>
> As long as you know this :) This was released *five years ago* :)
>
> Are you using custom tree models? I bet it's something whereby we are
> freeing something with g_free but it was allocated with g_slice_alloc.
>
> What about this fix (from git revision
> c7101904f2704b3cf7fbde5c02602be01ff37f2b, 2007-12-09), to
> gtk/gw/gtk-support.c:
>
> @@ -727,7 +761,7 @@ _wrap_gtk_tree_model_iter_next (GtkTreeModel *model,
> GtkTreeIter *iter)
> if (gtk_tree_model_iter_next (model, new))
> return new;
> - g_free (new);
> + gtk_tree_iter_free (new);
> return NULL;
> }
>
> Regards,
>
> Andy
[-- Attachment #2: guile-gnome0-crash-terminal-output.txt --]
[-- Type: text/plain, Size: 4244 bytes --]
...
*** glibc detected *** guile: corrupted double-linked list: 0x08a1ca60 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7ce91d4]
/lib/i686/cmov/libc.so.6[0xb7cec1a2]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7ced595]
/usr/lib/libX11.so.6(_XSend+0x1dc)[0xb721960c]
/usr/lib/libX11.so.6(_XFlush+0x39)[0xb7219c09]
/usr/lib/libX11.so.6(_XFlushGCCache+0xa8)[0xb71ee8e8]
/usr/lib/libX11.so.6(XSetClipMask+0x4f)[0xb720ac0f]
/usr/lib/libgdk-x11-2.0.so.0[0xb7432f98]
/usr/lib/libgdk-x11-2.0.so.0[0xb73fb004]
/usr/lib/libgtk-x11-2.0.so.0[0xb6c70a8a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_paint_layout+0xea)[0xb6c6c8da]
/usr/lib/libgtk-x11-2.0.so.0[0xb6b41e54]
/usr/lib/libgtk-x11-2.0.so.0(gtk_cell_renderer_render+0x106)[0xb6b3a4f6]
/usr/lib/libgtk-x11-2.0.so.0[0xb6cfce5c]
/usr/lib/libgtk-x11-2.0.so.0[0xb6cfdc14]
/usr/lib/libgtk-x11-2.0.so.0[0xb6cf86f9]
/usr/lib/libgtk-x11-2.0.so.0[0xb6cf9ba1]
/usr/lib/libgtk-x11-2.0.so.0[0xb6bef374]
/usr/lib/libgobject-2.0.so.0[0xb7b415e9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2)[0xb7b42f62]
/usr/lib/libgobject-2.0.so.0[0xb7b5709e]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x648)[0xb7b585b8]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)[0xb7b58ba6]
/usr/lib/libgtk-x11-2.0.so.0[0xb6d0bafe]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x500)[0xb6be9090]
/usr/lib/libgdk-x11-2.0.so.0[0xb741738f]
/usr/lib/libgdk-x11-2.0.so.0[0xb741733e]
/usr/lib/libgdk-x11-2.0.so.0[0xb741733e]
/usr/lib/libgdk-x11-2.0.so.0[0xb743fc24]
/usr/lib/libgdk-x11-2.0.so.0[0xb7413b53]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0x13f)[0xb7415b4f]
/usr/lib/libgdk-x11-2.0.so.0[0xb7415bcb]
/usr/lib/libgdk-x11-2.0.so.0[0xb73f1ff8]
/lib/libglib-2.0.so.0[0xb7ab9db1]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f8)[0xb7abbb38]
/lib/libglib-2.0.so.0[0xb7abf3d0]
/lib/libglib-2.0.so.0(g_main_loop_run+0x1bf)[0xb7abf83f]
/usr/lib/guile-gnome-0/libgw-guile-gnome-glib.so.0[0xb7a45a3d]
/usr/lib/libguile.so.12(scm_internal_dynamic_wind+0x89)[0xb7e75d59]
/usr/lib/guile-gnome-0/libgw-guile-gnome-glib.so.0(_wrap_g_main_loop_run+0x42)[0xb7a459a2]
/usr/lib/libffi.so.4(ffi_call_SYSV+0x17)[0xb78cf3f3]
/usr/lib/libffi.so.4(ffi_call+0x5e)[0xb78cf23e]
/usr/lib/libgwrap-guile-runtime.so.0[0xb78d63a4]
/usr/lib/libguile.so.12[0xb7ebc197]
/usr/lib/libguile.so.12(scm_deval+0x1e06)[0xb7e85886]
/usr/lib/libguile.so.12(scm_deval+0xc6f)[0xb7e846ef]
/usr/lib/libguile.so.12(scm_deval+0x591)[0xb7e84011]
/usr/lib/libguile.so.12(scm_deval+0x20bf)[0xb7e85b3f]
/usr/lib/libguile.so.12(scm_deval+0xc6f)[0xb7e846ef]
/usr/lib/libguile.so.12(scm_dapply+0x98c)[0xb7e838cc]
/usr/lib/libguile.so.12(scm_apply+0x73)[0xb7e81e83]
/usr/lib/libguile.so.12(scm_call_0+0x2d)[0xb7e879bd]
/usr/lib/libguile.so.12[0xb7ec9c1a]
/usr/lib/libguile.so.12(scm_fill_input+0x3f)[0xb7eae3ff]
/usr/lib/libguile.so.12(scm_getc+0x110)[0xb7eae550]
/usr/lib/libguile.so.12(scm_flush_ws+0x28)[0xb7eb6d08]
/usr/lib/libguile.so.12(scm_read+0x70)[0xb7eb8320]
/usr/lib/libguile.so.12(scm_deval+0x38e3)[0xb7e87363]
/usr/lib/libguile.so.12(scm_deval+0x591)[0xb7e84011]
/usr/lib/libguile.so.12(scm_deval+0x2f09)[0xb7e86989]
/usr/lib/libguile.so.12(scm_dapply+0x98c)[0xb7e838cc]
/usr/lib/libguile.so.12(scm_deval+0x1433)[0xb7e84eb3]
/usr/lib/libguile.so.12(scm_deval+0x2f09)[0xb7e86989]
======= Memory map: ========
08048000-08049000 r-xp 00000000 03:01 70002 /usr/bin/guile-1.6
08049000-0804a000 rwxp 00000000 03:01 70002 /usr/bin/guile-1.6
0804a000-08b22000 rwxp 0804a000 00:00 0 [heap]
b32d2000-b32d3000 ---p b32d2000 00:00 0
b32d3000-b3ad3000 rwxp b32d3000 00:00 0
b3ad3000-b3ad4000 ---p b3ad3000 00:00 0
b3ad4000-b42d4000 rwxp b3ad4000 00:00 0
b42d4000-b42d5000 ---p b42d4000 00:00 0
b42d5000-b4ad5000 rwxp b42d5000 00:00 0
b4ad5000-b4ad6000 ---p b4ad5000 00:00 0
b4ad6000-b52d6000 rwxp b4ad6000 00:00 0
b5700000-b5721000 rwxp b5700000 00:00 0
b5721000-b5800000 ---p b5721000 00:00 0
b58b9000-b58d5000 r-xp 00000000 03:01 59072 /lib/libgcc_s.so.1
b58d5000-b58d6000 rwxp 0001c000 03:01 59072 /lib/libgcc_s.so.1
b58d6000-b5ad7000 rwxp b58d6000 00:00 0
b5ad7000-b5aea000 r-xp 00000000 03:01 44362 /usr/lib/libbeagle.so.0.0.0
b5aea000-b5aeb000 rw
david@tabu:/usr/local/share/guile/alto 10 $
[-- Attachment #3: guile-gnome0-crash-gdb-backtrace.txt --]
[-- Type: text/plain, Size: 3112 bytes --]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7c726c0 (LWP 3847)]
0xffffe410 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7ca5680 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7ca8d68 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7cdeabd in ?? () from /lib/i686/cmov/libc.so.6
#4 0x00000010 in ?? ()
#5 0xbfeddcec in ?? ()
#6 0x00000400 in ?? ()
#7 0x00000002 in ?? ()
#8 0xbfeddbec in ?? ()
#9 0xb7dbd1c8 in ?? () from /lib/i686/cmov/libc.so.6
#10 0x00000017 in ?? ()
#11 0xbfee186b in ?? ()
#12 0x00000005 in ?? ()
#13 0xb7dbd1e1 in ?? () from /lib/i686/cmov/libc.so.6
#14 0x00000002 in ?? ()
#15 0xb7dba064 in ?? () from /lib/i686/cmov/libc.so.6
#16 0x0000001c in ?? ()
#17 0xb7dbd1e5 in ?? () from /lib/i686/cmov/libc.so.6
#18 0x00000004 in ?? ()
#19 0xbfede21b in ?? ()
#20 0x00000008 in ?? ()
#21 0xb7dbd1eb in ?? () from /lib/i686/cmov/libc.so.6
#22 0x00000005 in ?? ()
#23 0x00000020 in ?? ()
#24 0xbfeddc1c in ?? ()
#25 0xb7dbd1eb in ?? () from /lib/i686/cmov/libc.so.6
#26 0x00000005 in ?? ()
#27 0xbfeddc20 in ?? ()
#28 0xb7cde911 in ?? () from /lib/i686/cmov/libc.so.6
#29 0xb7dbd1ec in ?? () from /lib/i686/cmov/libc.so.6
#30 0x00000025 in ?? ()
#31 0x00000010 in ?? ()
#32 0xbfeddc3c in ?? ()
#33 0xbfede21b in ?? ()
#34 0x00000008 in ?? ()
#35 0xbfeddc40 in ?? ()
#36 0xbfede21b in ?? ()
#37 0xb7aac8c8 in IA__g_hash_table_lookup (hash_table=0x400, key=0xb7dbd1c8)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/ghash.c:195
#38 0xb7ce91d4 in ?? () from /lib/i686/cmov/libc.so.6
#39 0x00000002 in ?? ()
#40 0xb7dbd1c8 in ?? () from /lib/i686/cmov/libc.so.6
#41 0xbfee186b in ?? ()
#42 0xb7dba064 in ?? () from /lib/i686/cmov/libc.so.6
#43 0xbfede21b in ?? ()
#44 0xb7dba064 in ?? () from /lib/i686/cmov/libc.so.6
#45 0x309e5cb0 in ?? ()
#46 0x63316138 in ?? ()
#47 0x00303661 in ?? ()
#48 0xb7dd5ff4 in ?? () from /lib/i686/cmov/libc.so.6
#49 0x000000e0 in ?? ()
#50 0x000000d0 in ?? ()
#51 0xbfede2e8 in ?? ()
#52 0xb7cec1a2 in ?? () from /lib/i686/cmov/libc.so.6
#53 0x08a1ca60 in ?? ()
#54 0x089ed7d0 in ?? ()
#55 0xb74c740f in ?? () from /usr/lib/libpango-1.0.so.0
#56 0x00040c00 in ?? ()
#57 0x089c4398 in ?? ()
#58 0xb7cea844 in ?? () from /lib/i686/cmov/libc.so.6
#59 0xb74c74ef in ?? () from /usr/lib/libpango-1.0.so.0
#60 0xb7dd71a8 in ?? () from /lib/i686/cmov/libc.so.6
#61 0xb7dbb81a in ?? () from /lib/i686/cmov/libc.so.6
#62 0xb7dbd1c8 in ?? () from /lib/i686/cmov/libc.so.6
#63 0xb7dba0f1 in ?? () from /lib/i686/cmov/libc.so.6
#64 0xb7dba03d in ?? () from /lib/i686/cmov/libc.so.6
#65 0x00002c00 in ?? ()
#66 0x08839f08 in ?? ()
#67 0xb7dd7160 in ?? () from /lib/i686/cmov/libc.so.6
#68 0xb7dd7198 in ?? () from /lib/i686/cmov/libc.so.6
#69 0x00000010 in ?? ()
#70 0x00000002 in ?? ()
#71 0x08839f88 in ?? ()
#72 0x00000002 in ?? ()
#73 0x08a4cf38 in ?? ()
#74 0xbfede2bc in ?? ()
#75 0xb72fd6a1 in ?? () from /usr/lib/libcairo.so.2
#76 0xb7e3989e in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
next parent reply other threads:[~2010-04-08 18:06 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 ` David Pirotte [this message]
2010-04-08 18:53 ` guile-gnome-0 - guile-1.6.8-6.3 - random crash 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
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=20100408150624.0534a579@rascar \
--to=david@altosw.be \
--cc=guile-devel@gnu.org \
--cc=guile-gtk-general@gnu.org \
--cc=guile-user@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).