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] Main process repeatedly crashes when closing built-in browser tabs: C0000005 / chrome.dll+0x532F638 #54493
changed the title [-][Windows] 内置浏览器关闭标签时主进程反复崩溃:C0000005 / chrome.dll+0x532F638[/-][+][Windows] Main process repeatedly crashes when closing built-in browser tabs: C0000005 / chrome.dll+0x532F638[/+]on Oct 16, 2026
The main process of the Codex Windows desktop app repeatedly crashes when the agent closes built-in browser tabs and cleans up webviews, continually interrupting work. The user is sometimes working in other applications, and the close action comes from the browser API, so this cannot be attributed to the user manually exiting Codex. The issue still recurs after upgrading the app.
Please forward this issue to the Windows desktop / built-in browser engineering team to use internal symbols to check the lifetimes of native windows and associated data hosts during destruction, and provide a fixed version or the minimum requirements for additional diagnostics. The user wants to continue using the built-in browser; switching to an external browser should not be considered a fix.
Environment
Windows 11 x64, OS version 26200.
App version: 26.1007.71326.
MSIX package identity: OpenAI.Codex; package version: 26.1007.9446.0; main process: ChatGPT.exe.
Bundled chrome.dll file version: 155.0.8059.40.
Similar crashes also occurred previously with app 26.1007.21434 / package 26.1007.2314.0.
Actual scenario and reproduction limits
The agent uses the Codex built-in browser normally during real tasks.
The browser API closes a tab through Target.closeTarget, with reason=target-close recorded in the logs.
After webview disposed, guest torn down, and closed browser sidebar page, the main process encounters a native exception and exits entirely.
Recorded incidents: 2026-10-14 19:03; 10-15 09:49, 09:55, 12:06; 10-16 09:56, 11:19, 11:35 (all UTC+8). It does not reproduce on every close. Repeatedly opening and closing blank pages did not trigger the issue and cannot be used as evidence that it has been fixed for real tasks.
Expected: Closing a built-in browser tab should release the associated objects normally, while the main application and other tasks continue running.
Latest complete capture: 2026-10-16 11:35 (UTC+8)
Captured using Microsoft ProcDump running independently of the Codex process tree. The dumps were analyzed offline only on the local machine using Microsoft's debugging engine:
The exception/thread contexts and module records were recovered and cross-checked from the incomplete dump from October 16 at 11:19; its fault RVA and EF pointer value match this complete dump.
Stack and evidence about the queried object
After downloading the exactly matching Windows public PDBs, the stack shows a native window destruction path:
At the fault, the key pointed to by RDX is readable as BrowserActions::kDataKeyImpl; a nearby string is the Chromium source path chrome/browser/ui/browser_actions.cc. Disassembly at the direct call site shows a pointer being retrieved from offset 0x7A8 of the receiver object, the associated data host being retrieved at offset 0xA8, and then an EF pointer being dereferenced while querying a tree structure.
Assessment and limitations
An object lifetime error or use-after-free during window/view destruction is strongly suspected. The specific freed object and its allocation/free stacks have not yet been confirmed.
Private PDBs matching this chrome.dll were unavailable from the Microsoft / Electron public symbol services checked. Therefore, V8 / Node function names displayed by the debugger as nearby exported names plus huge offsets should not be treated as accurate identifications of the responsible functions. Please confirm using exact internal symbols rather than assigning responsibility based solely on nearby exported names.
No changes have been made to code in the installation directory, GPU settings, input methods, the account database, or work projects. There is currently no verified local fix.
Related existing reports include #30178 and #46644, but they describe different trigger stages / fault offsets, so they cannot yet be determined to share the same root cause. This report adds the window-closing signature for the current version and the captured destruction call chain.
Privacy and follow-up materials
Only a sanitized technical summary is being made public here. Raw dumps, complete logs, chat contents, work-related URLs, account information, and local paths have not been uploaded. The raw dumps contain potentially sensitive memory, and the user has explicitly requested that they remain only on the local machine for now. If the engineering team does need them, please first specify the minimum data requirements and an official secure submission channel, then let the user decide.
Activity
[-][Windows] 内置浏览器关闭标签时主进程反复崩溃:C0000005 / chrome.dll+0x532F638[/-][+][Windows] Main process repeatedly crashes when closing built-in browser tabs: C0000005 / chrome.dll+0x532F638[/+]github-actions commentedon Oct 16, 2026
English translation:
Problem and impact
The main process of the Codex Windows desktop app repeatedly crashes when the agent closes built-in browser tabs and cleans up webviews, continually interrupting work. The user is sometimes working in other applications, and the close action comes from the browser API, so this cannot be attributed to the user manually exiting Codex. The issue still recurs after upgrading the app.
Please forward this issue to the Windows desktop / built-in browser engineering team to use internal symbols to check the lifetimes of native windows and associated data hosts during destruction, and provide a fixed version or the minimum requirements for additional diagnostics. The user wants to continue using the built-in browser; switching to an external browser should not be considered a fix.
Environment
Actual scenario and reproduction limits
Recorded incidents: 2026-10-14 19:03; 10-15 09:49, 09:55, 12:06; 10-16 09:56, 11:19, 11:35 (all UTC+8). It does not reproduce on every close. Repeatedly opening and closing blank pages did not trigger the issue and cannot be used as evidence that it has been fixed for real tasks.
Expected: Closing a built-in browser tab should release the associated objects normally, while the main application and other tasks continue running.
Latest complete capture: 2026-10-16 11:35 (UTC+8)
Captured using Microsoft ProcDump running independently of the Codex process tree. The dumps were analyzed offline only on the local machine using Microsoft's debugging engine:
Native exception signature:
The exception/thread contexts and module records were recovered and cross-checked from the incomplete dump from October 16 at 11:19; its fault RVA and EF pointer value match this complete dump.
Stack and evidence about the queried object
After downloading the exactly matching Windows public PDBs, the stack shows a native window destruction path:
At the fault, the key pointed to by RDX is readable as BrowserActions::kDataKeyImpl; a nearby string is the Chromium source path chrome/browser/ui/browser_actions.cc. Disassembly at the direct call site shows a pointer being retrieved from offset 0x7A8 of the receiver object, the associated data host being retrieved at offset 0xA8, and then an EF pointer being dereferenced while querying a tree structure.
Assessment and limitations
An object lifetime error or use-after-free during window/view destruction is strongly suspected. The specific freed object and its allocation/free stacks have not yet been confirmed.
Private PDBs matching this chrome.dll were unavailable from the Microsoft / Electron public symbol services checked. Therefore, V8 / Node function names displayed by the debugger as nearby exported names plus huge offsets should not be treated as accurate identifications of the responsible functions. Please confirm using exact internal symbols rather than assigning responsibility based solely on nearby exported names.
chrome.dll SHA-256:
No changes have been made to code in the installation directory, GPU settings, input methods, the account database, or work projects. There is currently no verified local fix.
Related existing reports include #30178 and #46644, but they describe different trigger stages / fault offsets, so they cannot yet be determined to share the same root cause. This report adds the window-closing signature for the current version and the captured destruction call chain.
Privacy and follow-up materials
Only a sanitized technical summary is being made public here. Raw dumps, complete logs, chat contents, work-related URLs, account information, and local paths have not been uploaded. The raw dumps contain potentially sensitive memory, and the user has explicitly requested that they remain only on the local machine for now. If the engineering team does need them, please first specify the minimum data requirements and an official secure submission channel, then let the user decide.
github-actions commentedon Oct 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action