I tried to work around this by building libgc as a static library and linking 
it to guile with -hidden-l that’s supposed to keep its symbols private. Dyld 
found it anyway:
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                     0x19829d700 __pthread_kill + 8
1   libsystem_pthread.dylib                    0x1982d5f70 pthread_kill + 288
2   libsystem_c.dylib                          0x1981e2908 abort + 128
3   libguile-2.2.1.dylib                       0x1031c7584 
GC_add_roots_inner.cold.1 + 36 (mark_rts.c:253)
4   libguile-2.2.1.dylib                       0x1031bd040 GC_add_roots_inner + 
308 (mark_rts.c:253)
5   libguile-2.2.1.dylib                       0x1031b6018 GC_dyld_image_add + 
336 (dyn_load.c:1344)
6   dyld                                       0x197f62fe0 invocation function 
for block in dyld4::RuntimeState::notifyLoad(std::__1::span<dyld4::Loader 
const*, 18446744073709551615ul> const&) + 248

I’ve filed feedback with Apple. I can’t think of another way to work around it; 
I haven’t found a way to disable WritingTools inserting itself in the NSView.

Regards,
John Ralls


> On Oct 30, 2024, at 20:46, John Ralls <jra...@ceridwen.us> wrote:
> 
> Save yourself the trouble of diving in to the rabbit hole and notice that the 
> stack trace features WritingToolsUILibraryCore in Frame 11.  It looks like 
> it’s trying to insert Writing Tools stuff into a menu. The actual crash seems 
> to be in libgc, a dependency of Guile.
> 
> Homebrew just wraps our dmg. You can prove this to yourself by running 
> codesign on Gnucash.app to see who signed it.
> 
> Regards,
> John Ralls
> 
>> On Oct 30, 2024, at 07:45, Seth Hamstead <s...@hamstead.net> wrote:
>> 
>> Thank you for confirming.  That is the same crash report I’m getting (which 
>> I now realized I should have included).  I also tried installing it via brew 
>> and got the same results.  Spun up a virtual machine with macOS15.1 on the 
>> same system and it launched fine.  I see a possible rabbit hole in my future.
>> 
>> Seth Hamstead
>> s...@hamstead.net
>> 
>>> On Oct 30, 2024, at 09:32, David Reiser <dbrei...@icloud.com> wrote:
>>> 
>>> 
>>> 
>>>> On Oct 28, 2024, at 17:55, Seth Hamstead <s...@hamstead.net> wrote:
>>>> 
>>>> Is anyone having issues using GnuCash 5.9 on Apple Silicon (M1) running 
>>>> macOS15.2 Developer Beta 1?  The app crashes as soon as it is launched and 
>>>> I have tried scrubbing the system of all GnuCash files and reinstalling.  
>>>> I mistakenly moved the GnuCash files while updating the machine which is 
>>>> why I’m wondering if this is a beta OS issue or possibly a file issue.  TIA
>>> 
>>> Crashes on launch for me too. No problems on 15.1 using Gnucash 5.9 arm-64 
>>> version
>>> 
>>> Process:               Gnucash [1602]
>>> Path:                  /Applications/Gnucash.app/Contents/MacOS/Gnucash
>>> Identifier:            org.gnucash.Gnucash
>>> Version:               5.9-1 (5.9-1)
>>> Code Type:             ARM-64 (Native)
>>> Parent Process:        launchd [1]
>>> User ID:               502
>>> 
>>> Date/Time:             2024-10-30 10:24:36.3313 -0400
>>> OS Version:            macOS 15.2 (24C5057p)
>>> Report Version:        12
>>> Anonymous UUID:        1470AA79-A889-1423-C4C6-47CEF5F004B4
>>> 
>>> 
>>> Time Awake Since Boot: 280 seconds
>>> 
>>> System Integrity Protection: enabled
>>> 
>>> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>>> 
>>> Exception Type:        EXC_CRASH (SIGABRT)
>>> Exception Codes:       0x0000000000000000, 0x0000000000000000
>>> 
>>> Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
>>> Terminating Process:   Gnucash [1602]
>>> 
>>> Application Specific Information:
>>> abort() called
>>> 
>>> 
>>> Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
>>> 0   libsystem_kernel.dylib                 0x192cb1700 __pthread_kill + 8
>>> 1   libsystem_pthread.dylib                0x192ce9f70 pthread_kill + 288
>>> 2   libsystem_c.dylib                      0x192bf6908 abort + 128
>>> 3   libgc.1.dylib                          0x102a4ff6c 
>>> GC_add_roots_inner.cold.1 + 32
>>> 4   libgc.1.dylib                          0x102a3fc80 GC_add_roots_inner + 
>>> 312
>>> 5   libgc.1.dylib                          0x102a4ee94 GC_dyld_image_add + 
>>> 336
>>> 6   dyld                                   0x192976fe0 invocation function 
>>> for block in dyld4::RuntimeState::notifyLoad(std::__1::span<dyld4::Loader 
>>> const*, 18446744073709551615ul> const&) + 248
>>> 7   dyld                                   0x192970454 
>>> dyld4::RuntimeLocks::withNotifiersReadLock(void () block_pointer) + 100
>>> 8   dyld                                   0x192976810 
>>> dyld4::RuntimeState::notifyLoad(std::__1::span<dyld4::Loader const*, 
>>> 18446744073709551615ul> const&) + 352
>>> 9   dyld                                   0x192998148 
>>> dyld4::APIs::dlopen_from(char const*, int, void*) + 2412
>>> 10  SoftLinking                            0x1a097ebd8 _sl_dlopen + 100
>>> 11  AppKit                                 0x19715862c 
>>> WritingToolsUILibraryCore + 156
>>> 12  AppKit                                 0x19714dc78 
>>> +[NSTextView(NSTextView_WritingTools) _supportsWritingTools] + 28
>>> 13  AppKit                                 0x19691e2ec 
>>> -[NSApplication(NSMenuUpdating) _addTextInputMenuItems:] + 124
>>> 14  AppKit                                 0x19691e214 
>>> -[NSApplication(NSMenuUpdating) _customizeMainMenu] + 36
>>> 15  AppKit                                 0x19691cf00 -[NSApplication 
>>> finishLaunching] + 588
>>> 16  libgnc-gnome-utils.dylib               0x103045a94 
>>> gnc_main_window_show_all_windows + 100
>>> 17  Gnucash                                0x1027441ac 
>>> scm_run_gnucash(void*, int, char**) + 1560
>>> 
>> 
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to