From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user,gmane.lisp.guile.gtk Subject: Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash Date: Thu, 8 Apr 2010 15:06:24 -0300 Organization: Alto Air Services [http://www.altosw.be/aas/] Message-ID: <20100408150624.0534a579@rascar> References: <20100317170918.0a21c8be@rascar> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/Ynu03zKY6F4Pv.HgHhumVH." X-Trace: dough.gmane.org 1270750009 9596 80.91.229.12 (8 Apr 2010 18:06:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Apr 2010 18:06:49 +0000 (UTC) Cc: guile-user , guile-gtk , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 08 20:06:46 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzw7p-0001e0-TY for guile-devel@m.gmane.org; Thu, 08 Apr 2010 20:06:46 +0200 Original-Received: from localhost ([127.0.0.1]:43960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzw7p-0005wL-D3 for guile-devel@m.gmane.org; Thu, 08 Apr 2010 14:06:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nzw7l-0005ve-HI for guile-devel@gnu.org; Thu, 08 Apr 2010 14:06:41 -0400 Original-Received: from [140.186.70.92] (port=57371 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzw7i-0005uT-Iz for guile-devel@gnu.org; Thu, 08 Apr 2010 14:06:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nzw7f-0005PD-KA for guile-devel@gnu.org; Thu, 08 Apr 2010 14:06:38 -0400 Original-Received: from maximusconfessor.all2all.org ([62.58.108.13]:42312) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzw7f-0005OZ-8z; Thu, 08 Apr 2010 14:06:35 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 37040A04C10B; Thu, 8 Apr 2010 20:06:32 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id MgeQ8OoWMDg4; Thu, 8 Apr 2010 19:57:14 +0200 (CEST) Original-Received: from rascar (unknown [189.122.81.40]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 200C2A04C0F5; Thu, 8 Apr 2010 20:06:27 +0200 (CEST) In-Reply-To: X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10167 gmane.lisp.guile.user:7741 gmane.lisp.guile.gtk:883 Archived-At: --MP_/Ynu03zKY6F4Pv.HgHhumVH. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Andy, Hi developpers, Thank you so much for having given a look to this problem. After digging in= to 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 o= ne you looked at, which rarely appears and occurred today, so here it is: *** glibc detected *** guile: corrupted double-linked list: 0x08a1ca60 *** =3D=3D=3D=3D=3D=3D=3D Backtrace: =3D=3D=3D=3D=3D=3D=3D=3D=3D Attached are 2 files: the output that was printed in the terminal and the g= db 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], ...= =20 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 the= se 2 nauty bugs. Many thanks again, Long live to guile! I am looking forward to port and test my code with guil= e-vm! Cheers, David ;; -- Le Mon, 22 Mar 2010 21:33:50 +0100, Andy Wingo a =C3=A9crit : > On Wed 17 Mar 2010 21:09, David Pirotte writes: >=20 > > I know, guile-gnome-0 is obsolate ... But I have no choice right know a= nd really > > really hope that I can help developers to find out what the problem is = and debug > > it ...=20 >=20 > As long as you know this :) This was released *five years ago* :) >=20 > 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. >=20 > What about this fix (from git revision > c7101904f2704b3cf7fbde5c02602be01ff37f2b, 2007-12-09), to > gtk/gw/gtk-support.c: >=20 > @@ -727,7 +761,7 @@ _wrap_gtk_tree_model_iter_next (GtkTreeModel *model, > GtkTreeIter *iter)=20 > if (gtk_tree_model_iter_next (model, new)) > return new; > - g_free (new); > + gtk_tree_iter_free (new); > return NULL; > } > =20 > Regards, >=20 > Andy --MP_/Ynu03zKY6F4Pv.HgHhumVH. Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=guile-gnome0-crash-terminal-output.txt ... *** 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 $ --MP_/Ynu03zKY6F4Pv.HgHhumVH. Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=guile-gnome0-crash-gdb-backtrace.txt 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) --MP_/Ynu03zKY6F4Pv.HgHhumVH.--