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 505975 - Bus error SX SLR running on account opening
Bus error SX SLR running on account opening
Status: RESOLVED DUPLICATE of bug 505972
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.2.x
Other Mac OS
: Normal critical
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks:
 
 
Reported: 2007-12-27 22:39 UTC by David Reiser
Modified: 2018-06-29 21:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Reiser 2007-12-27 22:39:26 UTC
Open an accounts file that has SX's pending (that would trigger the since-last-run dialog).

Gnucash crashes. (Every time, for Intel Macs running system 10.5  (no confirmation yet for system 10.4) if 2.2.2 was built from the distribution tarball. It does not crash for installs from svn)

the last bit of output from --logto stderr --debug

* 14:21:25  INFO <gnc.account> [xaccAccountRecomputeBalance] acct=Yard Chemicals starting baln=0/1
* 14:21:25  INFO <gnc.account> [xaccAccountRecomputeBalance] acct=Yard services starting baln=0/1
* 14:21:25  INFO <gnc.account> [xaccAccountRecomputeBalance] acct=YardMisc starting baln=0/1
* 14:21:25  INFO <gnc.account> [xaccAccountRecomputeBalance] acct=Opening Balances starting baln=0/1
* 14:21:25  INFO <qof.engine> [qof_event_generate_internal] id=3 hi=0x517f900 han=0x17a6a0 data=0x0
* 14:21:25  INFO <qof.engine> [qof_event_generate_internal] id=2 hi=0x1fc7970 han=0x3b5da0 data=0x0
* 14:21:25  INFO <qof.engine> [qof_event_generate_internal] id=1 hi=0x1f74770 han=0x2ce770 data=0x0
* 14:21:25  INFO <gnc.account> [xaccAccountCommitEdit] freeing splits for account 0x50e6118 ()
* 14:21:25  INFO <qof.object> [qof_object_foreach] type=gncInvoice
* 14:21:25  INFO <qof.query> [qof_query_run_internal] matching objects=0x0 count=0
* 14:21:25 MESSG <gnc.app-util.sx> num_instances: 18
* 14:21:25 MESSG <gnc.app-util.sx> num_to_create: 8
* 14:21:25 MESSG <gnc.app-util.sx> num_auto_create_instances: 5
* 14:21:25 MESSG <gnc.app-util.sx> num_auto_create_no_notify_instances: 5
* 14:21:25 MESSG <gnc.app-util.sx> need dialog? true
* 14:21:25  INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback trans=0x65c7a28
Bus error

Apple's default backtrace on crash:

Date/Time:       2007-12-27 14:21:25.763 -0500
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libgncmod-app-utils.dylib     	0x003bca72 create_each_transaction_helper + 50
1   libgncmod-engine.dylib        	0x0009fada xaccAccountStagedTransactionTraversal + 90
2   libgncmod-engine.dylib        	0x0009fc55 xaccAccountForEachTransaction + 69
3   libgncmod-app-utils.dylib     	0x003bb7ee gnc_sx_instance_model_effect_change + 590
4   libgnc-gnome.0.dylib          	0x0017f21d gnc_sx_sxsincelast_book_opened + 141
5   libgncmod-engine.dylib        	0x000d0481 call_c_hook + 65
6   libglib-2.0.0.dylib           	0x01b1590e g_hook_list_marshal + 229
7   libgncmod-engine.dylib        	0x000d0608 gnc_hook_run + 184
8   libgncmod-gnome-utils.dylib   	0x002bf704 gnc_book_opened + 36
9   libgncmod-gnome-utils.dylib   	0x002c04dd gnc_post_file_open + 733
10  gnucash-bin                   	0x000039ff inner_main + 303
11  libguile.12.dylib             	0x01950bdf scm_boot_guile + 118 (init.c:617)
12  gnucash-bin                   	0x000042d2 main + 1890
13  gnucash-bin                   	0x00003546 start + 54

Thread 1:
0   libSystem.B.dylib             	0x94cb2b42 read$UNIX2003 + 10
1   libglib-2.0.0.dylib           	0x01b46231 g_thread_create_proxy + 373
2   libSystem.B.dylib             	0x94cc0075 _pthread_start + 321
3   libSystem.B.dylib             	0x94cbff32 thread_start + 34
Comment 1 David Reiser 2007-12-29 22:31:51 UTC
r16672 in branches/2.2 triggers this problem
Comment 2 Josh Sled 2007-12-29 22:38:46 UTC

*** This bug has been marked as a duplicate of 505972 ***
Comment 3 John Ralls 2018-06-29 21:57:31 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=505975. Please update any external references or bookmarks.