closing invoice tab crashes app
Andrew Sackville-West
andrew at swclan.homelinux.org
Mon Dec 15 14:25:41 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 rolled back to 17745 and it does *not* crash there.
Also, I stepped through some of the code and from what I can tell, the
crash was actually happening in glib code. Specifically, I think it is
happening in the g_object stuff. in gtkobject.c is a call to
g_object_run_dispose and the crasher happens shortly thereafter.
Is this possibly a bug in glib (or whatever, not gtk, library
g_object_run_dispose lives in) not checking for NULL before free()?
I don't feel like building a debug version of glib at the moment to
track it down...
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/20081215/c77ef020/attachment.bin
More information about the gnucash-devel
mailing list