[Bug]: Linux AppImage: desktop main process exits silently (no quit lifecycle, no core), AppImage mount disappears and all children die with SIGBUS #14259
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/desktop
Steps to reproduce#
I don't have a deterministic repro yet. It happens intermittently while the app is simply running (sometimes after ~15 minutes, sometimes after days), with no user action at the time.
- Launch the Linux AppImage (
<appimage-dir>/t3code.AppImage --no-sandbox, started through a.desktopentry viagtk-launchon Hyprland/Wayland), update channellatest. - Leave it running with one or more threads/terminals open.
- At some point the whole app disappears without warning.
This happened 3 times on 2026-09-28 (17:25, 18:21, 20:34 local time, UTC-3). I also have earlier SIGBUS cores with the same signature from 2026-09-16, 09-22 and 09-23.
Expected behavior#
The app keeps running. If the main process has to exit, it goes through the normal shutdown path (windowAllClosed / beforeQuit / requestShutdownAndWait) and logs why.
Actual behavior#
The Electron main process disappears abruptly:
desktop.trace.ndjsonshows no lifecycle spans (windowAllClosed,beforeQuit,requestShutdownAndWait) for these exits. When I close the window normally, those spans do show up (e.g. 2026-09-28 17:39:04 and 2026-09-29 09:27:31).- There is no core dump for the main process (systemd-coredump is active and catches the children), and there is no minidump in
~/.config/t3code/Crashpad(onlyclient_id). - Within ~1s the AppImage FUSE mount (
/tmp/.mount_t3codeXXXXXX) is torn down, and every remaining child (renderer, GPU process, network utility, and theapps/server/dist/bin.mjsbackend) dies with SIGBUS (BUS_ADRERR) because its mapped files are gone.
So the SIGBUS cores are a symptom. The actual event is the main process exiting without going through the shutdown path. Any running agent sessions and terminals are killed with it.
Timing relative to the update poller. The poller runs desktop.updates.checkForUpdates every 4 minutes, and all three exits land near a poll. Only one is a clear match:
| Exit (mount gone) | Nearest update-check activity | Relationship |
|---|---|---|
| 18:21:10.27 | handleCheckingForUpdate at 18:21:09.585; parent checkForUpdates span never ended | exit 0.7s into an update check |
| 20:34:01.57 | previous check 20:30:00.962 → 20:30:01.680; next one due ≈20:34:01.68 by the 4-min cadence, no span logged | exit ~0.1s before the scheduled poll |
| 17:25:09.65 | checkForUpdates 17:25:04.179 → 17:25:04.986, Success / handleUpdateNotAvailable | exit ~4.7s after a completed check |
This could be chance, but it may point to the auto-updater poll or something on the same timer. I could not confirm a cause. Resource exhaustion is ruled out (see Environment).
Impact#
Major degradation or frequent failure
Version or commit#
0.0.42 (T3-Code-0.0.42-x86_64.AppImage, Electron 44.1.0 / Chrome 152.0.7977.65, AppImage last updated 2026-09-23, channel latest)
Environment#
Arch-based Linux (Omarchy), kernel 7.2.5, Hyprland 0.56.2 (Wayland, --ozone-platform=wayland), AppImage run with --no-sandbox via gtk-launch / uwsm. 23 GiB RAM (≈14 GiB available, swap unused), root FS at 14% used. No OOM-killer or systemd-oomd kills in the journal. T3 Code peak memory per scope was ~0.9 GB for the affected sessions.
Logs or stack traces#
# journalctl — 20:34 exit (nothing else logged in the preceding ~7 minutes except unrelated ACPI noise)
Sep 28 20:34:01.574 systemd[1]: tmp-.mount_t3codecmzR5I.mount: Deactivated successfully.
Sep 28 20:34:02 systemd-coredump: Process 503540 (t3code) terminated abnormally with signal 7/BUS # --type=renderer
Sep 28 20:34:03 systemd-coredump: Process 503605 (t3code) terminated abnormally with signal 7/BUS # apps/server/dist/bin.mjs
Sep 28 20:34:06 systemd-coredump: Process 503278 (t3code) terminated abnormally with signal 7/BUS # network.mojom.NetworkService
Sep 28 20:34:06 systemd[1400]: app-com.t3tools.T3Code-503112.scope: Consumed 1min 16s CPU time over 16min 6s wall clock time, 886.3M memory peak.
# main process 503112: no coredump entry
# journalctl — 18:21 exit
Sep 28 18:21:10.276 systemd[1]: tmp-.mount_t3codeq8iEut.mount: Deactivated successfully.
Sep 28 18:24:23 systemd-coredump: Process 14109 (t3code) terminated abnormally with signal 7/BUS # apps/server/dist/bin.mjs
Sep 28 18:29:14 systemd-coredump: Process 13881 (t3code) terminated abnormally with signal 7/BUS # network.mojom.NetworkService
# journalctl — 17:25 exit (session that had been up ~3 days)
Sep 28 17:25:09.651 systemd[1]: tmp-.mount_t3codeZ3Y2jw.mount: Deactivated successfully.
Sep 28 17:25:57 systemd-coredump: Process 26173 (t3code) terminated abnormally with signal 7/BUS # apps/server/dist/bin.mjs
Sep 28 17:26:00 systemd-coredump: Process 25844 (t3code) terminated abnormally with signal 7/BUS # network.mojom.NetworkService
Sep 28 17:38:13 systemd-coredump: Process 25838 (t3code) terminated abnormally with signal 7/BUS # --type=gpu-process
# coredumpctl info 503540 (renderer)
Signal: 7 (BUS) si_code: BUS_ADRERR
Command Line: /tmp/.mount_t3codecmzR5I/t3code --type=renderer ... --app-path=/tmp/.mount_t3codecmzR5I/resources/app.asar ...
# desktop.trace.ndjson — last non-IPC spans of the 18:09 session
18:17:08.855 -> 18:17:09.583 desktop.updates.checkForUpdates Success {reason: poll}
18:17:09.583 desktop.updates.handleUpdateNotAvailable Success
18:21:09.585 desktop.updates.handleCheckingForUpdate Success
# (no handleUpdateNotAvailable, no checkForUpdates end, no lifecycle spans — trace for this run ends here)
# desktop.trace.ndjson — lifecycle spans across all runs, for comparison
09-28 17:39:04 desktop.lifecycle.windowAllClosed / beforeQuit / requestShutdownAndWait # normal close
09-28 17:56:58 desktop.lifecycle.windowAllClosed # system shutdown
09-29 09:27:31 desktop.lifecycle.windowAllClosed / beforeQuit / requestShutdownAndWait # normal close
# runs started 09-28 18:09:08 and 20:17:59 have lifecycle.register and nothing else
The trace files are available if useful (~/.t3/userdata/logs/desktop.trace.ndjson*, server.trace.ndjson*). They're large, so I can share them privately after redacting.
Workaround#
None confirmed. Relaunching works, and thread history survives in state.sqlite. Next time I'll run the AppImage from a terminal (ELECTRON_ENABLE_LOGGING=1 ... ; echo $?) to capture the main process's stderr and exit status, and I'll add it here.
Possible directions#
- Log the main process's exit path:
process.on('exit')with the code, plusrender-process-gone/child-process-gone, and route electron-updater's logger into the trace. Right now these exits leave nothing in the trace. - Check whether the auto-updater poll (or anything on the same 4-min timer) can make the main process exit or hard-crash on Linux AppImage.
- Check why Crashpad writes no minidump for the main process in this case. That would suggest a SIGKILL or an explicit
exit/_exitrather than a native crash.
juliusmarminge added labelsbug
juliusmarminge added labelsvia-triage
Another occurrence on 0.0.45 (2026-10-11, Hyprland/Wayland, Arch/Omarchy). Same signature, but this time the orphaned children survived for ~1h45m after the main process went away, which pins the main-process exit time quite precisely.
Timeline (local time, -03):
Time Event Source 03:49:09.43 → 03:49:10.29 checkForUpdates {reason: poll}→handleUpdateNotAvailable, both spans closed withSuccessdesktop.trace.ndjson03:49:32.70 Last span in desktop.trace.ndjson: routine 3 sdesktop:get-local-environment-enabled/get-local-environment-bootstrapsIPC polling, allSuccess. Nobefore-quit/windowAllClosed/requestShutdownAndWait/ relaunch span.desktop.trace.ndjson03:49:34.60 systemd[1]: tmp-.mount_t3codelAlsSm.mount: Deactivated successfully.system journal 03:49 → 05:34 Server ( apps/server/dist/bin.mjs --bootstrap-fd 3),t3-resource-monitorand the network-service utility process keep running with the mount gone;server.trace.ndjsonkeeps writing normally (terminal.pollSubprocessActivityetc.) up to 05:34:41.8server.trace.ndjson05:34:42 Server process SIGBUS BUS_ADRERR(presumably faulting in a page not already cached from the vanished squashfs)coredumpctl 05:34:44 t3-resource-monitorSIGBUSBUS_ADRERRcoredumpctl 05:34:49 Network-service utility ( --utility-sub-type=network.mojom.NetworkService) SIGBUSBUS_ADRERRcoredumpctl Other observations
- No main-process coredump, no Crashpad minidump, no OOM kill, no suspend/resume, no update file change (
t3code.AppImageunchanged since the 0.0.45 install on 10-05).SingletonLockwas left behind in~/.config/t3code. - Re: whether another Wayland client died at the same moment: no. Hyprland has been running continuously since 10-07 17:12; no other process exited or dumped core around 03:49, and the journal (system + user) has nothing between 03:49:01 and 03:50:59 apart from the mount deactivation. Hyprland debug logging wasn't enabled, so I can't rule out a protocol error on the T3 Code client itself.
- The update poll finished ~22 s before the last main-process span, so per your 1 s flush note this one is not a death inside an open
checkForUpdates. - This launch came from the desktop entry (gtk-launch), so unfortunately no
ELECTRON_ENABLE_LOGGINGstderr / exit code for this one. My terminal-logged instance ended on 10-05 when it was updated to 0.0.45 (cleanrc 0viaquitAndInstall). I'll restart under the logging wrapper to capture the exit code on the next one.
A possibly separate point: when the main process vanishes, the server/utility children are not torn down and keep running orphaned until they touch an uncached page. It might be worth having the server exit when its bootstrap fd / parent goes away (e.g.
PR_SET_PDEATHSIGor watching the bootstrap fd), so it fails fast instead of lingering in a half-dead state.- No main-process coredump, no Crashpad minidump, no OOM kill, no suspend/resume, no update file change (
Additional Linux x86_64 AppImage evidence from Fedora/KDE, collected with Codex assistance. This shares the child SIGBUS + AppImage unmount symptom, but is not a confirmed reproduction of the original silent-exit bug:
windowAllClosedis present in this case, and the desktop was under memory pressure. Posting here to help distinguish the failure paths rather than opening a presumed duplicate.Area / impact / reproduction#
apps/desktop. The user reported applications crashing during the desktop session. One T3 Code incident is confirmed by two core dumps on 2026-10-17 at 22:46:04 CEST (20:46:04 UTC). There is no deterministic reproducer or confirmed user action immediately preceding the event. The T3 application scope had been running for approximately 41 minutes. Expected: continued operation, or a clean shutdown without crashing child processes. Actual: two T3 zygote processes terminated with SIGBUS and the AppImage mount was deactivated. Frequency and impact on persisted threads have not been established.Version / environment#
- Installed launcher targets
T3-Code-0.1.0-x86_64.AppImage; desktop metadata also says0.1.0. The file's mtime predates the incident (2026-10-17 09:49 CEST). This identifies the configured installation, not an independently recovered version/commit from the crashed executable. Electron version was not verified. - Fedora 44, kernel
7.2.4-200.fc44.x86_64, KDE Plasma packageplasma-workspace-6.7.5-1.fc44.x86_64, runningkwin_wayland. - AMD Renoir / Radeon Vega GPU. T3's actual native Wayland versus XWayland backend has not been verified.
- Launcher uses
<install-dir>/T3-Code-0.1.0-x86_64.AppImage --no-sandbox %U. - System-reported RAM: 15,341 MiB; swap: 8 GiB zRAM. Other applications and development tools were running concurrently.
Timeline / relevant evidence#
All times below are CEST, UTC+02:00, converted from the desktop trace's Unix timestamps where applicable.
Time Evidence 22:41:48.371–22:41:49.046 Last observed update poll: desktop.updates.checkForUpdates, withhandleUpdateNotAvailable; successful.22:45:18.597 PreviewManager.closeAllPictureInPicture, success.22:45:18.633 PreviewManager.stopAllRecordings, success.22:45:18.728–22:45:19.050 desktop.lifecycle.windowAllClosed, success. This differs from the original report.22:45:37 KWin: The main thread was hanging temporarily!22:45:48.967 desktop.window.handleBackendNotReady, success; final record in the current desktop trace.22:46:04 Two T3 zygotes receive signal 7/BUS; AppImage mount deactivates in the same second. This does not establish subsecond causal ordering. 22:46:05 Both core dumps recorded. 22:46:06 Chrome emits a GLib assertion and its application scope/service ends. This is evidence of another application ending nearby, not proof of a Chrome crash or common cause. Selected redacted local evidence:
PID 1693415: Signal 7 (BUS) Command Line: /tmp/.mount_T3-CodcjhnHG/t3code --type=zygote --no-zygote-sandbox --no-sandbox Executable: /t3code PID 1693416: Signal 7 (BUS) Command Line: /tmp/.mount_T3-CodcjhnHG/t3code --type=zygote --no-sandbox Executable: /t3code 22:46:04 systemd: tmp-.mount_T3\x2dCodcjhnHG.mount: Deactivated successfully. 22:46:04 systemd: app-com.t3tools.T3Code-1693399.scope: Consumed 2min 31.304s CPU time over 41min 27.670s wall clock time, 1G memory peak, 5.9M memory swap peak. 22:46:06 Chrome: GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failedThe coredump listing for the inspected three-hour interval contained these two T3 children, with no T3 main-process core. The inspected desktop traces contain
windowAllClosed, but no observedbeforeQuitorrequestShutdownAndWaitspan for this exit. No main-process stderr/exit code was captured; Crashpad was not inspected.Memory context and limits of the diagnosis#
Measurements were taken around 23:21–23:25, roughly 35–39 minutes after the crash, not at crash time:
- zRAM swap was effectively full (8 GiB logical data, approximately 3.8 GiB physical RAM after compression); available RAM was about 3.3 GiB.
/tmpis tmpfs and held about 4.1 GiB of files. Its exact resident/swapped split was not measured.- Other applications materially consumed memory, including ChatGPT/Codex and development tools; Discover alone had about 1.4 GiB in SwapPss. These are system context, not evidence of a T3 memory leak.
- No OOM-killer kill or systemd-oomd event was found in the inspected three-hour journal window. That does not rule out memory-pressure effects.
- Root filesystem had about 57 GiB free;
/dev/shmwas nearly empty at inspection time.
Workaround / open questions#
No workaround has been tested. No data directories were reset or deleted. Raw traces and core dumps were not uploaded because they may contain private data; only relevant excerpts are included here.
Does the presence of
windowAllClosedfollowed by delayed zygote SIGBUS warrant tracking this as a separate shutdown/child-lifetime issue? The mount/child failure resembles this issue, but the evidence currently does not establish a silent main-process exit, an updater fault, an OOM kill, or a GPU/Wayland root cause.- Installed launcher targets
juliusmarminge added labelsneeds more info
juliusmarminge removed labelsneeds more info
Additional x86_64 datapoint with core-level detail — silent-exit path, not orderly shutdown
Posting here rather than opening a new issue because the signature matches this report: children of a T3 AppImage die with SIGBUS/BUS_ADRERR after the mount goes away, with no main-process core. (Cross-ref #24315, the orderly-shutdown variant on arm64.)
Version / environment: T3 Code
0.1.3-nightly.20261027.3748, Electron 44.9.3 / Chrome 152.0.7977.167, x86_64 AppImage, Arch-based Linux, Wayland/Hyprland.What crashed: the network-service utility (
--type=utility --utility-sub-type=network.mojom.NetworkService), threadChrome_ChildIOT, SIGBUS,si_code=BUS_ADRERR.Core findings
si_addr == RIP: the faulting address is the instruction pointer, i.e. an instruction-fetch fault, not a wild data access.- RIP is inside the executable's
r-xLOAD segment (file offset ~0x342f000, size ~0x9f2d710), a code page of the AppImage's squashfs filesystem. Matches the GDB finding in #24315 on arm64. - Frames unresolved (release build); no third-party library in the crashed thread.
Trace evidence (silent exit)
The desktop trace's last span from the dying process is a routine
desktop.ipc.*at T. There are nowindowAllClosed/beforeQuit/requestShutdownAndWaitspans and no relaunch span. The next spans are a new instance'sdesktop.startupstarting ~6 s later. The desktop's local server stopped ~0.6 s before the SIGBUS.Ordering
- T: last main-process span (routine IPC)
- T+~0.6 s: local server gone
- T+~2 s: network service SIGBUS
- +3 ms: mount unit deactivated
- +24 ms: second mount unit deactivated
- +4 s: new instance launched from the desktop entry
Mount teardown is not the first event; the main process was already gone. But the faulting page is a code page from the mount, consistent with the orphan-child mechanism above.
Update/mount churn (possibly the trigger)
The AppImage on disk had been replaced by the auto-updater ~3 h before this exit while the instance kept running from the then-current mount. The crashed process's environment (PATH and
GSETTINGS_SCHEMA_DIR) still contained two AppImage mounts — the one it was executing from plus an earlier one — and both mount units were torn down within 30 ms of each other. That is the update/relaunch path leaving a process tree spanning two mounts (cf. closed #18790 about mount dirs piling up on PATH). Not proven as the cause of the main-process exit, but it is the state the crash happened in.Ruled out: no OOM-killer/systemd-oomd kill, plenty of free memory, no btrfs/FUSE read errors, /tmp nearly empty. No main-process coredump and no Crashpad minidump (Crashpad dir contains only
client_id).Impact: the desktop disappeared mid-session and was relaunched ~2 s later; no data loss observed (state reopened fine, server came back on the same build/port).
No core uploaded (verbatim memory image). Happy to pull specific offsets or trace excerpts if useful.
Another x86_64 datapoint on stable v0.1.7: silent-exit path, child SIGBUS
Version / environment: T3 Code v0.1.7 (stable, AppImage unchanged since 2026-11-05), x86_64, Arch-based Omarchy (kernel 7.2.15), Hyprland/Wayland, update channel
latest.What crashed: a
SnapShotAccessibilityWorker.cjs readhelper (/tmp/.mount_T3-Cod*/t3code …/dist-electron/snapShot/SnapShotAccessibilityWorker.cjs read), SIGBUSBUS_ADRERR. It was already in libcexit(); frame #0 had no backing file (n/a + 0x0), so the code page it needed was gone.Timeline (2026-11-08, local time):
- up to 17:38:19:
desktop.trace.ndjsonshows only routine spans (resolvePrimaryLabelevery 3 s,getSystemIdleState) - no
desktop.lifecycle.beforeQuit,processSignal,relaunchorrequestShutdownAndWaitspans - 17:38:21:
tmp-.mount_T3\x2dCod….mount: Deactivated successfully; same second the worker dumps core with SIGBUS - 17:38:25:
desktop.startup(new mount)
Ruled out: no main-process core, no Crashpad minidump, no OOM kill, no AppImage update.
Recurrence: the same child-SIGBUS-after-unmount pattern happened four times between 2026-11-06 and 2026-11-08 (backend
bin.mjs, anexpo-device-hubchild,t3-resource-monitorand this worker).The user confirms they did not close, quit or restart the app at that moment: the window simply disappeared.
Produced by Claude Code (Claude Opus 5.5) via T3 Code triage.
- up to 17:38:19:
Possible trigger: Hyprland drops the Wayland client after a marshalling failure, likely from a compositor fd leak
Follow-up to my Oct 11 comment. I've now had about 10 hits on x86_64 Omarchy (Hyprland 0.56.2, AppImage). Going through the journal turned up a compositor-side event that lines up with many of the silent main-process exits. All of them have the same shape as before: the trace ends on routine IPC with no
beforeQuit/windowAllClosed, the mount is deactivated a couple of seconds later, children SIGBUS (BUS_ADRERR),SingletonLockis left behind, and there is no main-process core.Correlation#
In 7 cases, Hyprland logged a protocol marshalling error shortly before T3's AppImage mount was torn down:
Hyprland error (local time) Message T3 mount deactivated Oct 16 16:01:29.9 error marshalling arguments for keymap: dup failed: Bad file descriptor16:01:30 Oct 25 04:28:37.2 … keymap: dup failed: Too many open files04:28:37 Oct 27 01:08:29.1 … keymap: dup failed: Bad file descriptor01:08:30 Oct 30 12:02:23.0 … keymap: dup failed: Bad file descriptor12:02:31 Nov 04 13:54:16.6 … keymap: dup failed: Too many open files13:54:20 Nov 09 15:37:14.5 … keymap: dup failed: Bad file descriptor15:37:14 Nov 11 13:15:08.5 error marshalling arguments for leave (signature o): null value passed for arg 013:15:11 When libwayland-server fails to marshal an event, it posts an error and disconnects that client. That fits the theory from triage that the Electron ozone/Wayland backend calls
app.exit(0)when the display connection is lost (electron/electron#52603). It would also explain why the exit is silent, with no core, no Crashpad dump and no shutdown spans.Why the compositor fails: fd leak#
dup failed: Too many open filesis EMFILE inside Hyprland. I measured Hyprland's descriptor count during this session (fd limit 524288):- Nov 11 ~13:15: ~170k fds
- Nov 11 14:44: ~198k fds
- Nov 12 03:30: ~266k fds, ~263k of them deleted
/dev/shm/<uuid>files held open only by Hyprland (no other process has them open)
So the compositor is leaking shm fds steadily. Once it runs short of fds, sending a keymap (which needs a
dup) fails, and the client receiving it gets disconnected. T3 is the client that most visibly "crashes" because of the AppImage/orphan-child behavior, but a dropped connection like this could hit any Wayland client.Counter-evidence#
Not every hit has the marshalling error. Oct 11, Oct 24, Nov 6, Nov 11 14:44 and Nov 12 03:30 show the same silent exit with nothing from the compositor in the journal. (The Nov 11 14:44 one was preceded about 2 minutes earlier by a SIGKILL of the backend server child from an unknown sender, with no OOM.) There was also a marshalling error on Oct 12 at 11:12 with no T3 exit until 11:21, which is probably unrelated. So the fd leak looks like one trigger, not the only one. Either way, the exits all look like Electron quitting itself, not a crash.
Suggestions#
- For other reporters on Hyprland, it would help to check:
ls /proc/$(pgrep -x Hyprland)/fd | wc -l journalctl -b | grep 'error marshalling' - On the T3 side: even when the root cause is upstream, it would help a lot to log (and ideally survive or relaunch from) a lost Wayland display connection. Killing the orphaned children cleanly would also avoid the SIGBUS cascade. Right now the only trace left is the mount teardown.
No cores or full traces attached, since they may contain private data. Happy to pull specific excerpts.
juliusmarminge closed this
Additional Linux x86_64 AppImage evidence: SIGBUS cascade with unusually high memory usage and repeated preview capture failures. This shares the mount-teardown/child-SIGBUS symptom, but is not a confirmed reproduction of the original silent main-process exit. Posting as potentially useful diagnostic evidence rather than asserting the same root cause.
Environment: Arch-based Linux (Omarchy), Hyprland/Wayland, kernel 7.2.15-1-omarchy, 62 GiB RAM, AppImage launched through a desktop entry. Exact T3 release version was not established during diagnosis.
Observed sequence (relative times, rounded to seconds):
- T+0: systemd-coredump reports a T3 process receiving SIGBUS; the AppImage mount deactivates in the same second. Subsecond causal ordering was not established.
- T+0: the Chromium network-service utility process receives SIGBUS,
BUS_ADRERR, on threadChrome_ChildIOT. - T+2 through T+10: additional T3 processes, including
t3-resource-monitor, terminate with SIGBUS. - The application was relaunched shortly afterward.
Core-level finding: the network-service fault address equals RIP, and lies inside the
/t3codeexecutable mapping. This is consistent with an instruction-fetch failure after losing access to the AppImage backing filesystem. Release frames remain unresolved; no exact faulty function or initiating cause was established.Memory context:
- The original T3 application scope ended after approximately 3 hours 15 minutes, reporting 49.2 GiB memory peak and 53.9 GiB swap peak. These are scope-wide peaks, not per-process measurements, and need not have occurred simultaneously.
- Approximately seven seconds after the first SIGBUS, the kernel logged an order-0 page-allocation failure in a
T3-Code.AppImagprocess. The kernel memory snapshot reported about 49 GiB system-wide shmem, and the allocation/reclaim stack includedshmem_writeoutand swap allocation. This occurred during the relaunch period, so it does not prove what initiated the original failure. - No OOM-killer event was found in the inspected journal interval. This does not exclude memory-pressure effects.
- The AppImage file had not changed for several hours before the incident; an update overwriting it at failure time is unsupported.
Possible investigation lead: the desktop trace contains 134 failed
PreviewManager.capturePreviewFrameoperations in the roughly three minutes preceding the cascade, with errors identifyingframeCapture.capturePage. Preview/picture-in-picture capture is a lead, not a demonstrated source of the memory usage or a confirmed leak.No deterministic reproducer is available. Main-process exit status and the initiating mount/runtime failure were not captured. Unsaved-data loss was not established. No core dumps, raw traces, private filesystem paths, timestamps/timezone, machine identifiers, project/session identifiers, URLs from application activity, or credentials are attached.
Prepared with GPT-6 via Codex, from local read-only diagnostics.
Additional occurrence on stable 0.1.9 (packaged commit
24e77473ecf4), Electron 44.10.1, Linux x86_64 / Omarchy, kernel7.2.15-1-omarchy, launched via a desktop entry under Hyprland. This adds current-release evidence and clear ordering between mount teardown and the child fault. The initiating main-process exit remains unexplained; I am not claiming that a compositor failure or any specific previously proposed trigger is confirmed.Observed sequence#
An instance had run for about 3 h 6 min before disappearing. Relative timing from the desktop trace and system journal:
- T−0.8 s (approximately): final old-instance desktop trace records routine successful IPC polling (
desktop.ipc.localEnvironment.getEnabled/desktop.ipc.window.getLocalEnvironmentBootstraps). - T: systemd records the corresponding AppImage mount deactivating successfully.
- T+3 s: Chromium's network-service utility (
--type=utility --utility-sub-type=network.mojom.NetworkService) terminates with SIGBUS / BUS_ADRERR, crashing threadChrome_ChildIOT. - T+5 s: a new desktop launch is requested; the replacement instance subsequently reaches backend readiness.
There are no recorded lifecycle/shutdown spans in the desktop trace during the final two minutes before the old mount disappears. The last update check completed successfully with
handleUpdateNotAvailableapproximately 109 seconds before mount teardown, so this occurrence does not coincide with an active update check. The installed AppImage's modification time is several hours earlier.Core evidence#
GDB inspection establishes:
si_addr == RIP == 0x5632493ceff0.- RIP lies inside the
/t3codeexecutable mapping, at image-relative offset 0xa4ceff0. - The corresponding instruction in the installed executable is
test %rdi,%rdi, which has no data-memory operand. Together with the fault address equaling RIP, this supports an instruction-fetch failure. - Other threads are in condition-variable waits, poll or epoll; the available crashing stack is inside the bundled executable. Release function names remain unresolved.
This strongly supports the child losing access to an executable page after AppImage filesystem teardown. It does not explain why the desktop main process / AppImage runtime exited first. No T3 main-process core was recorded.
Resource context and limits#
- No OOM-killer event, storage I/O error, or Wayland/protocol-marshalling error was found in the inspected incident journal interval.
- Immediately afterward, about 15 GiB RAM was available, swap usage was about 311 MiB of 61 GiB, root had about 63 GiB free, and tmpfs/shared-memory filesystems had substantial free capacity. These are post-event measurements, not a contemporaneous memory trace.
- The desktop application scope reported a 1.3 GiB memory peak and 2.7 MiB swap peak; these are scope-wide measurements.
- Only this T3 dump appears in the retained coredump listing. No deterministic reproducer or main-process stderr/exit status was captured.
- The app relaunched and its state database remains present and active. Unsaved-work loss has not been established.
No core, full application trace, credentials, conversation content, machine identifiers, or private paths are attached. This is a confirmed child-fault / mount-teardown sequence on 0.1.9, with the initiating cause still open.
- T−0.8 s (approximately): final old-instance desktop trace records routine successful IPC polling (
I observed the child
SIGBUS/ AppImage teardown pattern on 0.1.10-nightly.20261114.4682, whose tag points to820f620e3d63cfb03f3587aa2c6844b9c57295bb. GitHub’s commit comparison confirms that this build includes merge commit8f54d4b1a9a565eff6cf40464fb2dc6801c598dffrom #35097. The initiating desktop/runtime exit remains unexplained.Environment: Linux x86_64, Omarchy, kernel
7.2.15-1-omarchy, Hyprland/Wayland, AppImage launched through a desktop entry. Both the installed desktop package and server runtime report the version above. The AppImage’s modification time predates the affected session.The additional evidence is that the captured desktop trace still contains no lifecycle, exit, or shutdown event in the final approximately three minutes, despite the build containing #35097. That interval contains 759 trace records. The last records are successful routine desktop IPC calls, approximately 1.4 seconds before the first child crash is reported.
- The network-service utility,
--utility-sub-type=network.mojom.NetworkService, receivedSIGBUSwithBUS_ADRERR. A renderer was reported crashing about 16 ms later. The matching AppImage mount was recorded as deactivated in the same second. This journal order does not establish the exact instant when filesystem access failed. - GDB established
si_addr == RIP == 0x559187784e50, inside the AppImage’s executable mapping. The corresponding instruction in the installed executable ispush %rbp. The reported fault address identifies the instruction itself, supporting an instruction-fetch failure. Release function names remain unresolved. - The backend and resource monitor also received
SIGBUS. The retained coredump history has no dump for the old desktop main process. Crashpad has no file modified in the inspected incident interval. - A targeted scan of the 90-minute journal interval ending shortly after the incident found no OOM kill or storage I/O error. A separate six-minute interval ending shortly after mount teardown contained no Wayland protocol or marshalling error. Post-event resource measurements showed available RAM, swap, and filesystem capacity; those measurements cannot rule out transient pressure at the exit.
The app relaunched, and its saved state database passes SQLite
PRAGMA quick_check. Running agent work was interrupted; unsaved-work loss was not established. Another group of T3SIGBUScrashes occurred earlier that day.This supports the child losing access to its executable as the AppImage filesystem disappears. It does not identify why the desktop or runtime exited, establish a compositor fault, or prove a regression in the initiating exit. No deterministic reproducer or launcher stderr/exit status was captured. No core dumps, full traces, conversation content, or credentials are attached.
Prepared with GPT-6 via Codex from local diagnostics.
- The network-service utility,
Consolidated follow-up: three unexpected exits on stable 0.1.9, plus two distinct shutdown-time SIGBUS clusters#
Follow-up to my November 14 report. Two more unexpected desktop/backend interruptions occurred today and disrupted coding work. I audited the retained system journal and coredump index to include earlier occurrences without counting each crashing child as a separate desktop failure.
Environment and relationship to #35097#
- ASUS Zenbook S 14 UX5406SA; Intel Core Ultra 7 258V; approximately 30 GiB usable RAM; integrated Intel Core Ultra 200V Arc graphics; Mesa 26.2.5-1.
- Arch Linux / Omarchy 4.5.0-3, x86_64; kernel
7.2.15-1-omarchy; Hyprland0.56.2-4, Wayland desktop. The latest affected GPU subprocess explicitly has--ozone-platform=wayland. - Installed AppImage package reports T3 Code 0.1.9; the earlier assessment identified packaged commit
24e77473ecf4and Electron 44.10.1. It is launched through a desktop entry using gtk-launch/uwsm. The installed AppImage has not changed since November 14 at 11:21, before the three unexpected incidents below. - I see this issue was closed through merged #35097. GitHub's comparison places that merge after v0.1.9, which remains the latest stable release at this check. Our stable-build incidents do not test that change or prove a regression in it.
- The subsequent nightly-build report describes similar symptoms on a build containing #35097. That is another user's evidence, not a reproduction on this laptop.
Grouped history#
All times are Asia/Manila, UTC+08:00, on the dates shown. These are retained observations, not a complete lifetime crash count.
Date / time Context T3 SIGBUS processes What is retained Nov 9, 13:41:51–52 System shutdown already underway 2 Journal abnormal-termination messages; no completed dump entry retained Nov 14, 18:17:47–50 Unexpected desktop exit, previously reported 1 Mount teardown followed about 3.15 s later by network-service SIGBUS; completed core retained Nov 15, 06:31:51–52 System shutdown already underway 3 Journal messages for two t3code processes and resource monitor; no completed dump entries retained Nov 16, 16:26:00–07 Unexpected desktop exit 3 Mount teardown followed by backend, resource monitor and network-service SIGBUS; completed cores retained Nov 16, 18:31:10–14 Unexpected desktop exit 7 Three zygotes, GPU process, network service, backend and resource monitor; completed cores retained Thus there are 11 retained T3 cores across three unexpected-exit clusters, plus five journal-only child failures during two shutdowns. The shutdown cases are included as distinct lifecycle context, not five additional spontaneous desktop failures. On Nov 15 the desktop trace actually records
startWaitingForShutdownandwindowAllClosedbefore the faults.Other retained application crashes were screened separately. Today's two Node aborts have OOM-handler stacks in an analytics job and a test process, rather than this AppImage/SIGBUS signature; they are not counted above.
Selected system-journal evidence#
Hostnames, usernames and random mount suffixes are omitted. Times below preserve the actual journal timestamps.
Nov 14 18:17:47.357132 T3 AppImage mount deactivated Nov 14 18:17:50.506108 PID 6291, network service: signal 7/BUS Nov 16 16:26:00.882572 T3 AppImage mount deactivated Nov 16 16:26:04.131539 PID 454918, backend: signal 7/BUS Nov 16 16:26:07.210792 PID 455003, resource monitor: signal 7/BUS Nov 16 16:26:07.313084 PID 18077, network service: signal 7/BUS Nov 16 18:31:10.619949 PID 1847553, zygote: signal 7/BUS Nov 16 18:31:10.620236 PID 1847556, zygote: signal 7/BUS Nov 16 18:31:10.632457 T3 AppImage mount deactivated Nov 16 18:31:10.794528 PID 1847618, GPU: signal 7/BUS Nov 16 18:31:10.825596 PID 1847554, zygote: signal 7/BUS Nov 16 18:31:11.016940 PID 1847624, network service: signal 7/BUS Nov 16 18:31:12.061635 PID 1847788, backend: signal 7/BUS Nov 16 18:31:14.281931 PID 1847939, resource monitor: signal 7/BUSThe first two latest crash messages precede the mount-unit message by about 12 ms. That ordering does not establish the internal instant when filesystem access failed. Earlier incidents do provide clear journal ordering with mount teardown preceding the child faults.
Desktop trace and core findings#
- In the three minutes before today's 16:26 and 18:31 mount events, the desktop traces contain 790 and 786 records, respectively, with no lifecycle/shutdown/relaunch span. Their last records are successful routine IPC at 16:25:59.624568 and 18:31:09.946438.
- The 16:26 incident's last observed update check completed successfully at 16:24:35.086057, about 86 s before mount teardown. There is no update span in the final three minutes before the 18:31 event. The Nov 14 trace findings were recorded in the earlier comment; that interval has since rotated out locally.
- Resource monitor PID 1847939: SIGBUS / BUS_ADRERR, with
si_addr == RIP == 0x560e78ed9930, inside its own executable mapping. The other local diagnostic session examined zygote PID 1847556 and found the same instruction-fetch signature. These are examinations of different children from the same incident. - Release function names remain unresolved. No desktop main-process core appears in the retained incident listing. Launcher stderr and exit status were not captured.
- T3 was launched again at 18:50:06. Diagnostic sessions/notifications at 18:50:54–55 refer back to the 18:31 incident, rather than new crashes. No later T3 fault appears in the audited retained history.
Interpretation, impact and remaining question#
The child faults strongly support loss of access to executable pages as the AppImage filesystem disappears. Why the desktop/runtime exits first during the unexpected incidents remains unestablished. The retained evidence does not identify an intentional quit, an updater installation, a compositor failure or a diagnostic agent as the initiating cause.
No OOM kill, relevant storage I/O error or matching Wayland protocol/marshalling error was found in the checked windows around the three unexpected incidents. Post-event RAM/swap/filesystem capacity was available; this is not a crash-time resource trace. Reopening T3 restores access to saved state; the database and WAL remain present, but final in-flight updates and data integrity have not been independently verified in this audit.
No settings or application data were reset. No raw cores, full traces, conversations, credentials or private filesystem paths are attached. There is no deterministic reproducer yet.
Could you identify the stable release containing #35097 and advise the smallest useful main-process stderr/exit-status capture if the unexpected exit continues? If the initiating desktop disappearance needs a separate issue from exit logging/child cleanup, please advise how to split this evidence.
Another occurrence with the same AppImage mount teardown / child SIGBUS signature on Omarchy Linux x86_64, kernel
7.2.15-1-omarchy, Hyprland/Wayland, launched through a desktop entry (nightly channel; the exact build at the time has not been verified).On 2026-11-18 (UTC-3), the system journal recorded:
08:16:03.444 T3 AppImage mount deactivated 08:16:03.498 backend (apps/server/dist/bin.mjs): SIGBUS 08:16:05.322 GPU process: SIGBUS 08:16:06.046 t3-resource-monitor: SIGBUSAll three commands referred to the same AppImage mount. The GPU core reports
BUS_ADRERR; GDB places the fault address at the instruction pointer inside the mapped T3 executable. Release function names could not be resolved. There were also three T3 SIGBUS cores on November 17. No OOM kill was found in the kernel journal for the incident day; memory and disk capacity were available when checked afterward (not a crash-time measurement).This supports a similar loss-of-backed-pages symptom, but I could not establish why the mount was torn down, whether this was an unexpected exit or shutdown, the main-process exit status, or a deterministic reproducer. I cannot establish whether the affected build includes #35097. No core dumps, full logs, private paths, or user data are attached.
Sign in to join this conversation.
Triage#
The child SIGBUS dumps are fallout, not the crash. A type-2 AppImage unmounts
/tmp/.mount_t3code*when the main process goes away, and every child still mapped from that mount then dies withBUS_ADRERR. NowindowAllClosed/beforeQuit/requestShutdownAndWaitspan, no main-process coredump, and no Crashpad minidump means the main process left throughexit/_exit/app.exitorSIGKILL, not through our quit path and not through a signal that core-dumps.That is not the auto-updater install path. On 0.0.42,
desktop.updates.configuresetsautoDownloadandautoInstallOnAppQuitto false before the 4-minute poll, andcheckForUpdatesonly hits the feed. The onlyapp.exitin the desktop main process isdesktop.lifecycle.relaunch, and that runsrequestShutdownAndWaitfirst, which would show up in the trace.quitAndInstallis user-driven and emitsbefore-quit-for-updatebeforeapp.quit().The poll timing is a weak lead. Completed spans are written to
desktop.trace.ndjsonin 1-second batches, and a span is not written until it ends, so a death inside an opencheckForUpdatescan look like "no span". The 18:21 exit is the one that really happened mid-check:handleCheckingForUpdatefinished, the parent span never closed, and the mount was gone about 0.7s later. The 17:25 exit is different.handleUpdateNotAvailablehad already completed, and the mount disappeared 4.7s later, which is long enough that a finished shutdown span would have been flushed. Nothing in our poller or inelectron-updater's check path callsexit.The signature matches Electron's Linux ozone shutdown when the Wayland or X connection drops (electron/electron#52603, which is in 44.1.0). That calls
Browser::ExitWithCode/app.exit(0), which skipsbefore-quitandwill-quitand writes no minidump. A protocol error on this client alone would do it without the rest of the session dying. Not confirmed.Nothing on
mainaddsprocessexit/child-process-gonelogging, and the Electron bump there (44.1.0 to 44.4.2) has no note that it stops this exit. The useful next capture is the one you already planned, from a terminal:ELECTRON_ENABLE_LOGGING=1 <appimage> --no-sandbox --ozone-platform=wayland ; echo exit:$?On the next silent exit, the exit code plus any
libwayland:/wl_display/wayland_event_watcherline distinguishesapp.exit(0)from a signal. Also note whether any other Wayland client died at the same moment.