Segfault

Derek Atkins warlord@MIT.EDU
29 Jul 2002 11:23:02 -0400


Tim Wunder <tim@thewunders.org> writes:

> gdb> run -e main -s /usr/local/libexec/gnucash/overrides/gnucash

Ok, so for you, <gnucash-prefix> == /usr/local.  For me it's
/opt/gnucash-cvs.  For others it could be something else. ;)

> OK, thanks (mostly) to derek, I got gnucash to run thru gdb. Here's more info:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 14501)]
> 0x401491c0 in free () from /lib/libc.so.6
> (gdb) #1  0x402afa6b in g_free () from /opt/gnome/lib/libglib-1.2.so.0
> #2  0x40272322 in gnc_sxsl_del_vars_table_ea (key=0x402945cb, value=0x86af820, user_data=0x0) at dialog-sxsincelast.c:1650
> #3  0x402ab563 in g_hash_table_foreach () from /opt/gnome/lib/libglib-1.2.so.0
> #4  0x4027286e in create_each_transaction_helper (t=0x8537b78, d=0xbffff14c) at dialog-sxsincelast.c:1843

no, this looks like a bug in Josh's code.  Josh?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available