* guile-gnome-0 - guile-1.6.8-6.3 - random crash
@ 2010-03-17 20:09 David Pirotte
2010-03-22 20:33 ` Andy Wingo
0 siblings, 1 reply; 9+ messages in thread
From: David Pirotte @ 2010-03-17 20:09 UTC (permalink / raw)
To: guile-gtk; +Cc: guile-user
Hello,
debian 2.6.22-2-686
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libc6-dev 2.9-12 GNU C Library: Development Libraries and Header Files
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 ...
It does not seem to be related to 'my programming and/or code'. Further more, I long thought it
was a libglib bug, but recently succeeded upgrading from a very old version to up-to-date one and
the bug still appears:
ii libglib2.0-0 2.22.4-1
ii libglib2.0-0-dbg 2.22.4-1
ii libglib2.0-data 2.22.4-1
ii libglib2.0-dev 2.22.4-1
ii libgtk2.0-0 2.18.6-1
ii libgtk2.0-0-dbg 2.18.6-1
ii libgtk2.0-bin 2.18.6-1
ii libgtk2.0-common 2.18.6-1
ii guile-1.6 1.6.8-6.3
ii guile-1.6-dev 1.6.8-10
ii guile-1.6-libs 1.6.8-6.3
ii guile-1.6-slib 1.6.8-6.3
ii guile-1.8 1.8.5+1-4.1
ii guile-1.8-libs 1.8.5+1-4.1
ii guile-common 1:1.4-26
ii guile-db 0.1-4
ii guile-g-wrap 1.9.6-3.2
ii guile-gnome0-canvas 2.7.99-4
ii guile-gnome0-dev 2.7.99-4
ii guile-gnome0-gconf 2.7.99-4
ii guile-gnome0-glib 2.7.99-4
ii guile-gnome0-gnome 2.7.99-4
ii guile-gnome0-gnome-ui 2.7.99-4
ii guile-gnome0-gtk 2.7.99-4
ii guile-gnome0-vfs 2.7.99-4
ii guile-library 0.1.6-1
ii guile-pg 0.16-4+b1
ii guile-www 1.1.1-3
ii libguile-ltdl-1 1.6.8-6.3
I was able to produce a 'reasonable' backtrace: the only problem is libgwrap,:
ii libgwrap-runtime0 1.9.6-3.2
ii libgwrap-runtime2 1.9.13-1
BUT
there is only one libgwrap-runtime-dev file available and installing it would break guile-gnome-0
because requires guile-1.8-dev [which conflicts with guile-1.6-dev, don't know why] ...
The bug appears every few minutes of using the application, doing things such as selecting row in
a liststore, opening/closing user dialogs ... Its is unpredictable and can not be reproduced by a series
of precise actions, it is just 'random'
Here is what I could come up with, knowing that it's without libgwrap-runtime-dev [which
could only be libgwrap-runtime0-dev in my case]:
Many thanks to give it a look and a try ... If there is anything I can do ... let me know of course
Cheers,
David
;; Backtrace
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c906c0 (LWP 3595)]
slab_allocator_free_chunk (chunk_size=<value optimized out>, mem=<value optimized out>)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:1091
1091 /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c: No such file or directory.
in /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c
(gdb) backtrace
#0 slab_allocator_free_chunk (chunk_size=<value optimized out>, mem=<value optimized out>)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:1091
#1 0xb7af7532 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
#2 0xb7af857d in IA__g_slice_free_chain_with_offset (mem_size=12, mem_chain=0x8a09030,
next_offset=4) at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gslice.c:744
#3 0xb7ad7d01 in IA__g_list_free (list=0x8a09030)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/glist.c:65
#4 0xb743406b in _gdk_window_process_updates_recurse (window=0x84f1f38, expose_region=0x89611c0)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/gdkwindow.c:5141
#5 0xb745c824 in _gdk_windowing_window_process_updates_recurse (window=0x84f1f38,
region=0x89611c0)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/x11/gdkwindow-x11.c:5568
#6 0xb7430985 in gdk_window_process_updates_internal (window=0x84f1f38)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/gdkwindow.c:5316
#7 0xb7435620 in IA__gdk_window_process_updates (window=0x87705e8, update_children=1)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/gdkwindow.c:5490
#8 0xb6d36ed0 in gtk_tree_view_adjustment_changed (adjustment=0x8110920, tree_view=0x824b150)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtktreeview.c:10540
#9 0xb7b6e91c in IA__g_cclosure_marshal_VOID__VOID (closure=0x824a878, return_value=0x0,
n_param_values=1, param_values=0x898d178, invocation_hint=0xbfe29ea4, marshal_data=0xb6d36d00)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gmarshal.c:77
#10 0xb7b60f62 in IA__g_closure_invoke (closure=0x824a878, return_value=0x0, n_param_values=1,
param_values=0x898d178, invocation_hint=0xbfe29ea4)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:767
#11 0xb7b753a8 in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x8110920, emission_return=0x0,
instance_and_params=0x898d178)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3247
#12 0xb7b7672d in IA__g_signal_emit_valist (instance=0x8110920, signal_id=213, detail=0,
var_args=0xbfe2a060 "*㶶ä9ì¶ \t\021\b\234 â¿Ögʶ \t\021\b0ÐD'µ\235\213@Ü3¸·(ò¡\b\210ÁV\b¬ â¿ä9ì¶8¢â¿(ò¡\bÜ â¿¤!Ķ\020\024$\b@Òw\bx\217\021\b\230&¹·(ò¡\bðÝ\022\bÜ â¿Ü3¸·(ò¡\bðÝ\022\b\f¡â¿\230&¹·(ò¡\bðÝ\022\b\f¡â¿éõµ·ðÝ\022\b8¢â¿\002")
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:2980
#13 0xb7b76ba6 in IA__g_signal_emit (instance=0x8110920, signal_id=213, detail=0)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3037
#14 0xb6b6d8ba in IA__gtk_adjustment_value_changed (adjustment=0x8110920)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkadjustment.c:668
#15 0xb6ca67d6 in gtk_scrolled_window_scroll_event (widget=0x8241410, event=0x877d240)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkscrolledwindow.c:1590
#16 0xb6c421a4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x812ddf0, return_value=0xbfe2a238,
n_param_values=2, param_values=0x8a1f228, invocation_hint=0xbfe2a224, marshal_data=0xb6ca66f0)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmarshalers.c:84
#17 0xb7b5f5e9 in g_type_class_meta_marshal (closure=0x812ddf0, return_value=0xbfe2a238,
n_param_values=2, param_values=0x8a1f228, invocation_hint=0xbfe2a224, marshal_data=0xb8)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:878
#18 0xb7b60f62 in IA__g_closure_invoke (closure=0x812ddf0, return_value=0xbfe2a238,
n_param_values=2, param_values=0x8a1f228, invocation_hint=0xbfe2a224)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c:767
#19 0xb7b7509e in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x8241410, emission_return=0xbfe2a380,
instance_and_params=0x8a1f228)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3285
#20 0xb7b765b8 in IA__g_signal_emit_valist (instance=0x8241410, signal_id=47, detail=0,
var_args=0xbfe2a3e4 " ¤â¿\204Qµ·\\¤â¿\230&¹·P±$\bP±$\b<¤â¿\037")
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:2990
#21 0xb7b76ba6 in IA__g_signal_emit (instance=0x8241410, signal_id=47, detail=0)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c:3037
#22 0xb6d5e47e in gtk_widget_event_internal (widget=<value optimized out>, event=0x877d240)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkwidget.c:4767
#23 0xb6c3a950 in IA__gtk_propagate_event (widget=0x8241410, event=0x877d240)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c:2417
#24 0xb6c3bbd9 in IA__gtk_main_do_event (event=0x877d240)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c:1622
#25 0xb744e53a in gdk_event_dispatch (source=0x8115888, callback=0, user_data=0x0)
at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gdk/x11/gdkevents-x11.c:2372
#26 0xb7ad9b38 in IA__g_main_context_dispatch (context=0x81158d0)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:1960
#27 0xb7add3d0 in g_main_context_iterate (context=0x81158d0, block=<value optimized out>,
dispatch=1, self=0x825ae98)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2591
#28 0xb7add83f in IA__g_main_loop_run (loop=0x844fc68)
at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c:2799
#29 0xb7a63a3d in ?? () from /usr/lib/guile-gnome-0/libgw-guile-gnome-glib.so.0
#30 0x0844fc68 in ?? ()
#31 0xb7f12460 in ?? () from /usr/lib/libguile.so.12
#32 0xbfe2a67c in ?? ()
#33 0xb7e93d59 in scm_internal_dynamic_wind () from /usr/lib/libguile.so.12
Backtrace stopped: frame did not save the PC
(gdb) quit
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-03-17 20:09 guile-gnome-0 - guile-1.6.8-6.3 - random crash David Pirotte
@ 2010-03-22 20:33 ` Andy Wingo
2010-04-08 18:06 ` David Pirotte
0 siblings, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2010-03-22 20:33 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-user, guile-gtk
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
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-03-22 20:33 ` Andy Wingo
@ 2010-04-08 18:06 ` David Pirotte
2010-04-08 18:53 ` Andy Wingo
2010-04-08 20:40 ` Linas Vepstas
0 siblings, 2 replies; 9+ messages in thread
From: David Pirotte @ 2010-04-08 18:06 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-user, guile-gtk, guile-devel
[-- 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)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-08 18:06 ` David Pirotte
@ 2010-04-08 18:53 ` Andy Wingo
2010-04-08 20:06 ` Thien-Thi Nguyen
2010-04-08 20:40 ` Linas Vepstas
1 sibling, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2010-04-08 18:53 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-user, guile-gtk, guile-devel, Thien-Thi Nguyen
Hi David,
I'm happy to help, and glad to hear things are going OK. You probably
have the largest guile-gnome-using apps out there... Also, one of these
three lists is probably enough ;)
On Thu 08 Apr 2010 20:06, David Pirotte <david@altosw.be> writes:
> 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 ***
I couldn't tell from your backtraces what went on. Be sure to install
the debug packages so that gdb can give symbols.
> [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
^^
I just downloaded
http://vychodil.inf.upol.cz/research/development/gtrees/download/gtrees-0.5-alpha.tar.bz2,
and it seems to compile fine against 2.0. I did a (load-extension
"./libgtrees" "define_gtrees_module") and that worked, and then
(use-modules (gtrees-module)) and that worked too.
Perhaps you will be able to skip 1.8 ;-) But it should work with 1.8 as well.
> guile-1.8 and guile-pg, a prehistoric version which will remain so until
^^
No such luck with guile-pg, it will need patches. I even tried applying
debian's patches to see if that would help, but guile-pg uses gh.h.
Copying Thien-Thi, who appears to be the upstream: what is the right
thing to do here? Get it into a project on savannah in git hosting, no?
Regards,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-08 18:53 ` Andy Wingo
@ 2010-04-08 20:06 ` Thien-Thi Nguyen
2010-04-08 22:13 ` Andy Wingo
0 siblings, 1 reply; 9+ messages in thread
From: Thien-Thi Nguyen @ 2010-04-08 20:06 UTC (permalink / raw)
To: guile-user, guile-gtk, guile-devel
() Andy Wingo <wingo@pobox.com>
() Thu, 08 Apr 2010 20:53:17 +0200
No such luck with guile-pg, it will need patches. I even tried
applying debian's patches to see if that would help, but
guile-pg uses gh.h. Copying Thien-Thi, who appears to be the
upstream: what is the right thing to do here? Get it into a
project on savannah in git hosting, no?
Sorry, i don't understand. What does "it" refer to?
The right thing to do in any case is to identify the platform
specific parts, write tests to detect them, and code to accomodate
for them.
I started this with src/gi.h, but that is just the beginning.
thi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-08 18:06 ` David Pirotte
2010-04-08 18:53 ` Andy Wingo
@ 2010-04-08 20:40 ` Linas Vepstas
1 sibling, 0 replies; 9+ messages in thread
From: Linas Vepstas @ 2010-04-08 20:40 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-user
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
On 8 April 2010 13:06, David Pirotte <david@altosw.be> wrote:
>
> 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: =========
>
Shot in the dark: I typically see these if there is a double-free, or if
there
are writes to freed memory.
--linas
[-- Attachment #2: Type: text/html, Size: 776 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-08 20:06 ` Thien-Thi Nguyen
@ 2010-04-08 22:13 ` Andy Wingo
2010-04-09 7:08 ` Thien-Thi Nguyen
0 siblings, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2010-04-08 22:13 UTC (permalink / raw)
To: Thien-Thi Nguyen; +Cc: guile-user, guile-gtk, guile-devel
Hi!
On Thu 08 Apr 2010 22:06, Thien-Thi Nguyen <ttn@gnuvola.org> writes:
> () Andy Wingo <wingo@pobox.com>
> () Thu, 08 Apr 2010 20:53:17 +0200
>
> No such luck with guile-pg, it will need patches. I even tried
> applying debian's patches to see if that would help, but
> guile-pg uses gh.h. Copying Thien-Thi, who appears to be the
> upstream: what is the right thing to do here? Get it into a
> project on savannah in git hosting, no?
>
> Sorry, i don't understand. What does "it" refer to?
Referring to guile-pg.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-08 22:13 ` Andy Wingo
@ 2010-04-09 7:08 ` Thien-Thi Nguyen
2010-04-09 8:40 ` Andy Wingo
0 siblings, 1 reply; 9+ messages in thread
From: Thien-Thi Nguyen @ 2010-04-09 7:08 UTC (permalink / raw)
To: guile-user, guile-gtk, guile-devel
() Andy Wingo <wingo@pobox.com>
() Fri, 09 Apr 2010 00:13:10 +0200
> () Andy Wingo <wingo@pobox.com>
> () Thu, 08 Apr 2010 20:53:17 +0200
>
> what is the right thing to do here? Get it into a
> project on savannah in git hosting, no?
>
> Sorry, i don't understand. What does "it" refer to?
Referring to guile-pg.
I'm not completely comfortable w/ that. Besides
being a control freak, i'm also loosely connected.
(Patches by email are fine.)
thi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash
2010-04-09 7:08 ` Thien-Thi Nguyen
@ 2010-04-09 8:40 ` Andy Wingo
0 siblings, 0 replies; 9+ messages in thread
From: Andy Wingo @ 2010-04-09 8:40 UTC (permalink / raw)
To: Thien-Thi Nguyen; +Cc: guile-user, guile-gtk, guile-devel
On Fri 09 Apr 2010 09:08, Thien-Thi Nguyen <ttn@gnuvola.org> writes:
> () Andy Wingo <wingo@pobox.com>
> () Fri, 09 Apr 2010 00:13:10 +0200
>
> > () Andy Wingo <wingo@pobox.com>
> > () Thu, 08 Apr 2010 20:53:17 +0200
> >
> > what is the right thing to do here? Get it into a
> > project on savannah in git hosting, no?
> >
> > Sorry, i don't understand. What does "it" refer to?
>
> Referring to guile-pg.
>
> I'm not completely comfortable w/ that. Besides
> being a control freak, i'm also loosely connected.
> (Patches by email are fine.)
Can we have a git repo somewhere, then?
A
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-04-09 8:40 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 20:09 guile-gnome-0 - guile-1.6.8-6.3 - random crash David Pirotte
2010-03-22 20:33 ` Andy Wingo
2010-04-08 18:06 ` 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-08 20:40 ` Linas Vepstas
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).