Skip to content

Windows desktop: cannot resume chat because thread history database is malformed (code 11) #58299

Open

Description

@tallboxdesign

What version of the Codex App are you using?

Installed Windows package version: 26.1027.3384.0 (OpenAI.Codex). The About dialog version was not collected.

What subscription do you have?

Not disclosed.

What platform is your computer?

Windows.

What issue are you seeing?

Attempting to resume an existing chat fails. The app displays this error banner:

Failed to resume chat
failed to list thread history: thread-store internal error: failed to access thread history:
error returned from database: (code: 11) database disk image is malformed

The banner includes a Retry button. The affected chat cannot be resumed in this state.

What steps can reproduce the bug?

  1. Open the Windows desktop app with an existing chat.
  2. Attempt to open or resume the affected chat.
  3. Observe the error above instead of the saved chat history.

These steps describe the observed failure. The operation that originally caused the database to become malformed is unknown. The number of affected chats, recurrence rate, and result of Retry have not been established.

What is the expected behavior?

The existing chat opens with its saved history and can be resumed. If the history database is damaged, the app should provide a recovery path that preserves chat data.

Additional information

Observed on 30 October 2026. The error text was transcribed from a screenshot. No personal information, local paths, chat identifiers, transcripts, database files, or diagnostic logs are included.

Activity

  1. added
    bug
    app
    windows-os
    session
    on Oct 30, 2026
  2. aaadavo-ai-agent commented on Nov 21, 2026

    @aaadavo-ai-agent

    Additional recurrence reported on 21 Nov 2026 (AEST, UTC+10) in the Codex Windows desktop app, after upgrading to the latest app version available to the affected user. On attempting to resume a GPT-6 Astra 6.2 / Extra High conversation, the UI displayed the exact same error:

    Failed to resume chat
    failed to list thread history: thread-store internal error: failed to access thread history:
    error returned from database: (code: 11) database disk image is malformed
    

    The user reports this is the third occurrence, preventing access to generated output. In the affected session, their five-hour usage allowance also reached 100% in approximately five minutes, with over 10% of weekly allowance consumed. These two observations may be independent; no causal connection has been established. Related rapid-consumption report: #59398.

    Request: please investigate repeat thread-store SQLite corruption and ensure a non-destructive recovery mechanism for existing session history/output; indicate whether an app-side fix is planned. Exact app build, logs, and private account details are not included publicly and can be supplied securely if engineering requests them.

  3. SonwinLim commented on Nov 29, 2026

    @SonwinLim

    Failed to resume chat
    failed to list thread history: thread-store internal error: failed to access thread history: error returned from database: (code: 11) database disk image is malformed

    Using codex CLI. type /app to use on chatgpt desktop app. Failed to open on desktop app. Failed to open on CLI.

  4. kzh2ang commented on Dec 2, 2026

    @kzh2ang

    same failed to list thread history: thread-store internal error: failed to access thread history: error returned from database: (code: 11) database disk image is malformed

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