GNOME Bugzilla – Bug 434735
crash with account tree filter ShowZeroTotal=false
Last modified: 2018-06-29 21:34:59 UTC
On my historical datafile, with both 2.0.5 and 2.1.1, I see a crash when using ShowZeroTotal=false. I don't see this on other datafiles. I must have been able to toggle the state and save my file, though if I manually remove the setting from ~/.gnucash/books/<relevant-statefile> and toggle it in the UI, I get an immediate crash. I can't repro on an exported account tree. I can't repro on other datafiles re-saved in "incompatible" 2.0 format. I'll have to come up with a datafile sanitizer, I guess... :)
Oh, yeah. There is a relevant debug output: [In the UI, I flip the "show zero accounts" toggle to false:] * 19:31:01 CRIT <Gtk> gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed * 19:31:01 CRIT <gnc.gui> gnc_tree_model_account_get_account: assertion `iter->stamp == model->stamp' failed * 19:31:01 CRIT <gnc.gui> gnc_tree_model_account_get_value: assertion `iter->stamp == model->stamp' failed * 19:31:01 WARN <GLib-GObject> gtype.c:3339: type id `0' is invalid * 19:31:01 WARN <GLib-GObject> can't peek value table for type `<invalid>' which is not currently referenced Program received signal SIGSEGV, Segmentation fault.
+ Trace 131552
Thread NaN (LWP 26444)
Aaarg - the tree_mode_iter bites you... The infamous tree_mode_iter bug in gtk has been fixed in gtk-2.10.10 and any later version. Do you have an version older than that?
Wow, indeed it is. Upgrading to gtk+-2.10.11 does resolve this.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=434735. Please update any external references or bookmarks.