General Ledger Seg Fault
Geert Janssens
janssens-geert at telenet.be
Fri Oct 5 05:43:47 EDT 2012
On 05-10-12 11:10, Alex Aycinena wrote:
> Geert,
>
> Your change at r22289 is causing the General Ledger to seg fault:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7baaf65 in gnc_split_reg_change_style (gsr=0x0, style=
> REG_STYLE_JOURNAL)
> at /home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome/gnc-split-reg.c:1520
> 1520 SplitRegister *reg = gnc_ledger_display_get_split_register
> (gsr->ledger);
>
> You can see that a null pointer is passed to
> gnc_split_reg_change_style. This seems to be because in
> gnc-plugin-page-register2.c from line 970 on, you skip the code where
> priv->gsr is set, so later on it fails.
>
> I created the fault by opening a test file and opening a general
> ledger with tools->general ledger.
Yes, this happens on my system as well. The code for the new general
ledger is written by Robert Fewell, the progress is tracked in bug
673193 [1]. I reported some other crashes due to this code, but I wasn't
aware this also happened outside the new register. I'll add you findings
to the bug report. Thanks for bringing it up.
> Also, the splash screen seems to be staying on in recent versions of
> gnucash on start-up rather than closing. I'm not sure when this began
> but I think you may have been making changes that may have affected
> this area, but perhaps not. Have you noticed this behaviour as well?
No, on my system the splash screen always disappears when the main
window appears. That is, the main window appears on top of the splash
screen. And when I hide the main window, the splash screen is gone. I
don't know if this is because it picked up the mouseclick to hide the
main window or whether it really closed normally by itself.
Geert
[1] Possible Register migration to TreeView
(https://bugzilla.gnome.org/show_bug.cgi?id=673193)
More information about the gnucash-devel
mailing list