Skip to content

Windows desktop repeatedly crashes; recovery requires renaming ~/.codex (three occurrences) #51016

Open

Description

@wzhdigimax

Platform and version

Windows x64, Microsoft Store Codex desktop app. A recent pre-recovery log references package OpenAI.Codex_26.928.4866.0_x64; this is a log-derived version, not a current About-dialog verification. Subscription and exact Windows version were not collected.

Issue

The user reports three crashes, each requiring them to rename their user .codex directory before the app becomes usable again. This repeatedly interrupts their work. Three preserved directories (.codex_bc, .codex_bc2, .codex_bc3) were confirmed locally. The user explicitly requested this bug report.

Recovery observed

Renaming the existing .codex directory and allowing the app to create a fresh one restores usability, according to the user. This is a disruptive workaround, not a durable fix. The exact triggering actions and whether each failure is a process exit versus an unresponsive window have not yet been established.

Read-only diagnostic findings

The preserved thread_history_1.sqlite files have sizes of 717,905,920; 667,357,184; and 901,091,328 bytes respectively. The newly created directory's main history database was 4,096 bytes at inspection (WAL files exist, so this is not total history storage). File size alone does not establish corruption or causality.

The pre-recovery desktop log contains repeated messages such as:

2026-10-05T04:35:15.711Z error [electron-message-handler] [desktop-notifications][global-error] ResizeObserver loop completed with undelivered notifications.

These continued repeatedly through approximately 04:35:24Z. Around 04:36:44Z the log shows missing browser route windows, app-server transports stopping, and an IPC write EPIPE warning. These may be shutdown consequences and are not confirmed causes. A later launch was logged around 04:39:31Z following the fresh-directory recovery.

No confirmed OOM or SQLite-corruption finding was obtained. Windows Application event-log inspection was denied by local permissions. No databases or settings were modified during diagnosis.

Expected behavior

The desktop app should remain usable without repeatedly resetting the entire user state directory. Please investigate the recurring failure and provide a supported recovery procedure that preserves chat history and settings.

Privacy

This report contains a sanitized diagnostic summary only. No authentication data, personal filesystem paths, configuration contents, session transcripts, or full logs are attached. Root cause remains unconfirmed.

Activity

  1. added
    bug
    app
    windows-os
    session
    on Oct 5, 2026
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

    appbugsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions