closing invoice tab crashes app
Andrew Sackville-West
andrew at swclan.homelinux.org
Fri Dec 12 14:33:13 EST 2008
On Fri, Dec 12, 2008 at 08:19:41PM +0100, Christian Stimming wrote:
> 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.
I compiled with --enable-debug. what else should I do? I think it
might be a lack of debug symbols in glib perhaps?
I could try that re-compile at 17746, but since I'm in the middle of
stepping through it, I'll fall back to that if I fail to find the
problem. Definitely something with the g_hash_table and the addition
of destructors to the table. somewhere we are manually destroying
stuff (probably with good reason) and the g_hash_table_destroy is also
destroying stuff... right?
A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20081212/bb8a7ae8/attachment.bin
More information about the gnucash-devel
mailing list