Repository navigation
Description
What version of the Codex App are you using?
26.1002.52244 (build 13536). Bundle identifier: com.openai.codex.
The built-in update check returned up_to_date when checked.
What subscription do you have?
Not disclosed; account information is intentionally omitted from this public report.
What platform is your computer?
macOS 26.6.2 (25G83), Apple Silicon / arm64.
Codex Framework / Chromium: 155.0.8059.27.
What issue are you seeing?
Three unexpected desktop-app exits were observed in one day, each after approximately 3 hours 51–54 minutes of process uptime.
All three native crash reports show:
EXC_BREAKPOINT / SIGTRAP, termination signal code 5.- Faulting thread:
CrBrowserMain/com.apple.main-thread. - First frame at Codex Framework image offset
6130508. - The second and third reports have identical image/offset sequences across all 43 frames of the faulting thread.
Immediately before the latest crash, retained main-process logs contained 130,055 occurrences over 16.651 seconds (approximately 7,811 per second) of this single event:
[electron-message-handler] maybe_resume_skipped_inactive_hotkey_window
The repeated entries reported this generic window state:
documentVisibilityState=visible
rendererWindowAppearance=primary
rendererWindowFocused=false
rendererWindowVisible=false
After relaunch, the same event was observed again at approximately 7,772 occurrences per second. Relaunch alone did not stop the repeated processing.
What steps can reproduce the bug?
This was observed repeatedly during extended desktop coding sessions, but a minimal deterministic reproduction and the initial action that triggers the loop have not been isolated.
The hidden/unfocused window state above is taken from the logs; it is not a claim that a particular window action is the trigger. The crash signatures and log rates come from local read-only diagnostics, not from a synthetic test.
What is the expected behavior?
An inactive-window resume check should not generate thousands of identical events per second, and the app should remain stable during extended coding sessions.
Please investigate repeated resume scheduling/state notifications and the matching native crash signature.
Additional information
Related: #51888 reports the same event and window-state pattern on Linux in the same desktop version. This report adds a macOS native-crash signature and substantially higher measured repetition rate. The relationship between the two reports is not yet established.
Important uncertainty: the log storm and repeated native crashes are directly observed, but causation between them is not established. The reports do not explicitly identify OOM, heap exhaustion, XML parsing failure, or user project code as the cause. Large offsets from nearby exported symbols should not be treated as precise symbolication.
Privacy: this issue body contains only sanitized technical observations. No account/email information, conversation content or identifiers, local usernames or file paths, credentials, crash-report UUIDs, raw diagnostic attachments, or user project information are included. If more evidence is needed, please specify the minimum redacted fields required.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Suiwan commentedon Oct 8, 2026
Could maintainers check the template serial-number rollover boundary in the V8 version bundled with this build?
The public V8 source provides a concrete boundary to inspect:
serial_number.Smi::kMaxValuebefore rolling over.SerialNumberBits::update.A 29-bit field cannot represent
2^29. If the bundled version uses a larger Smi maximum for rollover, repeated template creation could reach the field's encoding limit before the counter rolls over. Please verify the bundled implementation and whether this boundary corresponds to the native trap reported here.The repeated resume processing in this issue, #51888, and #52093 may make such a boundary reachable. Those reports also suggest checking the mismatch between the resume-needed predicate and window stream-ownership guards, and handling
not-ready / inactive-windowwithout an immediate retry loop.This is a hypothesis based on public source and the existing public reports. It does not establish the crash's cause, the rate of template creation, or the initial trigger.
jcastro commentedon Oct 8, 2026
Additional macOS evidence: sustained outbound traffic accompanying the inactive-window resume log storm
This adds a network-impact observation to the issue, not a confirmed diagnosis of the crash or of the encrypted request payload.
Environment
com.openai.codex.Direct observations
A sample of 10,000 retained log lines, from
2026-10-08T18:12:30.625Zto2026-10-08T18:12:34.115Z, contained 9,882 occurrences of this event: approximately 2,831 events/second. Logs were rotating through 10 MB files. The log sample is not a measurement of total incident duration.At approximately 12 minutes of process uptime, the affected renderer used 132.1% CPU and the main app used 35.2% CPU. This is a point-in-time sample, not a benchmark or causal proof.
macOS
nettopattributed sustained outbound traffic to the app's Chromium network-service utility (network.mojom.NetworkService). Almost all observed outbound growth came from one TCP/TLS connection to104.18.37.228:443.Consecutive five-second samples for that connection:
This is 1,674,631 bytes sent in five seconds, approximately 335 kB/s or 2.68 Mbps. Earlier samples showed a similar sustained rate. If sustained for an hour this would be approximately 1.2 GB/hour; that is an extrapolation, not an observed hourly total.
Why telemetry is suspected, but not proven
chat.openai.comresolved to104.18.37.228and172.64.150.28.https://chat.openai.com/ces/v1/telemetry/intake, including a logging transport which forwards/api/v2/logsrequests.Router cross-check and its limitations
A UniFi read-only client-counter inspection showed approximately 360.0 GB received by the network from the Mac, with a current rate near 309 kB/s. The corresponding opposite-direction counter was approximately 292.6 GB. These are whole-client cumulative counters, not per-process or per-domain statistics; they can include LAN traffic and traffic from other apps. They must NOT be attributed wholesale to ChatGPT. The controller's legacy client DPI endpoint returned an empty result, so no reliable router-side historical per-application GB total was available.
Reproduction and expected behavior
Observed in an existing installation during ordinary app use. A clean-install reproduction and initial trigger have not been isolated. No app restart, heartbeat pause, process termination or settings change was performed during this investigation.
Expected: an inactive renderer should not generate thousands of identical resume messages per second, and diagnostic transport should have effective sampling/rate limits so a UI loop cannot create sustained bandwidth consumption.
Please investigate the resume scheduling loop and whether its events are forwarded without adequate sampling, throttling or deduplication. Related reports: #51888, #52093 and #52185. No SIGTRAP crash was verified in this particular observation.
Privacy: this report is intentionally sanitized. It contains no credentials, account identifiers, conversation IDs, local usernames, private paths, MAC addresses, private LAN addresses, raw session transcripts or project content. Investigation was AI-assisted.
Follow-up: pausing the matching heartbeat quiesced the loop without restarting
The conversation identifier in the repeated event matched an old heartbeat still marked ACTIVE, configured to run every two minutes. It was paused through the supported app automation tool; the app and network-service PIDs remained unchanged. The task was preserved, not deleted, and no unrelated automation was changed.
This is a short before/after observation, not a long-term guarantee. The heartbeat was not re-enabled for an on/off/on test, to avoid recreating the problem. The initial residual upload could be queued logs draining, but its exact payload remains unverified. A downgrade or restart was not needed to stop the observed storm.
wangyieleven commentedon Oct 8, 2026
Independent macOS crash report — identical native crash signature
I am reporting an additional independent occurrence matching this issue. The observations below are transcribed from a macOS native crash report; no preceding application debug logs were collected.
Environment
26.1002.52244(build13536), bundle IDcom.openai.codex155.0.8059.2727.0.1(build26A434)Crash
Thread 0 / CrBrowserMain,com.apple.main-threadEXC_BREAKPOINT (SIGTRAP)SIGNAL, code5(Trace/BPT trap: 5)Codex FrameworkMatch with #52091
The app build, framework build,
CrBrowserMainthread,SIGTRAPexception, and first-frame image offset6130508all match the original issue exactly. This supports the same fatal code path being reached on a second macOS 27 device (the original report was on macOS 26.6.2).What is / is not established
maybe_resume_skipped_inactive_hotkey_windowlog storm, an OOM, an XML parse failure, a memory leak, or a precise triggering UI action.Privacy: Report is intentionally redacted/abridged. No local username, account details, conversation/project content, crash reporter keys, incident UUIDs, or raw crash-report attachments have been included.
samhf22 commentedon Oct 9, 2026
Additional local evidence: five matching crashes and an unavailable heartbeat target
This is an independent occurrence matching #52091, with a local heartbeat association matching reports in #51888. I am adding evidence here rather than opening another duplicate.
Environment
26.1002.52244, build13536, bundlecom.openai.codex.26.6.2 (25G83), Apple Silicon / ARM64.155.0.8059.27; binary UUID4c4c4407-5555-3144-a13b-42e4f5644f06.up_to_dateduring this investigation.Five native crashes on October 8, 2026
All five reports show
EXC_BREAKPOINT / SIGTRAP, signal code 5, onCrBrowserMain/com.apple.main-thread, with first frameCodex Framework + 6130508.Four reports have identical complete faulting-thread image/offset sequences. The fourth reaches the same first-frame offset through a slightly different sequence (
6130508,2699048,19208040instead of6130508,6124120,2700644,19208040). This is not a claim that the partially symbolicated names identify the exact failing function.Immediately preceding each crash, the retained main logs are dominated by
maybe_resume_skipped_inactive_hotkey_windowfor the same conversation and hidden renderer:These are final retained log segments, not whole process lifetimes. Files rotate around 10 MiB. Earlier context is overwritten by the flood. The same event flood was observed again after relaunch.
Sanitized window state:
Matching heartbeat evidence
ACTIVE, scheduled every five minutes.target_thread_idexactly matches the conversation in the repeated resume events.state_5.sqlitethreads table. This does not prove the thread was deleted or is absent on other hosts.There were 1,335 matching warnings in the retained October 7 UTC log directory and 117 in October 8 UTC logs. These are warning counts, not scheduled-run counts. A current-session warning was also observed, but was rotated out before the later aggregate scan.
Integration cross-check and limits
A separately running local messaging integration was investigated. Its persisted linked-task, background-session, and setup-task IDs do not match the affected thread. Four crashes had no recorded integration events within ±60 seconds; the fifth had only four low-level receive-frame diagnostics. Its desktop connection refresh timer runs every five seconds. No integration-off comparison was performed, so indirect involvement is not conclusively excluded.
No heartbeat pause, process suspension, app patch, cache reset, or settings change was performed. The association between the heartbeat, resume flood, and crashes is strong but a causal intervention has not been tested on this installation. No OOM or V8 counter-overflow diagnosis is asserted.
I saw the contributor update in #51888 that a fix has merged and will be released soon. Please confirm whether that fix also covers this macOS crash signature and identify the first desktop build containing it. The current installation is not yet offered an update.
Only sanitized technical evidence is included; private conversation/automation identifiers, project details, account information, local paths, and raw crash reports are omitted. Investigation was AI-assisted.