G2 crash/Split info

Phil Longstaff plongstaff at newearth.org
Sun Feb 12 05:23:02 EST 2006


Small update:

On February 11, 2006 01:05 pm, Phil Longstaff wrote:
> I'm currently running SuSE 9.3 and have g2 built from source.  I have a
> very reproducible crash which I'm trying to find the cause of (there are a
> number of Bugzilla bugs which this is a duplicate of - 108347
> http://bugzilla.gnome.org/show_bug.cgi?id=108347, 141287 (dup of 108347)).
> The crash is in XaccTransGetDate() with a transaction address of 0x01 (or
> other small non-zero values).  Note that by doing the same procedure, I've
> also seen the stack in 125480
> (http://bugzilla.gnome.org/show_bug.cgi?id=125480).
>
> To reproduce, create a new file with a bank account and income account (I
> don't know if the types matter).  Open bank account and create about 20
> deposit transactions (I just created one, copied it, and pasted to get
> about 20 transactions).  Set to transaction journal display.  Set the
> cursor on the first transaction.  Quickly press
> Tab-backspace-tab-backspace-... to remove all of the contents of the
> splits.

I tried again slowly deleting all the splits.  It still crashed.

>
> I set a breakpoint (using kdbg) in gnc_split_register_load() in the for
> loop which loops through the splits.  The breakpoint is hit when the
> register is first being loaded, before I start the tab-bs-tab-bs...  The
> splits seem to show garbage, yet the register displays correctly. 
> Everything was compiled with -g -O0.  Is this a known issue with splits?

I tried again with gdb.  Same garbage.

>
> My guess is that there needs to be better interlocking between updating
> splits and displaying them.
>
> Phil
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list