Skip to content

[Windows 26.1002] Main-process OOM while archiving a local chat; archived entry persists in sidebar #52280

Open

Description

@Jer512

What version of the Codex App are you using (From "About Codex" dialog)?

Installed package: 26.1002.7124.0; app.asar version: 26.1002.52244. These were read from the installation; the About dialog was not captured.

What subscription do you have?

Not captured for this diagnostic report.

What platform is your computer?

  • Windows 11 Pro build 26300, Hyper-V/RDP environment.
  • Codex Windows package: 26.1002.7124.0; app.asar version: 26.1002.52244.
  • Chromium: 155.0.8059.27.
  • Managed app-server updated from 0.161.0 to 0.162.0 during investigation.
  • Desktop main executable is ChatGPT.exe inside the OpenAI.Codex Windows package.

What issue are you seeing?

The user reported hangs/crashes beginning after an update, initially when sending the first message in a new chat. Later, interacting with one existing conversation, including trying to archive it, caused a hang. This is a single-machine observation; a minimal fresh-profile reproducer is not available.

  1. The existing local Codex conversation was approximately 49.83 MiB of JSONL, with 19 recorded turns in the history snapshot.
  2. An archive request for this conversation was logged at 2026-10-08 20:53:26.343 UTC. A thread/turns/list call took approximately 37 seconds around that attempt.
  3. The desktop main process grew from roughly 7.75 GiB to roughly 15 GiB private memory, became unresponsive, and crashed at 20:58:53 UTC.
  4. Crashpad recorded exception 0xe0000008 (Chromium allocation failure), with a 50 MiB failed allocation. Available system commit in the post-failure dump snapshot was about 30.33 GiB.
  5. A prior crash on the same day at 18:40:14 UTC had the same exception with a 2 MiB failed allocation. This does not identify the allocation owner or prove the precise failure mechanism.

Archive/catalog inconsistency and recovery

The supported codex archive <session-id> command succeeded. The canonical state_5.sqlite threads row had archived=1 and the transcript moved to archived_sessions. Its size and SHA-256 remained identical to the fresh pre-archive backup.

After reopening the app, the conversation still appeared in the recent-chat sidebar. The separate .codex/sqlite/codex-dev.db local_thread_catalog retained a visible row for that archived conversation (host_id=local, missing_candidate=0). The app crashed again during this stage.

After a consistent SQLite backup, recovery removed only that exact stale derived catalog row and followed the installed build's applyAuthoritativeRemoval bookkeeping: host observation_sequence increment and catalog_revision increment. Canonical archive state and transcript were preserved. Catalog quick_check passed. The user then confirmed the conversation disappeared and the app appeared stable.

This is evidence of a stale derived sidebar entry and correlated memory growth. The underlying OOM cause and whether both symptoms share one root cause remain unproven. The recovery is described for investigation, not as a general end-user procedure.

What is the expected behavior?

Archiving completes without a hang, preserves conversation/project work, and removes the archived conversation from the active sidebar. An archived thread should not remain as a visible stale entry after restart.

Additional information

Impact and work-preservation check

The user initially thought project changes were lost because the running local site looked unchanged. Investigation found the presentation edits still committed in their separate worktree; the local server on port 3000 was serving the default checkout instead. This finding does not establish project-file data loss from the archive operation.

Evidence available locally, not attached

  • Two original Crashpad minidumps and a memory observation CSV.
  • Desktop logs with archive request and turn-list timing.
  • Verified pre-archive transcript backup and archive/hash verification receipt.
  • Consistent pre-repair sidebar catalog snapshot and target-only repair receipt.

Raw logs, dumps, databases, and transcript contain private information and have not been uploaded. This public report omits personal account details, project paths, and conversation content.

What steps can reproduce the bug?

Observed on the affected existing profile:

  1. Launch the Windows desktop app and locate the affected existing local conversation.
  2. Attempt to archive it through the recent-chat menu.
  3. Observe a hang, rapid main-process private-memory growth, and eventual crash.
  4. Archive that same session through the supported CLI and confirm canonical archived state.
  5. Reopen Desktop and observe that the same archived chat is still visible in the active sidebar.

This reproduced on the affected machine. A fresh-profile or synthetic-conversation reproduction is not available. The conversation identifier and full transcript are omitted from this public report; token/context-window usage was not captured. No in-app feedback session was uploaded.

Related reports

These are investigation leads, not claims of a shared root cause. Please investigate the memory growth and canonical/archive-to-sidebar reconciliation, and advise whether additional diagnostics can be provided through a private upload channel.

Submitted with the affected user's authorization. No raw logs, dumps, databases, or private conversation contents are attached.

Activity

  1. added
    bug
    app
    windows-os
    session
    on Oct 8, 2026
  2. github-actions commented on Oct 8, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugperformancesessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions