Repository navigation
Description
Problem and impact
The user reports three consecutive desktop app crashes that interrupted normal work. Local desktop logs show three separate process sessions ending immediately after read_thread returns successfully for the same existing task. Please investigate this repeated stability failure and provide a fix or reliable workaround.
Environment
- Windows, x64 Microsoft Store package
OpenAI.Codex - Installed package version:
26.901.4073.0 - Incident date: 2026-09-05
Observed timeline
All times below are UTC, from local desktop logs. These are final log timestamps, not independently measured native crash timestamps.
| Session | Final log record | Next app launch |
|---|---|---|
| 1 | 08:17:27.012 — Sending server response, success=true, tool=read_thread | 08:17:34.204 |
| 2 | 08:22:53.600 — Sending server response, success=true, tool=read_thread | 08:29:24.428 |
| 3 | 08:40:12.988 — Sending server response, success=true, tool=read_thread | 08:40:18.311 |
All three reads target the same task (identifier omitted). The logs show thread/read and thread/turns/list returning with errorCode=null; the second incident also includes successful thread/items/list pagination. Each old main log ends at the successful tool-response record. The next launch uses a different desktop process/session.
The second and third sessions also contain ResizeObserver loop completed with undelivered notifications shortly before the read. This is contextual evidence, not an established cause.
Reproduction outline from observed usage
- Ask the desktop agent to inspect an existing task using
read_thread. - The app reads the task history and reports a successful tool response in the desktop log.
- The user experiences the desktop app closing, interrupting work.
- After relaunch, reading that same task is followed by the same outcome.
This is reconstructed from existing logs; no additional deliberate crash was induced. Exact task contents and read parameters have not been included or independently isolated.
Expected behavior
Reading task history should leave the desktop app running. If a history payload cannot be handled, return a recoverable tool error and preserve the active task. Please capture a durable diagnostic reason for unexpected termination.
Diagnostic limitations and related reports
No explicit fatal/crash/render-process-gone record was found in the inspected day's desktop logs. The Windows Application event query for the last day did not establish a matching Codex crash event. Therefore the exact terminating component and root cause remain unconfirmed; the repeated timing is evidence of association with read_thread, not proof of an OOM or specific exception.
Potentially related: #40300 and #35799. This report differs from #40300 because the observed RPC reads return successfully rather than thread not loaded. Oversized/image payload involvement as in #35799 has not been verified here.
Only a sanitized diagnostic summary is shared. Raw conversations, local paths, task IDs, credentials, and full logs are omitted.
Activity
C0Feline1 commentedon Sep 5, 2026
Additional complaint: long-running work stalls and misleading active state after interruption
The user reports that repeated long-task failures waste substantial time and delay delivery. After the three app exits above, a production task still appears
active/inProgresswith no reported error, but the snapshot only repeats an older progress message.Read-only local checks around 2026-09-05 08:44 UTC found:
The exact cause of the archival worker exit is not established and its stop predates the first logged app relaunch; this is an observed recovery gap, not proof that the desktop crash killed that process. Likewise,
activealone does not establish forward progress on image generation.User impact: repeated reconnection/long-task stalls require manual reconstruction of actual progress, leave independent work streams unsynchronized, and delay the project despite an independently running local queue. Please improve interrupted-task recovery, accurate stale/stalled status reporting, durable checkpoints, and explicit recovery of dependent workers without resubmitting already queued jobs. An active UI state should not imply that all promised production stages are advancing.
This is a sanitized operational summary; no private project contents or full logs are attached.
C0Feline1 commentedon Sep 5, 2026
Follow-up: two affected tasks now report systemError; request timeouts and durable-history projection failures
A fresh inspection on 2026-09-05 found two long-running tasks in the same project with
systemErrorstatus. Read-only queries of the local Codex diagnostic database establish the following additional evidence (UTC). Task A is the original production task; Task B is its takeover/recovery task. Private task identifiers and project contents are omitted.stream disconnected - retrying sampling request (4/5 ...), HTTP 408,{"detail":"Request body read timed out"}codex_core::util:Orphan custom tool call output for call id: [redacted](also present at 10:38:18 and 10:53:36)codex_thread_store::local::live_writer:failed to project durable rollout ... thread-store internal error: thread history projection ... expected ordinal 1867, got 1866expected ordinal 869, got 868The projection warnings occur during both
session.flush_rolloutandpersist_rollout_items/append_items. Both tasks use gpt-6-astra (A: medium reasoning; B: low). The 408 endpoint is/backend-api/codex/responses. The observed interval between retry 4/5 and 5/5 is about 15 minutes in each task, despite a short logged retry backoff; this is elapsed time between records, not proof that the configured backoff is wrong.Please investigate request-body read timeouts, orphan tool-result handling during recovery, and durable history ordinal consistency. Expected behavior is recoverable errors, preserved valid history, and a reliable way to resume work without repeatedly losing task progress.
These are verified additional symptoms in the same incident, not proof that the 408s, history projection errors, and previously reported desktop exits share a root cause. No database repair or modification was attempted, and no raw conversation, image payload, credentials, or full logs are attached.