Skip to content
Source
Sign inSign up
pingdotgg/t3code

Linux ARM64 AppImage: zygote crashes with SIGBUS after orderly shutdown #24315

Closedclaytonfaria(GitHub profile, opens in a new tab) opened this issue 2 comments

Summary

The Linux ARM64 AppImage can produce a Chromium zygote SIGBUS (BUS_ADRERR) crash during otherwise orderly application shutdown.

How this differs from #14259

The original report in #14259 describes the main process disappearing unexpectedly without shutdown lifecycle spans.

In this case, the normal shutdown lifecycle (windowAllClosed, beforeQuit, and requestShutdownAndWait) completed successfully before the zygote crash was recorded. AppImage mount deactivation was also recorded around shutdown. A later comment on #14259 describes a related window-close/zygote symptom, so please consolidate these reports if they share a cause.

Reproduction / expected behavior

Launch the Linux ARM64 AppImage on Omarchy / Hyprland, use it, and close the app. A zygote crash may be reported after the normal shutdown path completes. The behavior has occurred more than once, but a deterministic reproduction sequence is not established.

Expected: closing the app also shuts down its helper processes without core dumps.

Investigation limits

  • Installed AppImage metadata identifies T3 Code 0.1.2 (resources/app.asar → package.json, corroborated by the bundled desktop entry). The bundled executable contains version strings Electron/44.9.3 and Chrome/152.0.7977.167. These were inspected from the installed artifact after the incident; the artifact modification time predates the crash, but no build ID comparison against the core was performed.
  • No matching fix was found in searches of existing issues and pull requests.
  • A remaining helper outliving the AppImage backing mount is a suspected mechanism, not a confirmed root cause. The observed logging does not establish exact causal ordering between the fault and mount teardown.
  • This report does not establish an Omarchy-specific, GPU, or updater fault.
  • No workaround has been tested.

Could the normal quit path ensure remaining Chromium helpers have exited before the AppImage backing filesystem disappears?

Detailed local telemetry, raw logs, filesystem paths, process identifiers, memory addresses, and core dumps are intentionally omitted from this public report.

  1. Sanitized diagnostic evidence

    Adding the relevant shutdown and coredump excerpts. Identifying values and absolute timestamps have been removed. Relative timing is retained to show the event sequence. No raw core or full trace is attached.

    Shutdown timeline

    Times are relative to the start of the windowAllClosed span, rounded to milliseconds. Trace spans are summarized from the local structured logs; journal messages below are normalized/redacted excerpts.

    Relative timeEventResult
    +0 to +4 msdesktop.lifecycle.windowAllClosedSuccess
    +0 to +249 msdesktop.lifecycle.beforeQuitSuccess; includes before-quit received
    +2 to +249 msdesktop.lifecycle.requestShutdownAndWaitSuccess
    +41 to +249 msdesktop.app.stopAllPoolInstancesSuccess
    +250 msdesktop.app span endsSuccess
    +578 msMain application scope resource accounting loggedScope ended
    +585 mssystemd-coredump reports zygote terminated with SIGBUSCrash
    +586 msAppImage mount deactivatedSuccessful deactivation
    +784 msCore dump recordedRecorded
    [+585 ms] systemd-coredump: Process <PID> (t3code) terminated abnormally
              with signal 7/BUS, processing...
    [+586 ms] systemd: <APPIMAGE_MOUNT>.mount: Deactivated successfully.
    [+784 ms] systemd-coredump: Process <PID> (t3code) dumped core.

    Importantly, the termination message was logged just before mount deactivation. These logs establish close timing, not proof that unmounting preceded or caused the fault.

    Coredump / debugger findings

    Process:      t3code
    Signal:       7 (BUS)
    Signal code:  BUS_ADRERR
    Command line: <APPIMAGE_MOUNT>/t3code --type=zygote
    Architecture: AARCH64
    Threads:      1
    
    GDB findings:
    - Fault address equals the program counter.
    - The address lies inside the AppImage t3code executable mapping.
    - Function names are unresolved.
    - Unwinding stopped at the fault frame.
    - The original mounted executable was unavailable at inspection time.

    A previous occurrence had the same zygote command, SIGBUS/BUS_ADRERR, corresponding executable fault offset, and same-second AppImage mount deactivation. This suggests recurrence of the helper shutdown pattern; it does not establish a deterministic reproducer.

    No OOM kill or relevant kernel I/O error was found in the inspected journal. Post-event memory measurements cannot exclude memory pressure at the time of the fault. The installed AppImage's modification time predated the event; an update occurring at shutdown was not established.

    The key distinction from the original #14259 report remains that the normal shutdown lifecycle completed successfully here. A helper outliving its AppImage backing mount is still a hypothesis, not a confirmed root cause. The precise app/Electron version remains unknown.

  2. Version clarification

    The earlier “unknown version” statement was an investigation gap. Read-only inspection of the installed AppImage now gives:

    • T3 Code 0.1.2 from the embedded application's package.json, corroborated by X-AppImage-Version in the bundled desktop entry.
    • Electron 44.9.3 from the bundled executable's Electron/44.9.3 string.
    • Chrome 152.0.7977.167 from the bundled executable's corresponding version string.

    The installed artifact's modification time predates the crash. These versions identify the inspected installed artifact; a build ID comparison against the crashed executable was not performed. This supersedes the unknown-version statement in the previous diagnostic comment. The issue body has also been corrected.

    Only product version metadata is included here; identifying local details remain omitted.

  3. tanstack-source added labelsbug

  4. juliusmarminge closed this

Sign in to join this conversation.