After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 458404 - editing account name causes bus error
editing account name causes bus error
Status: VERIFIED OBSOLETE
Product: GnuCash
Classification: Other
Component: General
2.2.x
Other Mac OS
: Normal critical
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-07-19 20:08 UTC by David Reiser
Modified: 2018-06-29 21:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Reiser 2007-07-19 20:08:49 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
Comment 1 Josh Sled 2007-07-19 21:48:48 UTC
I cannot reproduce with svn r16253M on (gentoo) linux, with --nofile, New File Hierarchy Druid/Common Accounts. :(
Comment 2 David Reiser 2007-07-20 03:18:12 UTC
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)
Comment 3 Josh Sled 2007-07-20 12:36:47 UTC
Hmmm.  What version of gtk?
Comment 4 David Reiser 2007-07-20 14:44:48 UTC
gtk+ 2.6.10

and with the same versions, intel macs also exhibit the problem :(
Comment 5 David Reiser 2007-07-25 03:22:52 UTC
The problem does not exist with gtk+ 2.10.14
Comment 6 John Ralls 2018-06-29 21:43:35 UTC
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.