App Crashes When Opening Settings
Open 💬 8 comments Opened Jul 14, 2026 by ParvenuDev
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.72221
What subscription do you have?
Plus
What platform is your computer?
Darwin 25.5.0 arm64 arm patrick@Patricks-MacBook-Pro-2 ~ %
What issue are you seeing?
When I go to settings page of the Codex (ChatGPT work), the app crashes.
What steps can reproduce the bug?
- Open Settings in Codex
- App crashes
What is the expected behavior?
App not crashing
Additional information
I tried to debug using Sol. Didn't work. I've reinstalled the app. Didn't work. Made sure it was on the latest version. Didn't work.
8 Comments
Update: Settings still crashes after reinstall and full local reset
This remains 100% reproducible.
Environment
Reproduction
Cmd+,.The rest of the app is currently usable, but Settings cannot be opened.
Troubleshooting already attempted
None of these steps resolved the Settings crash. The full profile reset also temporarily removed my local task history, which I had to restore from a backup.
Crash evidence
The macOS diagnostic reports consistently show:
ChatGPTEXC_BREAKPOINT (SIGTRAP)CrBrowserMainv8::internal::OptimizingCompileTaskExecutor::RunCompilationJobv8::String::NewFromUtf8node::StringDecoder::DecodeDatanode::fs::AfterIntegerImmediately before several crashes, the application log records successful external-agent detection:
Inspection of the packaged application indicates that opening Settings enables external-agent detection automatically. I could not find a supported preference or feature flag to disable that detection.
Current assessment
This appears to be a native desktop-app bug triggered while Settings processes a nonempty Claude Code detection result. It does not appear to be fixed by reinstalling the application or resetting normal ChatGPT/Codex state.
Could the team please provide one of the following?
The application is not realistically usable for me while opening Settings consistently terminates the entire process.
I can reproduce this on the same app version (
26.707.72221, build5307) on macOS 26.3 / Apple Silicon. I inspected six.ipsreports from July 14–15; all show the same native main-processEXC_BREAKPOINT (SIGTRAP)signature onCrBrowserMain, with recurring frames inv8::String::NewFromUtf8,node::StringDecoder::DecodeData, andnode::fs::AfterInteger.The bundled
codex doctor --jsonreports installation, config, auth, MCP config, local state databases, networking, and updates as healthy.Immediately before multiple crashes, desktop logs show successful
account/readandconfig/read, followed by successfulexternal-agent-importdetection forclaude-code; the process dies before Claude Cowork detection reports completion. This machine has a large Cowork session history with many JSONL files, including files over 50 MB, so the Settings page's automatic cross-agent import scan appears correlated with the crash.Full sanitized diagnostics and suggested bounds/streaming fixes: #33283
I have the same problem in VSCode.
Codex version 26.715.31925.
VSCode version 1.129.1.
OS: MacOS Sequoia 15.6
When I try to open settings via "VSCode Sidebar -> Gear icon -> Codex settings" it waits a bit and then gives me this pop-up:
The window is not responding
You can reopen or close the window or keep waiitng.
Same crash, with additional diagnosis: the OOM is in external-agent-import detection, and there's no way to disable it.
Reproduced deterministically on macOS (Apple Silicon), app build 26.715.31925, Codex CLI 0.145.0-alpha.18. Settings crashes every launch. Running the app from the terminal shows it's a V8 heap OOM, and the last log line before death is always the external-agent import scan:
Memory climbs to the ~3.85GB V8 ceiling and aborts, immediately after the
claude-codeprovider'sdetectstage.Things I ruled out by testing (crash persists through all of them):
~/.codexrollout files.~/.codexentirely (blank profile) — still crashed.~/.claudeand~/.claude.json— still crashed..jsonlover 40MB aside (including 261MB and multiple 50–80MB files) — still crashed.--js-flags="--max-old-space-size=8192"— still crashed (just took longer to hit the higher ceiling).Because it still OOMs even after the large files are gone, the problem isn't one giant file — the detection pass itself is unbounded (appears to read/accumulate matched content into memory rather than streaming or capping it).
Second, separate issue: there is no way to turn this off. The import feature is documented as an opt-in manual action under Settings → General → Import other agent setup (https://developers.openai.com/codex/import), but the detection pass runs automatically on Settings open. There's no documented
config.tomlkey, environment variable, or launch flag to disable external-agent detection — so the only control lives inside the one screen the bug prevents from opening. A documented off-switch (e.g. a config flag to skip external-agent detection) would unblock every affected user immediately, independent of the memory fix.Suggested fixes: run detection off the main thread; cap/stream file reads during detection instead of loading whole files; and add a config flag to disable external-agent import entirely.
Any update?
I can confirm this is still happening on the latest desktop app.
Environment:
com.openai.codex)Reproduction:
The issue persists after updating to the latest available version.
Still reproducible on the latest available build.
Environment:
26.721.81911(build5973)150.0.7871.12826.5.2(25F84)Mac15,9I reproduced four matching crashes across July 29–30. The current two macOS diagnostic reports show the same deterministic signature:
EXC_BREAKPOINT (SIGTRAP)CrBrowserMainv8::String::NewFromUtf8→node::StringDecoder::DecodeData→node::fs::AfterIntegerThe app logs end after successful
config/readandaccount/readoperations triggered while navigating Settings. There is no preceding configuration parse error.Additional validation:
5848to5973.5973is current.This reinforces that the failure is in the desktop app’s Settings/main-process path rather than damaged local configuration. Raw
.ipsreports are available privately if maintainers provide a secure upload route.I know this may seem insanely obvious but I asked ChatGPT Work/Codex to diagnose and repair itself. It found the crash logs and it took a few passes but it found an overlap with a large Claude folder, edited itself and fixed the problem. Give it a shot.