Skip to content

[Windows] Desktop exits on startup with chrome.dll 0x80000003 after large image attachments persist in queued-follow-ups #52912

Open

Description

@1eaf-YZQ

Environment

  • Windows 11 Pro 26H2, OS build 26300.9550
  • OpenAI.Codex Windows package 26.1007.2314.0
  • Chromium module version from dump: 155.0.8059.40
  • Sandbox service: running

Observed behavior

After submitting high-resolution photo attachments from a Sony A7R V in a local task, the app launched its window but silently exited ~6 seconds later. codex-windows-sandbox-service.exe remained alive. Earlier, after switching to cloud execution, the Send button was greyed out; that issue may be separate.

Crashpad sidecar reported capture_kind=crash, osarch=x86_64, ptype=browser. WinDbg on the browser-process minidump reported:

PROCESS_NAME: ChatGPT.exe
EXCEPTION_CODE: 0x80000003
MODULE_NAME: chrome
IMAGE_NAME: chrome.dll
FAILURE_BUCKET_ID: BREAKPOINT_80000003_chrome.dll!Unknown
Timeline.Process.Start.DeltaSec: 6

The preserved %USERPROFILE%\.codex\.codex-global-state.json was ~211.79 MiB. Its queued-follow-ups field was ~211.53 MiB (99.88%). A structure-only scan detected two inline data:image/ payloads: PNG 139.85 MiB and JPEG 71.67 MiB (encoded sizes), totaling 211.52 MiB. The old folder also held many large temporary copies of global state.

Steps attempted

  1. Verified OpenAI.Codex package status Ok and sandbox service Running.
  2. Isolated LocalCache\Roaming\Codex alone: still crashed.
  3. Renamed %USERPROFILE%\.codex to a timestamped backup (no deletion): startup/login worked. The fresh global-state JSON was around 234 KiB.
  4. Some local-only conversation/project history disappeared from the UI with the fresh directory, so the backup was retained.

Expected behavior

Large queued attachments should not make the desktop browser process crash at startup. If a queued item is too large or invalid, the app should safely reject or discard it with an actionable error, preserving accessible local history.

Open questions

  • Is persisting full image Data URLs inside queued-follow-ups expected?
  • Can size limits / out-of-line attachments / startup recovery prevent failure?
  • Is the greyed-out Send button in cloud mode related or unrelated?

Confidence and privacy

The oversized queued state and recovery after isolating .codex are confirmed. The precise breakpoint cause and any causal relationship to cloud mode are not confirmed by a single-field A/B test. No private photos, authentication data, full state JSON or dump files are attached.

Activity

  1. added
    bug
    app
    windows-os
    session
    on Oct 10, 2026
  2. github-actions commented on Oct 10, 2026

    @github-actions
    Contributor
  3. ChaJi-home commented on Oct 13, 2026

    @ChaJi-home

    Additional evidence from another affected Windows installation, submitted at the user's request with Codex assistance. This appears closely related to this issue; the exact native crash signature has NOT been confirmed on this machine.

    Environment and impact

    • Installed Windows x64 package: OpenAI.Codex 26.1007.2314.0 (package metadata, not About dialog).
    • A custom model provider was configured; provider credentials and account details are omitted.
    • User reports that attaching the same PBR texture set causes the app to exit and subsequently fail to reopen. Clearing the profile restored usability but required recovering chats and sidebar organization.
    • Two independent preserved failure states were inspected read-only. No deliberate crash reproduction was performed during diagnosis.

    Two occurrences with the same image payloads

    Evidence 2026-10-12 2026-10-13
    Global-state file bytes 227,075,406 220,630,308
    Affected queued item JSON characters 220,430,572 220,430,717
    Queue createdAt (UTC) 09:50:08.850Z 04:58:57.604Z
    Corresponding main-process log ends (UTC) 09:50:08.871Z 04:58:57.622Z
    Submission pending, queueModeOverride=queue pending, queueModeOverride=queue

    Both files parse as valid JSON. All four inline PNG data URLs match by SHA-256 across the two occurrences. Their combined encoded length is 220,426,324 characters, approximately 99.91% of the second state file. The first file also contains an unrelated older queued image.

    The four PNGs are 4096 x 4096, 16-bit:

    • Opacity, grayscale: 157,114 bytes; data URL 209,510 characters.
    • Height, grayscale: 26,341,983 bytes; data URL 35,122,666 characters.
    • AO, grayscale: 30,291,547 bytes; data URL 40,388,754 characters.
    • Normal, RGBA: 108,529,027 bytes; data URL 144,705,394 characters.

    Storage location: queued-follow-ups.<redacted-thread-id>[0].context.imageAttachments[].src.

    On October 13, another startup log begins at 04:59:09Z and stops after requesting the React root render at 04:59:14Z. Both pre-exit logs end with an existing Workspace routing is unavailable warning for a bodyless usage GET; this warning also occurs earlier, so it is not established as the cause. Log cessation is not an exact measurement of process death.

    Relevant static inspection

    Read-only inspection of this installed package found:

    • updateQueuedFollowUps calls updateAndPersist for the queue key.
    • That persistence path JSON-stringifies the whole state and synchronously writes/renames the main state file, then its .bak.
    • Startup reads and JSON-parses the state synchronously.
    • The window update notification contains key names; we did not establish that each notification broadcasts the entire payload.

    This suggests investigating oversized state serialization, loading, attachment handling and IPC, but does not establish which operation actually fails.

    Comparisons and diagnostic limits

    • Another four-image set with identical dimensions/bit depth/channel layout, totaling 111,269,324 PNG bytes, previously entered execution. That initial turn is recorded as interrupted, so it is not evidence of complete success or a safe size threshold.
    • Providing filesystem paths instead of original image attachments allowed the C4D MCP material task to complete and save a material scene. No full render was tested.
    • After recovery excluding the oversized queue, the inspected active state was 199,378 bytes with an empty queue.
    • About 127 GiB physical memory was available in total, with about 69 GiB free at diagnostic time, NOT at crash time.
    • No corresponding crash dump, confirmed OOM, or native stack was obtained. No controlled single-field or plugin A/B test was performed. This report does not attribute the issue to Chrome extensions or C4D.

    Please investigate file-backed attachment references, queue payload bounds, and startup isolation/recovery for oversized entries so this failure cannot make existing chats/settings inaccessible.

    Private images, local usernames/paths, thread IDs, prompts, raw state/log files, credentials, and application bundles are not included in this public comment.

  4. Karatanov commented on Oct 13, 2026

    @Karatanov

    Potential recovery for users seeing startup 0x80000003 in chrome.dll (one user-confirmed case, 2026-10-13): An affected Windows 11 Enterprise build 22631 user with OpenAI.Codex 26.1007.2314.0 reports that complete removal and fresh reinstall of the Codex Windows app fixed the crash. In their case, previous Repair/Reset and reinstall efforts, clean ~/.codex/Chromium profiles, verified Primary Runtime installation, and a --disable-gpu test had failed. The recommended successful-attempt workflow was to remove the app via Get-AppxPackage -Name OpenAI.Codex | Remove-AppxPackage -ErrorAction Stop, restart Windows, then reinstall from the official Microsoft Store; the user confirmed the full-reinstall outcome rather than each individual step separately. Latest analyzed dump before recovery: 0x80000003, chrome.dll +0xB2C2A34. Not a guaranteed fix or established root cause. Further details: #52684.

  5. BrianSJT commented on Oct 20, 2026

    @BrianSJT

    Additional evidence: Windows app 26.1013, 433 MiB queued image state, targeted recovery and memory measurements

    Reporting another affected installation at the user's request. This adds a single queued-item removal test, without resetting the profile or deleting chat history. It appears related to this issue; this installation's exact native crash signature has not been established.

    Environment

    • Windows x64, OS version 10.0.26300.
    • Installed Microsoft Store package: OpenAI.Codex 26.1013.4894.0.
    • Reported internal app version: 26.1013.40934, build 20770; Chromium 155.0.8059.80.
    • The app's update check reported up_to_date during diagnosis on 2026-10-20.

    Observed failure and persisted state

    • Ordinary typing, switching chats and using conversations repeatedly caused UI reloads; the application also exited/restarted.
    • During a 2026-10-20 09:57–10:12 (UTC+08:00) observation, five distinct main-process IDs and seven new unique Crashpad sidecars were recorded across both the MSIX and non-MSIX Crashpad locations.
    • Disabling GPU acceleration in an earlier test did not eliminate subsequent renderer crash reports.
    • Both $CODEX_HOME/.codex-global-state.json and its .bak were 454,409,713 bytes (~433.36 MiB) and valid JSON.
    • Nearly all of the state was attributable to one queued message containing 11 inline JPEG Data URLs at:
      queued-follow-ups.<redacted-thread-id>[0].context.imageAttachments[].src
      
    • This item's pausedReason was submission-outcome-unknown. Another unrelated queued message was only about 2.4 KiB.

    Targeted recovery and validation

    1. Preserved complete copies of both state files and verified their SHA-256 hashes.
    2. Stopped the app to avoid an in-memory copy overwriting the repair.
    3. Removed only the identified 11-image queued message from the main state and backup. Parsed-value comparison verified all other state values, including the unrelated queued message, were retained.
    4. Before relaunch, hashes of 22 protected database/configuration/index files were unchanged. No chat database, authentication file or user configuration was edited by the repair.
    5. Relaunched in normal GPU mode and observed for 180 seconds (35 process samples). The main PID stayed constant; zero new crash sidecars appeared in either Crashpad location. The removed message remained absent and the unrelated queued message remained present.
    6. Both the thread metadata and chat-history databases passed read-only SQLite PRAGMA quick_check.
    Measurement Before repair/restart End of 180-second observation
    Global-state file 454,409,713 bytes 473,876 bytes (~463 KiB)
    All ChatGPT.exe processes, summed private memory 7,643.73 MiB 1,874.06 MiB
    Main-process private memory 3,809.18 MiB 339.23 MiB
    Largest renderer private memory 1,929.14 MiB 562.44 MiB

    The cleaned file was initially 473,314 bytes; ordinary startup/activity subsequently brought it to 473,876 bytes. Total measured private memory decreased 75.5%.

    A post-restart config.toml hash change was separately resolved: its only change was the generated mcp_servers.node_repl.env.SKY_CUA_NATIVE_PIPE_DIRECTORY UUID. Recovering the old value from the prior process's startup log reproduced the exact pre-repair file SHA-256. All other configuration bytes and user preferences were preserved.

    Interpretation and limits

    • The oversized persisted queue item and the large memory reduction after its isolated removal are verified. The comparison also includes a restart, so it does not isolate restart effects from payload-removal effects.
    • There is no native stack, confirmed OOM diagnosis, or proof that this is the original report's chrome.dll breakpoint. Three startup renderers appeared briefly in samples; their exit codes were not captured, so these are not classified as crashes.
    • Three minutes without new crash reports establishes short-term improvement, not permanent resolution. A deterministic minimal reproduction with synthetic images has not been performed; private originals are not being published.

    Please investigate file-backed attachment references rather than large inline payloads in global UI state, queue size bounds, and per-item startup recovery/discard controls that preserve unrelated state and history.

    This comment contains only sanitized technical findings. Original images, prompts, account/thread identifiers, raw state/config/log files, dumps and proprietary application source are not attached.

  6. Tmikerg commented on Oct 23, 2026

    @Tmikerg

    Additional Windows occurrence: one queued PNG, targeted recovery, and recurrence on 2026-10-23

    Submitted at the affected user's request with Codex assistance. This appears to be the same oversized persisted-attachment problem; this installation's native crash signature has not been established.

    Environment

    • Windows x64; desktop startup logs report OS version 10.0.26200.
    • The initial local repair record identified Windows package OpenAI.Codex 26.1016.8120.0. The later recurrence/startup logs reference 26.1016.8622.0.
    • Later desktop logs report internal app version 26.1016.62342, build 21477. These are package/log values, not an About-dialog reading.
    • Follow-up setting at failure diagnosis: desktop.followUpQueueMode = "queue".

    Observed failure and directly inspected state

    During an image-editing conversation, the application unexpectedly exited and subsequently exited repeatedly on startup. The initial repair tool's process samples show ChatGPT.exe processes present at +12 seconds and absent at +14 seconds.

    The preserved original .codex-global-state.json parses as valid JSON and contains exactly one queued message with one image attachment:

    Measurement Value
    Original global-state file 136,903,915 bytes (~130.56 MiB)
    Inline PNG Data URL 136,120,918 characters (~129.81 MiB)
    Decoded original PNG 102,090,670 bytes (~97.36 MiB)
    PNG dimensions / format 5330 x 3553, 16-bit RGB

    The large payload is at:

    queued-follow-ups.<redacted-thread-id>[0].context.imageAttachments[0].src
    

    Recovery and recurrence

    1. The initial repair record shows that the original state was backed up and queued-follow-ups was cleared in the main state and its backup, without resetting the whole profile. The state shrank to roughly 0.74 MiB; the recorded startup test remained running for 30 seconds and backend logging resumed. The preserved original and cleaned-state contents were subsequently inspected independently. This is evidence of targeted recovery, not a fresh, controlled repeated A/B experiment.
    2. At 2026-10-23 14:02 (UTC+08:00), another incomplete global-state .bak.tmp-* file was created, measuring 120,061,952 bytes (~114.50 MiB). Its readable prefix contains a different queued-message ID and another inline PNG. The first 100,000 characters of that Data URL exactly match the original attachment's Data URL. The temporary file ends inside the Base64 payload. This is a new queue occurrence, rather than merely an unchanged temporary file from the first incident.
    3. At the later inspection, the active state was approximately 743 KiB and its queue was empty. The default follow-up setting was then backed up and changed from queue to steer as a precaution. The persisted setting was verified; hot-reload behavior and long-term prevention have not been established.

    Expected behavior / investigation request

    Large attachments should be handled or rejected with a useful error, without making the application repeatedly fail to start. Please investigate file-backed attachment references, persisted queue size bounds, and per-item startup recovery that preserves unrelated settings and conversation history.

    Diagnostic limits and privacy

    No native stack or confirmed out-of-memory error was obtained. Aggregate memory samples alone do not establish OOM, and we do not assert the same chrome.dll / 0x80000003 signature as the original report. The short recovery observation does not establish a permanent fix. No deliberate new crash/stress test was performed after recovery.

    This comment contains sanitized technical findings only. Original images, message text, account/thread identifiers, local usernames/paths, raw state/config/log files, dumps and application bundles are omitted.

    Related oversized PNG report: #51261.

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