GNOME Bugzilla – Bug 793155
Gnucash 2.7.4 crashes on launch MacOS 10.13.4 PB1
Last modified: 2018-06-30 00:04:08 UTC
MacOS 10.13.4 PB1, gnucash 2.7.4-1 crashes while launching. Subsequent attempts to relaunch shows alert that the app crashed while trying to reopen windows. Data file had been opened in 2.7.3. Process: Gnucash [10486] Path: /Applications/Gnucash.app/Contents/MacOS/Gnucash Identifier: org.gnucash.Gnucash Version: 2.7.4 (2.7.4) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Gnucash [10486] User ID: 501 Date/Time: 2018-02-03 21:02:21.319 -0500 OS Version: Mac OS X 10.13.4 (17E139j) Report Version: 12 Anonymous UUID: 8992155B-CB75-91CC-A5F1-B2FBA1B25D7A Sleep/Wake UUID: CC7494BE-766C-45D1-8A1E-E1D6196E7D77 Time Awake Since Boot: 290000 seconds Time Since Wake: 260000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff5ea40afe __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff5ebff150 pthread_kill + 333 2 libsystem_c.dylib 0x00007fff5e99c1ae abort + 127 3 libguile-2.0.22.dylib 0x00000001004a0488 pre_init_throw + 376 4 libguile-2.0.22.dylib 0x00000001004a6610 vm_regular_engine + 7488 5 libguile-2.0.22.dylib 0x00000001004a4010 scm_call_with_vm + 336 6 libguile-2.0.22.dylib 0x0000000100418bca scm_error_scm + 42 7 libguile-2.0.22.dylib 0x0000000100418b96 scm_error + 86 8 libguile-2.0.22.dylib 0x0000000100419098 scm_misc_error + 40 9 libguile-2.0.22.dylib 0x00000001004426a2 scm_primitive_load_path + 770 10 libguile-2.0.22.dylib 0x000000010043a54c scm_i_init_guile + 988 11 libguile-2.0.22.dylib 0x000000010049c5fa scm_i_init_thread_for_guile + 122 12 libguile-2.0.22.dylib 0x000000010049f50a with_guile_and_parent + 26 13 libgc.1.dylib 0x00000001005f27fb GC_call_with_stack_base + 27 14 libguile-2.0.22.dylib 0x000000010049c64b scm_with_guile + 43 15 libguile-2.0.22.dylib 0x000000010043a107 scm_boot_guile + 39 16 org.gnucash.Gnucash 0x00000001002f1803 main + 3475 17 libdyld.dylib 0x00007fff5e8f0015 start + 1 Thread 1: 0 libsystem_kernel.dylib 0x00007fff5ea41222 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff5ebfc26f _pthread_wqthread + 1552 2 libsystem_pthread.dylib 0x00007fff5ebfbc4d start_wqthread + 13 Thread 2: 0 libsystem_pthread.dylib 0x00007fff5ebfbc40 start_wqthread + 0 1 ??? 0x6c7070612e6d6f63 0 + 7813868916180873059 Thread 3: 0 libsystem_pthread.dylib 0x00007fff5ebfbc40 start_wqthread + 0 1 ??? 0x0000000100000038 0 + 4294967352 Thread 4: 0 libsystem_kernel.dylib 0x00007fff5ea41222 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff5ebfc06a _pthread_wqthread + 1035 2 libsystem_pthread.dylib 0x00007fff5ebfbc4d start_wqthread + 13 Thread 5: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 6: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 7: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 8: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 9: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 10: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 11: 0 libsystem_kernel.dylib 0x00007fff5ea409ae __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5ebfd662 _pthread_cond_wait + 732 2 libgc.1.dylib 0x00000001005f90a7 GC_wait_marker + 23 3 libgc.1.dylib 0x00000001005ef0d5 GC_help_marker + 69 4 libgc.1.dylib 0x00000001005f7641 GC_mark_thread + 177 5 libsystem_pthread.dylib 0x00007fff5ebfc6c1 _pthread_body + 340 6 libsystem_pthread.dylib 0x00007fff5ebfc56d _pthread_start + 377 7 libsystem_pthread.dylib 0x00007fff5ebfbc5d thread_start + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fff96968340 rcx: 0x00007ffeef91c418 rdx: 0x0000000000000000 rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffeef91c450 rsp: 0x00007ffeef91c418 r8: 0x00007fff96947048 r9: 0x0000000000000040 r10: 0x0000000000000000 r11: 0x0000000000000206 r12: 0x0000000000000307 r13: 0x000000010b085000 r14: 0x0000000000000006 r15: 0x000000000000002d rip: 0x00007fff5ea40afe rfl: 0x0000000000000206 cr2: 0x00007fff96945168 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Thanks for the report. The problem is better revealed by launching GnuCash from Terminal, so that one can see from stderr that Guile is failing to find ice9/boot-9. This can be resolved by changing the GUILE_LOAD_PATH directive in GnuCash.app/Contents/Resources/etc/gnucash/environment as follows: -GUILE_LOAD_PATH={GNC_DATA}/scm;{GUILE_LIBS};{GUILE_LOAD_PATH} +GUILE_LOAD_PATH={GNC_DATA}/scm;{GNC_HOME}/share/guile/2.0;{GUILE_LIBS};{GUILE_LOAD_PATH} I'll get a replacement dmg with that change tomorrow.
OK, the replacement dmg is ready for download and environment.in is adjusted to prevent recurrence.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=793155. Please update any external references or bookmarks.