Repository navigation
Open
Description
Codex Desktop repeatedly crashes on large task content and multi-frame HEIC preview
Summary
Codex Desktop for macOS repeatedly terminates with EXC_BREAKPOINT / SIGTRAP on the Chromium main thread (CrBrowserMain, com.apple.main-thread) in two content-loading scenarios:
- Opening a 5120×2880, 96-frame HEIC file (about 205 MiB) in the built-in Codex file preview. Reopening the same task can restore the preview and enter a crash loop.
- Loading a very large historical tool result (approximately 144,000 tokens before truncation) into the task UI. This caused four additional crashes without opening the HEIC preview.
The issue reproduced across an automatic app update and generated 14 Apple crash reports between 2026-09-05 16:07 and 17:19 (UTC+08:00).
Environment
- Product: Codex Desktop for macOS (
com.openai.codex) - Affected app versions:
26.901.22334(build7746) and26.901.41600(build7982) - Subscription: Not disclosed (not relevant to this local renderer crash)
- Operating system: macOS 13.7.8 (build 22H730)
- Platform string:
Darwin 22.6.0 x86_64 i386 - Architecture: Intel x86_64
- Hardware model: iMac18,3
- Processor: 3.5 GHz quad-core Intel Core i5
- Memory: 16 GB
Reproduction path A: large multi-frame image preview
- Open a Codex task.
- Open a local 5120×2880, 96-frame HEIC file of about 205 MiB in the built-in Codex preview panel.
- The app terminates within seconds.
- Reopen the same task. If the preview state is restored, the app can terminate again before the task becomes usable.
Reproduction path B: very large task/tool output
- Open a normal Codex task.
- Retrieve an older task whose returned history/tool output is extremely large (approximately 144,000 tokens before client-side truncation).
- The desktop UI terminates while rendering or ingesting the result.
Expected behavior
- Reject or safely downsample unsupported large/multi-frame previews without terminating the app.
- Do not persist and automatically restore a preview state that previously terminated the app.
- Truncate, paginate, or virtualize oversized task/tool output before sending it to the renderer.
- Allow the affected task to reopen in a safe mode that skips the problematic preview/output item.
Actual behavior
- The entire Codex process terminates.
- Apple diagnostics consistently report
EXC_BREAKPOINT, signalSIGTRAP, faulting thread 0, thread nameCrBrowserMain, queuecom.apple.main-thread. - The same crash class reproduced before and after the app updated from build 7746 to build 7982.
Frequency and impact
- 14 crashes were recorded during the reported period.
- The crash loop can make the original task inaccessible even though the underlying task work is simple.
- Work can be continued only by avoiding the affected task, avoiding built-in preview for the HEIC, and preventing oversized historical output from entering the UI.
Privacy note
This report intentionally excludes account details, email addresses, usernames, local user paths, file contents, task/conversation text, serial numbers, hardware UUIDs, vendor device identifiers, crash incident IDs, credentials, tokens, cookies, network configuration, and raw .ips files. No sensitive attachment is included.
Activity
github-actions commentedon Sep 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Michael-IT001 commentedon Sep 5, 2026
While this shares the preview-restore crash loop symptom with #42730, this report provides distinct evidence and reproduction paths:
Keeping this open to provide the team with additional reproduction context and test cases.