Segfault

Josh Sled jsled@asynchronous.org
Mon, 29 Jul 2002 12:58:17 -0700


On Mon, Jul 29, 2002 at 11:23:02AM -0400, Derek Atkins wrote:

| > 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?

Yeah ... hmm... there's no call for that.  It's pretty clear that the
hash-table elts are cleanly created, and freed only once...

Is it reproducible? 

...jsled