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 app crashes with access violation in chrome.dll during embedded browser cleanup #50799
Microsoft Store package: OpenAI.Codex 26.930.2377.0.
Bundled chrome.dll: 154.0.8037.93.
What subscription do you have?
Not specified in this report.
What platform is your computer?
Windows 11 Pro, x64, build 26300.
What issue are you seeing?
The Windows desktop app has closed unexpectedly several times. ProcDump captured one native crash on October 4, 2026, at 01:16:44 EDT / 05:16:44 UTC.
Exception: 0xC0000005 — invalid pointer read
Fault location: chrome.dll+0x507dec8
Fault instruction: cmp qword ptr [rax+20h],rdx
RAX: 0xEFEFEFEFEFEFEFEF
Process exited at 05:16:49 UTC with exit code 0xC0000005
Native stack includes win32u!NtUserDestroyWindow and user32!_fnNCDESTROY
Immediately before the fault, app logs recorded embedded browser sidebar webview disposal, guest teardown, and closure of the final embedded browser tab. This is a suspected correlation, not a confirmed root cause.
What steps can reproduce the bug?
The closures are intermittent; reliable reproduction steps are not yet established. In the captured occurrence, the app had been running for approximately 80 minutes and embedded browser cleanup occurred immediately before the crash.
What is the expected behavior?
The app should remain running when an embedded browser tab or webview is closed.
Additional information
I retained a full first-chance dump, approximately 1.3 GB, plus a termination dump and app logs locally. Please provide a private upload method, since the dumps may contain sensitive process memory.
Matching symbols were unavailable from Microsoft, Electron, and Chromium symbol servers. Please symbolize the fault using:
PDB: chrome.dll.pdb
GUID: 58DBB2D9-C0BC-2E10-4C4C-44205044422E
Age: 1
Please investigate the browser/window cleanup path for this build.
I reviewed #50519 and its comments. A shared root cause is possible, but the published evidence does not establish this issue as a duplicate, so I am keeping it open pending a matching crash signature or maintainer confirmation.
Both reports include Windows x64 build 26300 and a main-process 0xC0000005 read access violation. That exception code alone is not enough to identify the same bug.
Our captured crash has a specific signature:
MSIX 26.930.2377.0, chrome.dll version 154.0.8037.93
Fault at chrome.dll+0x507dec8
Instruction cmp qword ptr [rax+20h],rdx, with RAX=0xEFEFEFEFEFEFEFEF
Native stack includes NtUserDestroyWindow / _fnNCDESTROY
Embedded browser sidebar webview disposal and guest teardown immediately precede the fault
Main process terminates with exit code 0xC0000005
#50519 does not publish the earlier main-process fault's module identity, offset, register values, or stack, so those cannot currently be compared. Its later update explicitly describes a separate renderer 0x80000003 / INT3 crash on MSIX 26.930.3930.0, while the main process remained alive. That later event differs from our captured main-process termination.
The UI version reported in #50519 is also a different version field from our MSIX version, so I am not treating those numbers as proof of different builds.
Could maintainers compare #50519's earlier main-process access-violation dump with this signature? We still have the first-chance full dump locally and can provide it through a private upload channel.
Additional diagnostic evidence from another Windows installation: repeated desktop exits with Crashpad ptype=browser metadata immediately after in-app Browser Use tab cleanup. This may be related, but the same native crash signature cannot be confirmed without a dump.
Environment verified on 2026-10-04:
Installed Microsoft Store/MSIX package: OpenAI.Codex 26.930.3930.0, x64 (package version, not About-dialog version).
These are artifact timestamps, not precisely measured native exception times. The package version was verified at diagnosis time, not for every older occurrence.
The latest three desktop logs end immediately after Browser Use tab closure and PiP metadata:
06:34:11.855Z renderer disposed browser sidebar webview
06:34:11.860Z browser sidebar guest torn down
06:34:11.863Z renderer removed browser sidebar webview; tabType=closed
06:34:11.864Z closed browser sidebar page
06:34:11.864Z tab lifecycle action=closed; appBrowserTabCount=2; appBrowserUseTabCount=0
06:34:11.869Z Received Browser Use PiP metadata; backend=iab; browserID=2; tabID=undefined
Earlier inspected logs ending at October 3 06:55:05.109, 07:46:40.693, and 08:38:15.125 UTC also end with Browser Use tab closure. A deterministic minimal reproduction has not been established.
No native minidump remained in the inspected Crashpad reports directory, so no exception code, fault offset, or stack trace is available. A seven-day query of Windows Application events 1000/1001/1002 found no matching application crash event; it did find a separate Oct 2 RADAR_PRE_LEAK_64 warning for ChatGPT.exe, which does not establish memory exhaustion or causation. At diagnosis time approximately 16 GB of 32 GB RAM was free; this was not measured at crash time.
Please investigate Browser Use webview/guest cleanup and PiP lifecycle handling, and advise how to capture or privately upload native diagnostics. Closing a browser tab should leave the desktop app and conversation running. No raw session logs, private identifiers, or memory dumps are attached.
Matching symbols remain unavailable, so the exact source function/root cause is unknown.
The original October 4 capture was an invalid pointer read at chrome.dll+0x507dec8. This new capture has a different access type and fault offset. A shared underlying cause remains possible, but this is not a confirmed repeat of the exact earlier crash signature. The earlier browser-cleanup correlation has not been verified for this new occurrence.
Four new full dumps are retained locally, including the useful first-chance file ChatGPT.exe_261005_004008.dmp (approximately 1.1 GB). Please provide a private upload method if engineering needs these dumps to compare the two signatures.
Additional occurrence on October 6, 2026: the Windows desktop app exited immediately after in-app Browser Use tab/webview cleanup. Crashpad identifies a browser/main-process crash. This may be related to this issue, but there is no native dump to compare exception codes or fault offsets.
Environment
Windows 11 Pro 25H2, x64, build 26200.9168.
Affected Microsoft Store/MSIX package: OpenAI.Codex 26.930.3930.0, verified from paths in the affected desktop log (package version, not About-dialog version).
The incident occurred at approximately 13:20:32 NZDT / 00:20:32 UTC.
The log ends at the final entry above. The next desktop launch is recorded at 00:20:41.315 UTC.
Unlike some occurrences already described here, this was not the final in-app browser tab: 13 app browser tabs and one Browser Use tab were still reported after closure, and the final PiP metadata used tabID=1, not undefined.
Earlier at 00:19:55.587 UTC, repeated Browser Use executeCdp:DOM.getFrameOwner requests failed with Frame with the given id was not found. This is preceding context; neither these errors nor the cleanup sequence establishes the root cause.
No native minidump remains in the inspected Crashpad reports directory, and targeted Windows Application event queries found no matching recent app-crash record. The native exception code, faulting module/offset and stack are therefore unavailable.
Separate update restart
A later restart at approximately 00:26:56 UTC followed update_resume_state_saved threadCount=4 at 00:26:48.821 UTC, with the installed package subsequently verified as 26.930.4958.0. That later update restart is separate from the Crashpad-backed 00:20 incident.
Please investigate Electron/Chromium browser guest teardown, debugger listener disposal and Browser Use PiP lifecycle handling. Closing an embedded browser tab should leave the desktop app and active conversations running. Please advise how to retain native crash diagnostics for a future occurrence.
Only sanitized excerpts are included; no raw session logs, personal filesystem paths, conversation identifiers, credentials or memory dumps are attached.
The exception record reports attempted read address 0xFFFFFFFFFFFFFFFF.
Native stack again includes user32!_fnNCDESTROY and win32u!NtUserDestroyWindow.
Only export symbols were available for chrome.dll; printed function names with large offsets do not identify the exact source function.
This shares the October 4 capture's instruction, RAX pattern, and window-destruction stack context. The module version and fault offset differ, so it is not a confirmed identical crash signature. The October 5 write-access-violation capture remains a separate signature.
Browser cleanup immediately preceding the fault
Sanitized entries from the saved desktop log, all UTC:
18:27:19.864 renderer synced browser use webview state; isBrowserUseActive=false
18:27:19.864 renderer disposed browser sidebar webview
18:27:19.871 browser sidebar guest torn down
18:27:19.878 renderer removed browser sidebar webview; tabType=closed
18:27:19.902 Received Browser Use PiP metadata; backend=iab; browserID=2; tabID=undefined
The log ends at the final PiP entry, just before ProcDump's access-violation capture. This corroborates the browser-cleanup timing reported in this issue, but does not establish root cause. Windhawk is also loaded in the dump; its presence alone does not establish responsibility, and it has not been disabled.
Troubleshooting change after the crash
Later that evening, I configured the documented Windows system requirements.toml setting:
[features]
in_app_browser = false
The bundled codex.exe features list reports in_app_browser as false. This disables the built-in browser pane; browser_use and external-browser features were not disabled. Desktop behavior after the next launch and any effect on recurrence are not yet verified. This is a troubleshooting experiment, not a confirmed fix.
Two full dumps, each approximately 1 GB, remain local: ChatGPT.exe_261006_142720.dmp and ChatGPT.exe_261006_142724.dmp. The capture watcher remains running and will reattach when the app reopens. Please provide a private upload method if engineering needs the dumps to symbolize and compare the window/guest teardown path. No raw session logs or memory dumps are attached.
Activity
github-actions commentedon Oct 4, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
radialmonster commentedon Oct 4, 2026
I reviewed #50519 and its comments. A shared root cause is possible, but the published evidence does not establish this issue as a duplicate, so I am keeping it open pending a matching crash signature or maintainer confirmation.
Both reports include Windows x64 build 26300 and a main-process
0xC0000005read access violation. That exception code alone is not enough to identify the same bug.Our captured crash has a specific signature:
26.930.2377.0,chrome.dllversion154.0.8037.93chrome.dll+0x507dec8cmp qword ptr [rax+20h],rdx, withRAX=0xEFEFEFEFEFEFEFEFNtUserDestroyWindow/_fnNCDESTROY0xC0000005#50519 does not publish the earlier main-process fault's module identity, offset, register values, or stack, so those cannot currently be compared. Its later update explicitly describes a separate renderer
0x80000003/ INT3 crash on MSIX26.930.3930.0, while the main process remained alive. That later event differs from our captured main-process termination.The UI version reported in #50519 is also a different version field from our MSIX version, so I am not treating those numbers as proof of different builds.
Could maintainers compare #50519's earlier main-process access-violation dump with this signature? We still have the first-chance full dump locally and can provide it through a private upload channel.
JesstLe commentedon Oct 4, 2026
Additional diagnostic evidence from another Windows installation: repeated desktop exits with Crashpad
ptype=browsermetadata immediately after in-app Browser Use tab cleanup. This may be related, but the same native crash signature cannot be confirmed without a dump.Environment verified on 2026-10-04:
OpenAI.Codex 26.930.3930.0, x64 (package version, not About-dialog version).chrome.dllfile/product version:154.0.8037.98.10.0.26200, x64.0.160.0.Eight retained Crashpad sidecars contain:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Sidecar file modification timestamps (UTC):
These are artifact timestamps, not precisely measured native exception times. The package version was verified at diagnosis time, not for every older occurrence.
The latest three desktop logs end immediately after Browser Use tab closure and PiP metadata:
backend=iab browserID=2 tabID=undefinedSanitized October 4 sequence:
Earlier inspected logs ending at October 3 06:55:05.109, 07:46:40.693, and 08:38:15.125 UTC also end with Browser Use tab closure. A deterministic minimal reproduction has not been established.
No native minidump remained in the inspected Crashpad reports directory, so no exception code, fault offset, or stack trace is available. A seven-day query of Windows Application events 1000/1001/1002 found no matching application crash event; it did find a separate Oct 2
RADAR_PRE_LEAK_64warning forChatGPT.exe, which does not establish memory exhaustion or causation. At diagnosis time approximately 16 GB of 32 GB RAM was free; this was not measured at crash time.Please investigate Browser Use webview/guest cleanup and PiP lifecycle handling, and advise how to capture or privately upload native diagnostics. Closing a browser tab should leave the desktop app and conversation running. No raw session logs, private identifiers, or memory dumps are attached.
radialmonster commentedon Oct 5, 2026
Additional main-process crash captured on October 5, 2026. The desktop app closed again after being reopened.
Capture timeline
Times below are UTC (local timezone EDT, UTC-4):
C0000005.ACCESS_VIOLATION; full dump captured.C0000005; second dump captured.0xFFFF7001; a termination dump was captured.These records belong to the same main process and should not be counted as three independent app crashes.
First-chance dump findings
chrome.dll, version 154.0.8037.93, as in the original report.0xC0000005, write to address0x0.chrome.dll+0x6608aa0.mov dword ptr [0],356h.INVALID_POINTER_WRITE_c0000005_chrome.dll!Unknown.The original October 4 capture was an invalid pointer read at
chrome.dll+0x507dec8. This new capture has a different access type and fault offset. A shared underlying cause remains possible, but this is not a confirmed repeat of the exact earlier crash signature. The earlier browser-cleanup correlation has not been verified for this new occurrence.Four new full dumps are retained locally, including the useful first-chance file
ChatGPT.exe_261005_004008.dmp(approximately 1.1 GB). Please provide a private upload method if engineering needs these dumps to compare the two signatures.jono-cell commentedon Oct 6, 2026
Additional occurrence on October 6, 2026: the Windows desktop app exited immediately after in-app Browser Use tab/webview cleanup. Crashpad identifies a browser/main-process crash. This may be related to this issue, but there is no native dump to compare exception codes or fault offsets.
Environment
26200.9168.OpenAI.Codex 26.930.3930.0, verified from paths in the affected desktop log (package version, not About-dialog version).Evidence
A retained Crashpad sidecar contains exactly:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Its last-write timestamp is 2026-10-06 00:20:32.984 UTC. This is an artifact timestamp, not a precisely measured exception time.
Sanitized final desktop log sequence, all UTC:
The log ends at the final entry above. The next desktop launch is recorded at 00:20:41.315 UTC.
Unlike some occurrences already described here, this was not the final in-app browser tab: 13 app browser tabs and one Browser Use tab were still reported after closure, and the final PiP metadata used
tabID=1, notundefined.Earlier at 00:19:55.587 UTC, repeated Browser Use
executeCdp:DOM.getFrameOwnerrequests failed withFrame with the given id was not found.This is preceding context; neither these errors nor the cleanup sequence establishes the root cause.No native minidump remains in the inspected Crashpad reports directory, and targeted Windows Application event queries found no matching recent app-crash record. The native exception code, faulting module/offset and stack are therefore unavailable.
Separate update restart
A later restart at approximately 00:26:56 UTC followed
update_resume_state_saved threadCount=4at 00:26:48.821 UTC, with the installed package subsequently verified as26.930.4958.0. That later update restart is separate from the Crashpad-backed 00:20 incident.Please investigate Electron/Chromium browser guest teardown, debugger listener disposal and Browser Use PiP lifecycle handling. Closing an embedded browser tab should leave the desktop app and active conversations running. Please advise how to retain native crash diagnostics for a future occurrence.
Only sanitized excerpts are included; no raw session logs, personal filesystem paths, conversation identifiers, credentials or memory dumps are attached.
radialmonster commentedon Oct 6, 2026
Additional main-process crash captured October 6, 2026, again immediately following embedded Browser Use webview/guest cleanup.
The app was left running unattended and was later found closed. ProcDump provides the crash time; the disappearance was not directly observed.
Capture timeline
Times are UTC (local EDT is UTC-4):
C0000005.ACCESS_VIOLATION; full exception dump captured.0xC0000005; termination dump captured.First-chance dump findings
OpenAI.Codex_26.930.7945.0, x64.chrome.dllfile/product version:154.0.8037.98.0xC0000005, read access violation.chrome.dll+0x51e53a8.cmp qword ptr [rax+20h],rdx.RAX=0xEFEFEFEFEFEFEFEF.0xFFFFFFFFFFFFFFFF.user32!_fnNCDESTROYandwin32u!NtUserDestroyWindow.Only export symbols were available for
chrome.dll; printed function names with large offsets do not identify the exact source function.This shares the October 4 capture's instruction, RAX pattern, and window-destruction stack context. The module version and fault offset differ, so it is not a confirmed identical crash signature. The October 5 write-access-violation capture remains a separate signature.
Browser cleanup immediately preceding the fault
Sanitized entries from the saved desktop log, all UTC:
The log ends at the final PiP entry, just before ProcDump's access-violation capture. This corroborates the browser-cleanup timing reported in this issue, but does not establish root cause. Windhawk is also loaded in the dump; its presence alone does not establish responsibility, and it has not been disabled.
Troubleshooting change after the crash
Later that evening, I configured the documented Windows system
requirements.tomlsetting:The bundled
codex.exe features listreportsin_app_browserasfalse. This disables the built-in browser pane;browser_useand external-browser features were not disabled. Desktop behavior after the next launch and any effect on recurrence are not yet verified. This is a troubleshooting experiment, not a confirmed fix.Two full dumps, each approximately 1 GB, remain local:
ChatGPT.exe_261006_142720.dmpandChatGPT.exe_261006_142724.dmp. The capture watcher remains running and will reattach when the app reopens. Please provide a private upload method if engineering needs the dumps to symbolize and compare the window/guest teardown path. No raw session logs or memory dumps are attached.