Go import erroring and ultimately crashing Fire

arm

1 Like

Great. im uploading Fire.zip to your Personal Downloads, ETA < 10 minutes.

You will need to run

sudo xattr -r -d com.apple.quarantine ./Fire.zip

on the zip before extracting it, and, after extracting run

codesign -f -s - ./Fire.app

on the app in order to be able to run it (Apple requires all binaries on arm to be code signed; and as this is a local debug build, it’s signed for my machine; this one re-signs it for your machine).

If running from Finder still fails after these, try running it from terminal with

./Fire.app/Contents/MacOS/Fire

This also has the added benefit that you see any and all diagnostic/debug logging, in the Terminal window, including, maybe, something useful happening around the crash…

Attached the OS’s crash report again, not useful again, but below also terminal output.

Downloads % ./Fire.app/Contents/MacOS/Fire
2025-02-14 13:51:12.798 Fire[3222:20142893] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-14 13:51:12.798 Fire[3222:20142893] +[IMKInputSession subclass]: chose IMKInputSession_Modern
2025-02-14 13:51:19.225 Fire[3222:20142893] The class 'NSOpenPanel' overrides the method identifier.  This method is implemented by class 'NSWindow'
2025-02-14 13:51:26.359 Fire[3222:20142893] Could not find image named 'Toolbar-CodeBot'.
zsh: illegal hardware instruction  ./Fire.app/Contents/MacOS/Fire

fire_crash.txt (129.4 KB)

Unfortunately indeed this does not help at all :(. Can you try the following:

Go to terminal and run

lldb ./Fire.app/Contents/MacOS/Fire

press “R<enter>” when its ready and shows the (lldb) prompt to run

then use Fire as normal until the cash happens. Whats the output in lldb? run bt all and give me that output too.


Just to be clear I understand the issue correctly still: you have NO issues with Fire with another project(s), but the Go import project(s?), exactly as you sent it to me, crashes it every single time. Correct?

Yep, everything else works, just when opening a go imports project it crashes.

Below is what lldb gave me:

Process 5107 launched: '/Users/jss/Downloads/Fire.app/Contents/MacOS/Fire' (arm64)
2025-02-15 15:06:06.007315-0600 Fire[5107:20233986] [logging-persist] cannot open file at line 49441 of [1b37c146ee]
2025-02-15 15:06:06.007325-0600 Fire[5107:20233986] [logging-persist] os_unix.c:49441: (2) open(/private/var/db/DetachedSignatures) - No such file or directory
2025-02-15 15:06:06.009894-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.009915-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.009927-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.010661-0600 Fire[5107:20233672] Could not find image named 'Toolbar-CodeBot'.
2025-02-15 15:06:06.014427-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.014444-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.014458-0600 Fire[5107:20233672] [NSToolbarItem] NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
2025-02-15 15:06:06.179671-0600 Fire[5107:20233672] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-15 15:06:21.376649-0600 Fire[5107:20233672] [API] Do not access private instance variables of FBLWebView via key-value coding. This will raise an exception when linking against newer SDKs.
2025-02-15 15:06:21.455204-0600 Fire[5107:20233672] [Process] GPU process (0x11b000e30) took 15.372555 seconds to launch
2025-02-15 15:06:21.483110-0600 Fire[5107:20233990] [resources] Unable to create bundle at URL ((null)): normalized URL null
2025-02-15 15:06:21.749153-0600 Fire[5107:20233672] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Process 5107 stopped
* thread #2, name = 'tid_1b07', stop reason = signal SIGBUS
    frame #0: 0x000000010299b970
->  0x10299b970: stp    x29, x30, [sp, #-0x60]!
    0x10299b974: mov    x29, sp
    0x10299b978: stp    x25, x26, [x29, #0x10]
    0x10299b97c: mov    x26, x0
Target 2: (Fire) stopped.

Attached is the Go Imports project/solution I’ve been using now.
GoStomp.zip (4.1 MB)

Yay, I got tis one to crash, but only after clicking around for a bit. Going to debug now…

Logged as bugs://E27097.

bugs://E27097 was closed as fixed.