You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Linux/Wayland desktop main process aborts with V8 heap OOM (SIGTRAP), no preview/CDP activity #21189
The t3code desktop main process aborted with SIGTRAP from a V8 heap OOM after ~2h15m of normal use. This is not a system OOM — the machine had ~25 GiB RAM available when it died.
Linux under Hyprland/Wayland (--ozone-platform=wayland), 31 GiB RAM
Launched 12:12:09, aborted 14:27:12 CEST
Evidence
kernel: traps: V8Worker[...] trap int3 ... in t3code[...] → SIGTRAP
the disassembly at the faulting RIP is the deliberate Chromium/V8 abort path (int3; ud2) — a self-inflicted crash on an unrecoverable error, not memory corruption
the coredump contains Electron's formatted OOM message:
node_bindings.cc:195] OOM error in V8: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
desktop.trace.ndjson stops producing spans ~2m46s before the abort (last span 14:24:26.527) — the event loop goes quiet while the heap fills, then the process traps at 14:27:12:
Crashpad has only client_id (crashReporter.start() is not called), so no minidump was produced
renderer working sets were modest at the last samples (main window ~449 MB, preview ~271 MB), which points at main-process heap accumulation rather than a single oversized object
I still have the coredump and the full trace windows locally and can provide sanitized extracts if useful. No reliable reproduction yet.
We can't act on this one yet. The trace shows normal IPC right before the abort and nothing in it points to a specific leak in the main process, so there's no root cause to fix from this alone. You're right that the trace doesn't match #20395.
To make it actionable, could you share:
A heap snapshot of the main process near the limit. Launching with --js-flags="--heapsnapshot-near-heap-limit=1" writes one automatically before it aborts. Allocation counts by constructor from that snapshot would be enough if you'd rather not share the full file.
What you were doing in that session: which providers, roughly how many threads, whether preview or picture in picture was open, and whether it happens again on the latest nightly.
@alexaapetrei Could you launch T3 Code with --js-flags="--heapsnapshot-near-heap-limit=1" and, the next time it crashes, share the top constructors by retained size from the heap snapshot it writes, together with what was open in that session (providers, how many threads, and whether preview, picture in picture or recordings were running)?
Additional macOS occurrence with a symbolicated V8 worker OOM on Nightly 0.1.10-nightly.20261115.4749 (295a0a7332aa1b0cc2f737dae71bd5e607a6ebb9). The fatal GC-worker symptom resembles this report; a shared underlying cause is unconfirmed.
Environment: macOS 15.8.1 (24H32), ARM64, Electron 44.10.1, desktop with its local server. The crash report and local server both confirm the version. The process had been running for about 4h32m.
The user was using Opus 5.5 Medium with a Vite server on port 5191 open in T3's built-in Browser. The background command reached its 30-minute limit and the agent reported that it stopped. The tab remained open. The user believes no recording was running but is not certain. No recording or screencast spans were found in the retained server traces during this app session.
Timeline on 2026-11-15, CST (UTC-06:00):
18:44:54.012: Claude SDK background-task notification, status stopped, reports the command's time limit.
18:44:57.065: follow-up agent result completes with subtype: success, is_error: false.
18:45:04.298: last completed desktop span, PreviewManager.publishHumanController, exit Success.
At the matching source revision, ClaudeAdapterV2.ts:6115 maps a stopped native task to a cancelled outcome, and the handler at line 11259 processes task notifications. Logs confirm the follow-up turn finished; no timeout-handling exception was identified.
The affected build was the latest published Nightly when checked. The subsequent 23 commits through 6b7027b1f43eebc4c7edf5304236a0775b2d8928 contain no desktop-file changes. No fix was applied and no live crash reproduction was attempted. There is no main-process heap snapshot or allocation profile, so the retained objects and root cause remain unknown. The recording-specific cause discussed in #30735 is not established here.
Prepared by Codex (GPT-6) via the T3 Code triage playbook, on the user's machine. This comment contains redacted incident evidence only.
@alexaapetrei Could you launch T3 Code with --js-flags="--heapsnapshot-near-heap-limit=1" and, the next time it crashes, share the top 10-20 constructors by retained size from the .heapsnapshot it writes, along with what was open (providers, roughly how many threads, and whether the in-app browser, picture in picture or a recording was running)?
Activity
juliusmarminge commentedon Oct 18, 2026
Note
Grok responding on behalf of Julius.
We can't act on this one yet. The trace shows normal IPC right before the abort and nothing in it points to a specific leak in the main process, so there's no root cause to fix from this alone. You're right that the trace doesn't match #20395.
To make it actionable, could you share:
--js-flags="--heapsnapshot-near-heap-limit=1"writes one automatically before it aborts. Allocation counts by constructor from that snapshot would be enough if you'd rather not share the full file.juliusmarminge commentedon Nov 12, 2026
@alexaapetrei Could you launch T3 Code with
--js-flags="--heapsnapshot-near-heap-limit=1"and, the next time it crashes, share the top constructors by retained size from the heap snapshot it writes, together with what was open in that session (providers, how many threads, and whether preview, picture in picture or recordings were running)?creativeincode commentedon Nov 16, 2026
Additional macOS occurrence with a symbolicated V8 worker OOM on Nightly
0.1.10-nightly.20261115.4749(295a0a7332aa1b0cc2f737dae71bd5e607a6ebb9). The fatal GC-worker symptom resembles this report; a shared underlying cause is unconfirmed.Environment: macOS 15.8.1 (24H32), ARM64, Electron 44.10.1, desktop with its local server. The crash report and local server both confirm the version. The process had been running for about 4h32m.
The user was using Opus 5.5 Medium with a Vite server on port 5191 open in T3's built-in Browser. The background command reached its 30-minute limit and the agent reported that it stopped. The tab remained open. The user believes no recording was running but is not certain. No recording or screencast spans were found in the retained server traces during this app session.
Timeline on 2026-11-15, CST (UTC-06:00):
stopped, reports the command's time limit.subtype: success,is_error: false.PreviewManager.publishHumanController, exitSuccess.EXC_BREAKPOINT / SIGTRAP, faulting thread 8,V8Worker.The crash is 67.3 seconds after the command timeout. The timeout is an observed antecedent, not an established cause.
Official Electron 44.10.1 ARM64 Breakpad symbols match the report's framework UUID
4C4C442C-5555-3144-A157-FFC8A432CBF6. Relevant resolved frames:At the matching source revision,
ClaudeAdapterV2.ts:6115maps a stopped native task to a cancelled outcome, and the handler at line 11259 processes task notifications. Logs confirm the follow-up turn finished; no timeout-handling exception was identified.The affected build was the latest published Nightly when checked. The subsequent 23 commits through
6b7027b1f43eebc4c7edf5304236a0775b2d8928contain no desktop-file changes. No fix was applied and no live crash reproduction was attempted. There is no main-process heap snapshot or allocation profile, so the retained objects and root cause remain unknown. The recording-specific cause discussed in #30735 is not established here.Prepared by Codex (GPT-6) via the T3 Code triage playbook, on the user's machine. This comment contains redacted incident evidence only.
juliusmarminge commentedon Nov 19, 2026
@alexaapetrei Could you launch T3 Code with
--js-flags="--heapsnapshot-near-heap-limit=1"and, the next time it crashes, share the top 10-20 constructors by retained size from the .heapsnapshot it writes, along with what was open (providers, roughly how many threads, and whether the in-app browser, picture in picture or a recording was running)?juliusmarminge commentedon Nov 26, 2026
Closing: no reply in 7 days after we asked for more information. Comment with the missing details and we will reopen.