G2 crash/Split info
Phil Longstaff
plongstaff at newearth.org
Sat Feb 11 13:05:08 EST 2006
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 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?
My guess is that there needs to be better interlocking between updating splits
and displaying them.
Phil
More information about the gnucash-devel
mailing list