White screen of death - Codex starts and then crashes immediately
What version of the IDE extension are you using?
26.519.32039
What subscription do you have?
Pro
Which IDE are you using?
VS Code
What platform is your computer?
Linux 6.6.99-09128-g14e87a8a9b71 aarch64 unknown
What issue are you seeing?
Any version of the Codex extension from the past 4 weeks crashes on start up.
What steps can reproduce the bug?
The last version that works for me is 26.429.30905 (4 weeks ago).
Any newer version either doesn't start, or starts and immediately crashes.
What is the expected behavior?
_No response_
Additional information
I am using VSCode with devcontianers.
Version: 1.121.0
Commit: f6cfa2ea2403534de03f069bdf160d06451ed282
Date: 2026-05-19T11:51:53+02:00
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux arm64 6.6.99-09128-g14e87a8a9b71
Connecting to a remote host running on:
Linux 6.17.0-22-generic x86_64 x86_64
<img width="1366" height="1070" alt="Image" src="https://github.com/user-attachments/assets/fb24907c-36f8-4efa-a4af-f7da3e7b7991" />
11 Comments
Console logs show:
Output logs shows nothing useful:
On latest version (
26.519.32039), still:Also,
and,
ChatGPT suggests: "it suggests the white screen may involve webview resource loading/caching repeatedly failing, not just the extension-host activation error."
I also reproduced the error on my laptop without remote or devcontainer involved.
However, starting a fresh vscode profile got the extension working.
then I installed Codex and it worked.
And, weirdly, after returning to my normal profile, Codex also started working again, including inside the devcontainer. I did not intentionally change extensions or settings.
Maybe failure involves stale extension host state, stale webview/service-worker cache, a half-completed extension update, or Codex app-server/IPC state (not necessarily a configuration issue)?
Update: The extension continued to work for a day but then stopped working again with the same issue, and restarting in a fresh profile did not get it working in the original workspace this time.
The fresh-profile result is interesting because it suggests at least two separate states may be involved:
PendingMigrationError: navigator is now a global in nodejs;For triage, I would try to separate extension activation from webview rendering:
PendingMigrationErrorappears before any Codex webview is opened;If maintainers can identify which cached state makes a good profile become bad again, this may be reproducible without the full devcontainer setup.
I'm getting this error more reliably when connecting from macOS VS Code 1.121.1 to a remote SSH machine with linux.
Downgrading VS Code to 1.115.0 helped.
My setup:
IDE version: 26.602.30954
VS Code version: 1.122.1 (via remote SSH tunnel to server)
OS: client: Darwin 25.5.0 arm64 arm; remote: Linux 6.1.0-35-arm64 aarch64 unknown
Duplicates of this issue: #25716, #26509, #24601
Seems like a lot of people experience this 😅
I’m also seeing a similar Codex IDE Extension issue on Linux + VS Code.
Observed behavior:
Impact:
Environment details I can provide later if needed:
I do not have complete logs attached yet, but the visible symptom was a blank Codex tab with only the loading spinner before the editor crash/freezing.
This issue seems to come and go periodically for me. For instance, I just noticed that restarting vscode with wayland made the issue appear, and restarting it with x11 made it work again. (I'm just documenting this because I have no idea what's causing it or how to reliably reproduce it yet.)
Additional data point from a local Fedora VS Code profile. This looks related to the same blank/white-screen class, but I found one concrete persisted VS Code state row that may help narrow it down.
Environment:
1.125.1, commitfcf604774b9f2674b473065736ee75077e256353,x64openai.chatgpt@26.616.32156Linux 7.0.12-201.fc44.x86_64 x86_64 unknownObserved behavior:
The most interesting evidence was in VS Code
workspaceStorage/<workspace-id>/state.vscdb. The workspace state said the Codex container was visible, but the child Codex webview view was hidden:The extension host log showed Codex activation and app-server initialization, so this did not look like a simple failure to activate the extension:
My current hypothesis is that an extension update / reload / multi-window sequence can leave VS Code persisted UI state in an inconsistent condition: the outer Codex view container remains visible, while
chatgpt.sidebarSecondaryViewis persisted as hidden. Once this state exists, the Codex panel can appear blank/non-rendering even though the extension activates.This may be separate from, or layered on top of, the webview/service-worker/cache issues discussed above. A useful mitigation might be for the extension to validate/reset its view-container state on activation, especially when
workbench.view.extension.codexSecondaryViewContaineris visible butchatgpt.sidebarSecondaryViewis hidden.Additional confirmed data point from Fedora 44 / local VS Code profile. I am adding this here instead of opening a new issue because it appears to be the same blank/white-screen webview failure class.
Environment:
1.128.0fc3def6774c76082adf699d366f31a557ce5573fopenai.chatgpt@26.707.31428Symptom:
The Codex container/view was visible and the extension activated, but the Codex webview did not finish rendering. The Codex log stopped after app-server initialization:
It did not reach:
Evidence:
The normal VS Code profile had stale Codex webview resources in:
The cache contained resources from many removed Codex extension versions, including:
Only
openai.chatgpt-26.707.31428-linux-x64was installed at the time.Validation:
I moved only these VS Code cache directories out of the profile:
I did not remove
~/.codex, the extension install, credentials, workspace storage, or global extension state.After restarting VS Code, Codex rendered again. The new log reached:
Impact:
This has happened more than once on my Linux environments. When it happens, the Codex IDE extension becomes unusable even though the extension appears installed and activated. The workaround requires knowing which VS Code webview/cache state to clear, which is not obvious to users.
This looks like Codex may need stronger webview asset cache busting / invalidation after extension updates, or at least a startup diagnostic/recovery path when the app-server initializes but the webview renderer never mounts.
Correction and stronger native-crash evidence from my Fedora/Ubuntu investigation.
My previous comment attributed recovery too strongly to stale Webview cache. Cache cleanup did restore one launch, but subsequent controlled reproductions show that stale cache contents are not the current root cause.
Environment
1.128.0, commitfc3def6774c76082adf699d366f31a557ce5573f42.5.0, Chromium148.0.7778.271openai.chatgpt@26.707.31428Confirmed native signature
I now have seven relevant Crashpad dumps: three from Fedora and four from Ubuntu. All seven have the same signature:
The source address is page-aligned. The faulting libc AVX load reads at
source + 0x40013, in the final page implied by the advertised span. The direct VS Code/Electron caller invokesmemcpyand returns atcode+0x9fada74in every dump.Static mapping of the VS Code/Chromium build places this path at:
The crashing process is a renderer for a
vscode-webview://origin loading the installed Codex Webview assets.The newest dump was created at
2026-07-10 20:01:51 +08:00after a complete VS Code Window State reset:I am not uploading raw dumps publicly because they can contain process memory, but I can provide them through a private maintainer channel.
Failure boundary
During failed launches, the extension host and bundled Codex app-server are alive and initialization succeeds:
The Webview never reaches:
Inspection of the installed Webview bundle shows that React rendering waits for the Webview RPC
remoteMain.servicesobject. That bootstrap uses VS Codewebview.postMessage()/onDidReceiveMessage()and has no timeout or retry. If the renderer dies, the visible panel remains blank indefinitely even though the extension and app-server initialized successfully.Controls and exclusions
workspaceStoragedirectories, cleared window restoration references, and removed 53 global Workbench/Webview layout keys while VS Code was closed. The very next ordinary launch produced the seventh matching SIGBUS. Window State is not the native-crash root cause.One additional launch-path observation: repeated external launches with
currently avoid the failure on this host, while the normal desktop launcher and VS Code's internal
vscode.openFolder(..., { forceNewWindow: true })path can still fail. This suggests a window/Webview creation timing or lifecycle difference;forceNewWindowthrough the extension API is not operationally equivalent to the external CLI path for this bug.Maintainer actions that would help
0x40033.BigBuffershared-memory mapping/backing size and lifetime for that message on Linux.The exact sender and shared-memory lifetime error require product symbols/instrumentation, but the cross-machine native signature and failure boundary are now deterministic enough for maintainer triage.