closing invoice tab crashes app
Christian Stimming
stimming at tuhh.de
Fri Dec 12 14:19:41 EST 2008
Am Freitag, 12. Dezember 2008 19:55 schrieb Andrew Sackville-West:
> > > 1. open an invoice anyway you like
> > > 2. close the invoice with the "x" in the corner of the tab
> > > 3. watch it die with a double free or some such.
> >
> > I haven't observed this myself, but this recent commit changed something
> > related to freeing memory http://svn.gnucash.org/trac/changeset/17747
>
> and yeah, I know about the backtrace... just didn't think of it.
>
> here is the gdb bt:
Unfortunately gnucash was compiled without debug symbols; however, I'm not
sure whether ./configure --enable-debug would be sufficient to get a gnucash
with debug symbols. The console output at least tells it has something to do
with the g_hash_table, whose behaviour was changed in r17747. Could you try
to compile r17746 (i.e. without that change) and see whether the problem goes
away? If yes, that commit will be reverted for now and will need further
testing.
Regards,
Christian
>
> but what may be more helpful is the console output I get:
>
>
> andrew at basement:~$ *** glibc detected *** gnucash: double free or
> corruption (fasttop): 0x0a1d5778 ***
> ======= Backtrace: =========
> /lib/i686/cmov/libc.so.6[0xb71fa6b4]
> /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb71fc8b6]
> /usr/lib/libglib-2.0.so.0(g_free+0x36)[0xb75f9426]
> /usr/lib/libglib-2.0.so.0[0xb75e313c]
> /usr/lib/libglib-2.0.so.0[0xb75e31b5]
> /usr/lib/libglib-2.0.so.0(g_hash_table_remove_all+0x3a)[0xb75e3e9a]
> /usr/lib/libglib-2.0.so.0(g_hash_table_destroy+0x2d)[0xb75e3fed]
> /opt/gnucash//lib/gnucash/libgncmod-register-gnome.so[0xb6b8273f]
More information about the gnucash-devel
mailing list