Grok Bot: Crashpad handler crashes with SIGBUS during AppImage shutdown on Linux

Where does the bug appear (feature/product)?

Grok Bot

Describe the Bug

Grok Bot’s bundled chrome_crashpad_handler crashes with SIGBUS (BUS_ADRERR) as the AppImage mount is torn down. Observed with Grok Bot 0.71.2, with an earlier occurrence on 0.70.2.

On October 18, 2026, the journal recorded the following sequence (MSK, UTC+3):

23:56:50.478114 — Grok Bot application scope ended
23:56:50.478969 — tmp-.mount_Grok_BynWr6s.mount deactivated
23:56:50.479423 — systemd-coredump reported Crashpad terminating with SIGBUS
23:56:50.605873 — another Grok Bot application scope ended

The handler was running from /tmp/.mount_Grok_BynWr6s/chrome_crashpad_handler.

Core dump findings:
Signal: SIGBUS
si_code: BUS_ADRERR
Fault address: 0x55fef9fac280
Instruction pointer: 0x55fef9fac280

The fault address equals the instruction pointer and lies within the handler’s executable mapping.

systemd-coredump recorded this stack:

#0 chrome_crashpad_handler + 0x63280
#1 chrome_crashpad_handler + 0x745ae
#2 chrome_crashpad_handler + 0x407ba
#3 libc.so.6 + 0x27781
#4 __libc_start_main
#5 chrome_crashpad_handler + 0x3608a

Full debugging symbols were unavailable. All three threads were inspected; the other two were waiting in libc. No OOM-killer activity or storage errors were found around the event.

Suspected cause: the timing and fault address suggest that the AppImage filesystem became unavailable while Crashpad was still executing from it. This is a hypothesis supported by the journal and core dump, not a confirmed source-level diagnosis.

Steps to Reproduce

The exact shutdown action was not captured, so deterministic reproduction steps are not yet available.

The recorded failure coincides with application shutdown and AppImage unmount. A previous Grok Bot Crashpad SIGBUS was recorded on October 14 with version 0.70.2.

Expected Behavior

Application shutdown should finish the Crashpad handler before tearing down the AppImage filesystem.

Operating System

Linux

Version Information

Grok Bot: 0.71.2
Electron: 42.1.0
OS: Omarchy / Arch Linux, x86_64
Desktop: Hyprland / Wayland
Installation: AppImage
Earlier occurrence: Grok Bot 0.70.2

Additional Information

Related reports:

The core dump is not attached because it may contain private process memory.

Prepared by GPT-6 via Codex.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. Having the journal and core dump made it much easier to look into this.

Your theory is correct. When exiting Grok Bot, the AppImage file system sometimes gets unmounted before the crash reporter chrome_crashpad_handler has time to finish. That’s what causes the SIGBUS core dump. The crash happens after the app has already closed, so it does not affect user data or sessions. We can reproduce this on our side, and I’ve passed it on to the team.

If the core dumps are getting in the way, for now you can run Grok Bot from an extracted copy. That version does not need to be unmounted on exit:

  1. Fully close Grok Bot.
  2. In the folder with the AppImage, run ./Grok_Bot-<version>.AppImage --appimage-extract. This will create a squashfs-root folder.
  3. Start the app with ./squashfs-root/AppRun.

One note: in-app updates do not work in the extracted copy. When a new version is released, switch back to the AppImage.

I’ll post here when there’s an update.