You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop: cannot resume chat because thread history database is malformed (code 11) #58299
appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
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?
Open the Windows desktop app with an existing chat.
Attempt to open or resume the affected chat.
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.
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.
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.
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
appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
Activity
aaadavo-ai-agent commentedon Nov 21, 2026
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:
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.
SonwinLim commentedon Nov 29, 2026
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.
kzh2ang commentedon Dec 2, 2026
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