1.9.8: Segfault when entering transaction for 2006/07/04

Thomas Klausner tk at giga.or.at
Wed Jul 5 17:30:47 EDT 2006


On Wed, Jul 05, 2006 at 05:02:18PM -0400, Derek Atkins wrote:
> What's the couple of lines just before the backtrace?  The one where it
> says where the SEGV actually occurred?

Sorry, it doesn't say.
I added "gdb" in the exec line in the start up script,
here's the complete output:
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
(gdb) r
Starting program: /home/wiz/gctest/bin/gnucash-bin 


This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org.
You can also lookup and file bug reports at http://bugzilla.gnome.org
The last stable version was GnuCash 1.8.12
The next stable version will be GnuCash 2.0

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00000011 in ?? ()
(gdb) bt
#0  0x00000011 in ?? ()
#1  0xbbae6c5d in gnucash_sheet_key_press_event (widget=0x90fd070, event=0x8e5f178) at gnucash-sheet.c:1543
#2  0xbb0f2d83 in gtk_marshal_BOOLEAN__VOID () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#3  0xbabc32cd in g_value_set_boxed () from /usr/pkg/lib/libgobject-2.0.so.0
#4  0xbabc4a10 in g_closure_invoke () from /usr/pkg/lib/libgobject-2.0.so.0
#5  0xbabd3774 in g_signal_chain_from_overridden () from /usr/pkg/lib/libgobject-2.0.so.0
#6  0xbabd4553 in g_signal_emit_valist () from /usr/pkg/lib/libgobject-2.0.so.0
#7  0xbabd48e7 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so.0
#8  0xbb1bf2ce in gtk_widget_get_default_style () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#9  0xbb1cc388 in gtk_window_propagate_key_event () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#10 0xbb1cedc2 in gtk_window_activate_key () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#11 0xbb0f2d83 in gtk_marshal_BOOLEAN__VOID () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#12 0xbabc32cd in g_value_set_boxed () from /usr/pkg/lib/libgobject-2.0.so.0
#13 0xbabc4945 in g_closure_invoke () from /usr/pkg/lib/libgobject-2.0.so.0
#14 0xbabd3774 in g_signal_chain_from_overridden () from /usr/pkg/lib/libgobject-2.0.so.0
#15 0xbabd4553 in g_signal_emit_valist () from /usr/pkg/lib/libgobject-2.0.so.0
#16 0xbabd48e7 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so.0
#17 0xbb1bf2ce in gtk_widget_get_default_style () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#18 0xbb0ed603 in gtk_propagate_event () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#19 0xbb0ee5ef in gtk_main_do_event () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#20 0xbafac951 in gdk_add_client_message_filter () from /usr/pkg/lib/libgdk-x11-2.0.so.0
#21 0xbab55d42 in g_main_context_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#22 0xbab58c48 in g_main_context_check () from /usr/pkg/lib/libglib-2.0.so.0
#23 0xbab58fa7 in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#24 0xbb0eea35 in gtk_main () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#25 0xbba4d33e in gnc_ui_start_event_loop () at gnc-gnome-utils.c:368
#26 0x0804a3e5 in inner_main (closure=0x0, argc=1, argv=0xbfbfe494) at gnucash-bin.c:479
#27 0xbac42e6b in scm_boot_guile () from /usr/pkg/lib/libguile.so.12
#28 0x0804a0f1 in main (argc=-1077943184, argv=0xbfbfe494) at gnucash-bin.c:515
#29 0x08049a80 in ___start ()
(gdb) 

> This code hasn't been touched
> in a while.  When did it start crashing for you?

When I upgraded to a newer NetBSD release that uses
gcc (GCC) 4.1.2 20060628 prerelease (NetBSD nb1 20060602)

The NetBSD from which I upgraded came with
gcc (GCC) 3.3.3 (NetBSD nb3 20040520)

Is there any other information I can provide for tracking this down?
 Thomas


More information about the gnucash-devel mailing list