Skip to content

[Windows][Desktop] Typing / crashes MSIX-launched Codex with Chromium breakpoint exception #38310

Open

Description

@advait

Summary

On Windows, typing the forward slash character (/) into the Codex desktop app composer deterministically terminates the entire application. The same crash occurs with a physical keyboard and Windows On-Screen Keyboard.

Debugger and runtime testing isolate the failure to the Microsoft Store/MSIX package-identity launch context. The identical packaged executable renders the slash-command menu successfully when launched directly without MSIX package identity.

Environment

  • Microsoft Store package: OpenAI.Codex 26.803.10989.0
  • Internal app release: 26.803.81509
  • Executable: ChatGPT.exe
  • Electron: 42.3.0
  • Chromium: 151.0.7922.76
  • Architecture: x64
  • Platform: Windows

Reproduction

  1. Launch Codex normally through the installed Microsoft Store/MSIX app entry.
  2. Focus the task composer.
  3. Type /.
  4. The entire application exits immediately.

The crash is deterministic.

Expected behavior

Typing / should open the slash-command menu.

Actual behavior

The browser process terminates immediately with no visible error dialog.

Input and third-party-software exclusions

The failure was reproduced using:

  • A Keychron physical keyboard.
  • Windows On-Screen Keyboard.
  • Windows On-Screen Keyboard after unplugging the Keychron keyboard and YubiKey.

DisplayFusion was initially installed and had injected its hook DLL. It was then fully uninstalled; its processes, services, and loaded modules were verified absent. The crash remained unchanged.

Other trigger characters work:

  • @ opens its panel normally.
  • $ opens its panel normally.

This indicates that general keyboard input and general composer-panel creation work. The failure is specific to the slash-command path.

Crash evidence

Crashpad sidecars are created at each reproduction and identify a browser-process crash:

{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

The normal application log ends abruptly without a JavaScript exception or stack trace.

WinDbg result

Attaching WinDbg/CDB to the main browser process and typing / captures a deterministic breakpoint exception:

Exception code: 0x80000003 (breakpoint)
Module: chrome.dll
Instruction: chrome.dll+0x9362037
Failure bucket: BREAKPOINT_80000003_chrome.dll!Unknown
Failure hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
WER process version: 151.0.7922.76

The stack passes through:

USER32!UserCallWinProcCheckWow
USER32!DispatchMessageWorker
chrome.dll frames
ChromeMain
ChatGPT.exe

This is a Chromium deliberate breakpoint/CHECK-style termination in the Windows message loop, rather than an access violation, out-of-memory condition, or project subprocess failure. Public symbols were insufficient to resolve the internal Chromium assertion.

Static analysis of the packaged application

The packaged app.asar was extracted and the composer command code inspected.

The ProseMirror matcher classifies:

  • / as slash-command
  • @ as at-mention
  • $ as skill-mention

The registry selects slash commands using the equivalent of:

commands.filter(command =>
  (command.triggers ?? ["/"]).includes(trigger)
)

Because / is the default trigger, it selects all commands whose triggers property is omitted. No obviously malformed static definition was found.

Live renderer inspection

A second isolated instance was launched with Chromium remote debugging, and a source breakpoint was placed at the slash-command registry filter.

The live registry contained 12 commands:

service-tier:priority
feedback
goal
mcp
memories
model
pet
plan-mode
reasoning
status
usage
project

All entries had:

  • unique string IDs
  • string titles
  • valid icon functions
  • valid submenu structures

No duplicate or malformed command data was observed.

Decisive control experiment: MSIX identity

The packaged executable was launched directly with an isolated user-data directory and --disable-features=ProcessSingleton, instead of through the Microsoft Store/MSIX application entry.

In that directly launched instance:

  • The same account/session was available.
  • The same 12-command slash registry loaded.
  • Typing / rendered the command menu correctly.
  • The application did not crash.

Returning to the normally MSIX-launched app reproduced the crash immediately.

Therefore the current evidence indicates:

same binary + same account + same slash-command registry
MSIX-launched                    -> crash
direct executable, no identity   -> works

Probable failure area

A Chromium/Electron native Windows CHECK appears to be triggered during the slash-menu window/message transition only when the process has the Codex MSIX package identity.

This does not appear to be:

  • a keyboard/HID problem
  • a DisplayFusion hook problem
  • a generic popup-rendering problem
  • malformed slash-command registry data
  • a project or shell subprocess crash

Workaround

Launching the packaged ChatGPT.exe directly, outside the MSIX app activation path, avoids the crash in testing. The executable path is version-dependent, so this is only a temporary workaround.

Suggested engineering investigation

  1. Symbolize chrome.dll+0x9362037 for Chromium 151.0.7922.76.
  2. Inspect CHECK/ASSERT paths reached from the Windows message loop when opening the slash-command UI under package identity.
  3. Compare HWND ownership, activation, popup, input-method, and app-identity behavior between MSIX activation and direct executable launch.
  4. Reproduce using the Store package while entering / in the composer.
  5. Test whether a newer Electron/Chromium build changes the behavior.

Privacy

Usernames, local paths, project contents, prompts, credentials, and raw logs have intentionally been omitted. Additional debugger output can be provided after privacy review.

Activity

  1. added
    bug
    app
    windows-os
    on Aug 13, 2026
  2. github-actions commented on Aug 13, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. advait commented on Aug 13, 2026

    @advait
    Author

    Correction and refined workaround

    Further controlled testing shows that bypassing MSIX activation alone is not sufficient, so the original report's conclusion that MSIX package identity is the decisive variable was too strong.

    Additional results

    The following direct-launch variants still crashed when typing /:

    1. Direct packaged executable with a new isolated profile:

      ChatGPT.exe --disable-features=ProcessSingleton --user-data-dir=<new-profile>
      
    2. The same direct launch with an ephemeral remote-debugging port:

      ChatGPT.exe --remote-debugging-port=0 --disable-features=ProcessSingleton --user-data-dir=<new-profile>
      

    The process command lines were inspected and confirmed that these were genuinely direct ChatGPT.exe processes using the requested isolated profile; they were not being absorbed by the normally launched Store instance.

    Exact configuration that works

    Returning to the original diagnostic profile created during live renderer/CDP inspection, with the exact original arguments, makes the slash menu work consistently:

    ChatGPT.exe ^
      --remote-debugging-port=9223 ^
      --user-data-dir=<original-instrumented-profile> ^
      --disable-features=ProcessSingleton
    

    The user has now confirmed that the currently running process launched this way accepts / and opens the slash-command menu without crashing.

    Revised interpretation

    The data currently supports a profile/state-dependent native Chromium CHECK, potentially involving some persisted Chromium/Electron state, rather than a clean MSIX-vs-direct-launch distinction.

    Current matrix:

    Normal Store/MSIX profile                         -> crashes
    Direct launch + newly created isolated profile    -> crashes
    Direct launch + new profile + debug port          -> crashes
    Direct launch + original instrumented profile
      + fixed debug port 9223                         -> works
    

    The original diagnostic profile was created fresh for the CDP experiment. Therefore the precise state difference that suppresses the crash remains unidentified. Possibilities include persisted window geometry/state, feature state, first-run/profile initialization state, CDP-related state, or another profile-local preference.

    Please treat the original report's assertion that MSIX package identity is causal as retracted. The WinDbg crash signature, deterministic reproduction, input-device exclusions, slash-registry inspection, and command-data validation remain valid.

    A useful next comparison would be a structured diff of non-sensitive Chromium/Electron preference and local-state keys between the crashing fresh profile and the working diagnostic profile, followed by one-variable-at-a-time reproduction.

  4. YihongTools commented on Sep 15, 2026

    @YihongTools

    Additional crash evidence from a newer Windows Store build, with a different trigger profile but the same WinDbg failure hash as this issue.

    Environment

    • Microsoft Store package: OpenAI.Codex_26.908.4834.0_x64__2p2nqsd0c76g0
    • Packaged ChatGPT.exe / chrome.dll version: 152.0.7977.83
    • Crash time: 2026-09-15 10:45:42 local time
    • Package status remained Ok
    • No AppX update / servicing event occurred around the crash
    • No corresponding Windows Application Error / WER / Hang event was recorded

    Observed behavior

    The desktop app had been running for about 21 hours and then exited silently while the machine was idle / no user interaction was known at the time.

    At the exact crash time:

    • Crashpad created a 44,884,448-byte minidump
    • sidecar reported:
    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}
    • Microsoft-Windows-AppModel-Runtime/Admin Event 217 recorded termination of the OpenAI.Codex_26.908.4834.0 desktop AppX container
    • all ChatGPT.exe / codex.exe processes were gone afterward

    This incident is distinct from a previous post-update hidden-window incident on the same machine: there was no package update at this crash time.

    WinDbg result

    !analyze -v on the preserved Crashpad dump:

    PROCESS_NAME:  ChatGPT.exe
    Failure.Bucket: BREAKPOINT_80000003_chrome.dll!Unknown
    Failure.Exception.Code: 0x80000003
    Failure.Exception.IP.Module: chrome
    Failure.Exception.IP.Offset: 0x938cce7
    Failure.Hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
    WER.Process.Version: 152.0.7977.83
    IMAGE_NAME: chrome.dll
    

    The faulting instruction is a deliberate breakpoint:

    chrome.dll+0x938cce7: cc  int 3
    

    The stack passes through the Windows message loop and Chromium main process:

    USER32!UserCallWinProcCheckWow
    USER32!DispatchMessageWorker
    chrome.dll frames
    chrome!ChromeMain
    ChatGPT.exe
    

    Public/export symbols resolve nearby names unreliably, so I am not claiming the displayed V8 export name is the actual root-cause function. The reliable facts are the browser/main process, 0x80000003, bundled chrome.dll, the offset above, and the failure hash.

    Important correlation with this issue

    The failure hash is exactly the same as the one reported here on Chromium 151.0.7922.76:

    {be0d4058-7058-b7fb-5291-62cb1f25d882}
    

    That makes this look like the same Chromium/Electron CHECK-style crash bucket surviving into 152.0.7977.83, but with a different trigger profile. In this newer incident there was no known / keypress or other foreground interaction immediately before the crash.

    So I would not yet claim the trigger is the slash-command path itself; the stronger conclusion is that the same native browser-process failure bucket can also occur after long uptime / apparent idle.

    Dump retention

    Raw minidump is retained locally and not attached publicly because it may contain private process memory.

    Dump SHA-256:

    40583B812456121E54C9BE20856DE39F24F76CC2ACE4C96948D6FB52C665B786
    

    If maintainers have private Chromium/Electron symbols, symbolizing chrome.dll+0x938cce7 for 152.0.7977.83 and comparing it with the original 151.0.7922.76 bucket would likely be the most useful next step.

  5. YihongTools commented on Sep 15, 2026

    @YihongTools

    Additional clarification for the 26.908.4834.0 / Chromium 152 crash case I reported above:

    No Codex in-app Browser/webview was open or being used at the time of the crash, and there was no separate Chrome browser interaction involved.

    The Crashpad sidecar's ptype=browser refers to Chromium/Electron's browser/main process (the main ChatGPT.exe host process), not to the Codex Browser feature.

    Relevant local evidence from the dump remains:

    PROCESS_NAME: ChatGPT.exe
    ExceptionCode: 0x80000003
    IMAGE_NAME: chrome.dll
    IMAGE_VERSION: 152.0.7977.83
    Failure bucket: BREAKPOINT_80000003_chrome.dll!Unknown
    Failure hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
    

    The stack passes through USER32!UserCallWinProcCheckWow, USER32!DispatchMessageWorker, Chromium frames, chrome!ChromeMain, and ChatGPT.exe.

    So this appears to be a Chromium/Electron browser/main-process CHECK/breakpoint on the Windows UI/message-loop path, not a webpage or Browser-feature crash. The user was not actively interacting with the app when it terminated; the process had been running for roughly 21 hours, and there was no AppX update at the crash time.

    This strengthens the possibility that the / shortcut in the original report is one trigger into the same underlying native CHECK path rather than the only trigger.

  6. YihongTools commented on Sep 16, 2026

    @YihongTools

    Second independent recurrence, now confirmed on a newer Codex package revision.

    Environment / package history:

    • Previous crash: OpenAI.Codex 26.908.4834.0
    • Package was later updated to OpenAI.Codex 26.908.9136.0 (likely following a manual update attempt; I am not asserting this was an automatic update)
    • The 26.908.9136.0 process had been running for ~14 hours before the next crash
    • There was no AppX deployment activity at the 2026-09-16 09:25 crash time; the only nearby AppModel event was the container termination immediately after the crash

    WinDbg confirms the crashing images were from the newer package:

    C:\Program Files\WindowsApps\OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0\app\ChatGPT.exe
    C:\Program Files\WindowsApps\OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0\app\chrome.dll
    

    Both ChatGPT.exe and chrome.dll are still Chromium 152.0.7977.83.

    The second dump reproduces the exact same native crash signature as the prior occurrence:

    PROCESS_NAME: ChatGPT.exe
    Failure.Bucket: BREAKPOINT_80000003_chrome.dll!Unknown
    Failure.Exception.Code: 0x80000003
    Failure.Exception.IP.Offset: 0x938cce7
    Failure.Hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
    IMAGE_NAME: chrome.dll
    IMAGE_VERSION: 152.0.7977.83
    

    The stack again passes through:

    USER32!UserCallWinProcCheckWow
    USER32!DispatchMessageWorker
    ...
    chrome!ChromeMain
    ChatGPT.exe
    

    The faulting instruction is again int 3 at chrome.dll+0x938cce7.

    Crash timeline for this second occurrence:

    • 2026-09-16 09:25:42: Crashpad dump created, browser/main-process crash
    • 2026-09-16 09:25:43: AppModel Event 217 terminates the OpenAI.Codex_26.908.9136.0 desktop AppX container

    This means the same Chromium native CHECK path is reproducible across at least two Codex Desktop package revisions (26.908.4834.0 and 26.908.9136.0) while both package revisions ship Chromium 152.0.7977.83.

    Also to clarify the earlier report: no Codex in-app Browser/webview was open or being used when these idle/background crashes happened. Here, ptype=browser refers to Chromium/Electron's browser/main process (ChatGPT.exe), not the Codex Browser feature.

    Second dump metadata:

    • Size: 45,052,288 bytes
    • SHA-256: 6C96BF31AA0AE1BC197BB55E0184686FD112D86C244C0422E9A5EA541508B324

    Raw dumps are retained locally and not attached publicly because they may contain process memory/private data.

  7. YihongTools commented on Sep 16, 2026

    @YihongTools

    Third independently captured recurrence on the same machine, this time after only about 66 minutes of process uptime.

    Environment

    • Microsoft Store package: OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0
    • Packaged ChatGPT.exe / chrome.dll version: 152.0.7977.83
    • Crashpad dump: 815e6cf1-0bbb-4657-8252-cd393e73a749.dmp
    • Timeline.Process.Start.DeltaSec: 3961 (~66m 1s)

    WinDbg result

    The crash signature is again identical:

    PROCESS_NAME: ChatGPT.exe
    Failure.Bucket: BREAKPOINT_80000003_chrome.dll!Unknown
    Failure.Exception.Code: 0x80000003
    Failure.Exception.IP.Module: chrome
    Failure.Exception.IP.Offset: 0x938cce7
    Failure.Hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
    WER.Process.Version: 152.0.7977.83
    IMAGE_NAME: chrome.dll
    

    The faulting instruction is again:

    chrome.dll+0x938cce7: cc  int 3
    

    The stack again passes through:

    USER32!UserCallWinProcCheckWow
    USER32!DispatchMessageWorker
    chrome.dll frames
    chrome!ChromeMain
    ChatGPT.exe
    

    lmvm confirms both ChatGPT.exe and chrome.dll came from:

    C:\Program Files\WindowsApps\OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0\app\
    

    This is a separate dump from the earlier 2026-09-16 morning crash (d83f4f9e-...dmp). The short ~66-minute uptime is significant because it weakens the earlier hypothesis that long process uptime is a prerequisite or major trigger. A fresh restart is therefore not a reliable mitigation.

    At this point there are three independently captured crashes with the same native failure signature:

    2026-09-15  26.908.4834.0  ~21h uptime
    2026-09-16  26.908.9136.0  ~14h uptime
    2026-09-16  26.908.9136.0  ~66m uptime
    

    All three hit the same 0x80000003, chrome.dll+0x938cce7, and Failure Hash {be0d4058-7058-b7fb-5291-62cb1f25d882}.

    Raw dumps are retained locally and can be provided privately if maintainers need them.

  8. YihongTools commented on Sep 16, 2026

    @YihongTools

    Another independent recurrence on the same Windows machine, again with the exact same native crash signature.

    Latest recurrence

    • Crash dump: Codex-crash-20260916-140344.dmp
    • Microsoft Store package: OpenAI.Codex_26.908.9136.0_x64__2p2nqsd0c76g0
    • Packaged ChatGPT.exe / chrome.dll: 152.0.7977.83
    • Process uptime before crash: 9370s (~2h36m)

    WinDbg:

    PROCESS_NAME: ChatGPT.exe
    Failure.Bucket: BREAKPOINT_80000003_chrome.dll!Unknown
    Failure.Exception.Code: 0x80000003
    Failure.Exception.IP.Module: chrome
    Failure.Exception.IP.Offset: 0x938cce7
    Failure.Hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
    WER.Process.Version: 152.0.7977.83
    

    The stack is again the same shape:

    USER32!UserCallWinProcCheckWow
    USER32!DispatchMessageWorker
    chrome.dll frames
    chrome!ChromeMain
    ChatGPT.exe
    

    Disassembly at the faulting RIP starts with:

    chrome.dll+0x938cce7: cc    int 3
    chrome.dll+0x938cce8: 0f0b  ud2
    chrome.dll+0x938ccea: cc    int 3
    ...
    

    This is consistent with a deliberate native trap/CHECK-style termination path rather than a random access violation.

    At this point I have observed the same failure bucket/hash/offset across four independent crashes with very different process uptimes:

    ~21h
    ~14h
    ~1h06m
    ~2h36m
    

    So long uptime is not a necessary condition, and restarting the desktop app before work is not a reliable workaround.

    The raw dump is retained locally and not attached publicly because it may contain private process memory. The strongest invariant across these recurrences remains the same browser/main-process 0x80000003 at chrome.dll+0x938cce7 with failure hash {be0d4058-7058-b7fb-5291-62cb1f25d882}.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions