GNOME Bugzilla – Bug 458404
editing account name causes bus error
Last modified: 2018-06-29 21:43:35 UTC
If you edit an account name, causing its sort order to change, gnucash crashes with a bus error. Start with a new set of accounts. add a second credit card (Credit Card2) Go back and edit the original card (Credit Card) to be 'zCredit Card' When you click OK to complete the Account editing -> crash top of the stack trace: Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004 Thread 0 Crashed: 0 libgtk-x11-2.0.0.dylib 0x0237895c gtk_tree_model_sort_row_changed + 780 1 libgobject-2.0.0.dylib 0x029fa31c g_closure_invoke + 400 2 libgobject-2.0.0.dylib 0x02a0b09c signal_emit_unlocked_R + 2676
I cannot reproduce with svn r16253M on (gentoo) linux, with --nofile, New File Hierarchy Druid/Common Accounts. :(
Rats. Does this mean it could be a mac gtk+ bug? If I run r16295 instead of 2.2.0, it still happens for me. With logging on, I get * 23:13:10 CRIT <gnc.engine> gnc_account_is_root: assertion `GNC_IS_ACCOUNT(account)' failed * 23:13:17 CRIT <gnc.engine> gnc_account_n_children: assertion `GNC_IS_ACCOUNT(account)' failed * 23:13:21 CRIT <gnc.engine> gnc_account_is_root: assertion `GNC_IS_ACCOUNT(account)' failed just before the bus error. ppc Mac, system 10.4.10 (I'll be able to test an intel mac in a day or so)
Hmmm. What version of gtk?
gtk+ 2.6.10 and with the same versions, intel macs also exhibit the problem :(
The problem does not exist with gtk+ 2.10.14
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=458404. Please update any external references or bookmarks.