Codex Desktop continuously generates Crashpad pending dumps, growing without any limit: +5GB per day at least
Summary
Codex Desktop is continuously adding paired .dmp and _sidecar.json files under:
~/Library/Application Support/com.openai.codex/web/Crashpad/pending
On my machine this directory grew to 4.9G and 54,504 files in one day. The count continued increasing during investigation, so this appears to be active Crashpad dump generation rather than stale one-time leftovers.
The Codex Desktop app is still functional while this is happening. I can use the app, inspect the filesystem, and interact with GitHub from the same running session.
So the user-visible problem is not that Codex is fully crashing or unable to launch. The issue is that Crashpad is continuously generating pending dump/sidecar pairs in the background while the app remains usable, causing unbounded local disk growth.
I am not attaching minidumps publicly because they may contain memory, local paths, or private data. I can share the newest .dmp privately if OpenAI maintainers provide a safe upload path.
Environment
- Product: Codex Desktop app on macOS
- Codex app version:
26.527.60818 CFBundleVersion:3437- Crashpad/Electron annotation observed from live process:
prod=Codex_Mac,ver=148.0.7778.179 - macOS:
26.3.1 (25D771280a) - Architecture:
arm64
Observed evidence
Crashpad pending directory:
~/Library/Application Support/com.openai.codex/web/Crashpad/pending
Latest measurements:
4.9G ~/Library/Application Support/com.openai.codex/web/Crashpad/pending
54,504 files total
27,252 .dmp files
27,252 _sidecar.json files
Sampled pending file time range:
oldest sampled pending files: 2026-06-02 13:31:21 CEST
latest sampled pending files: 2026-06-02 21:08:24 CEST
During the investigation the count increased from 53,444 to 54,064, then to 54,504, which indicates the queue was still growing.
I also observed two Codex browser_crashpad_handler processes running under PPID=1 since Sat May 30 11:47:50 2026, both using the same Crashpad database:
/Applications/Codex.app/.../Helpers/browser_crashpad_handler \
--database=~/Library/Application Support/com.openai.codex/web/Crashpad \
--annotation=plat=OS X \
--annotation=prod=Codex_Mac \
--annotation=ver=148.0.7778.179
The local app remained usable enough to inspect/report this, so the visible issue is not just a normal foreground app crash. It looks like Crashpad or a monitored helper process is repeatedly generating pending dumps without bounding, upload/processing cleanup, or rotation.
Expected behavior
Crash reports should be bounded, uploaded/processed/rotated, or not continuously generated while the app remains usable.
Actual behavior
Pending Crashpad reports accumulate rapidly and consume multiple GB of local disk space.
Commands used to collect evidence
du -sh "$HOME/Library/Application Support/com.openai.codex/web/Crashpad/pending"
find "$HOME/Library/Application Support/com.openai.codex/web/Crashpad/pending" -maxdepth 1 -type f | wc -l
find "$HOME/Library/Application Support/com.openai.codex/web/Crashpad/pending" -maxdepth 1 -type f \
| sed 's/.*\.//' | sort | uniq -c | sort -nr
/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' /Applications/Codex.app/Contents/Info.plist
/usr/libexec/PlistBuddy -c 'Print :CFBundleVersion' /Applications/Codex.app/Contents/Info.plist
sw_vers
uname -m
ps ax -o pid,ppid,lstart,command \
| grep -E 'browser_crashpad_handler|com.openai.codex/web/Crashpad' \
| grep -v grep
Related issues
This may be related to other Codex Desktop helper/process cleanup reports:
- #25259: stale Crashpad helper after update/relaunch
- #11090: orphaned Codex processes and UI freezes
- #10627: prior Crashpad/macOS startup reports
14 Comments
Update: I cleared the files inside the Crashpad
pendingdirectory after filing this issue.Result immediately after cleanup:
So the bulk of the disk usage was recoverable by deleting pending reports, but new paired dump/sidecar files appeared immediately afterward. That supports the earlier observation that Crashpad dump generation is still active, not just a stale historical backlog.
I did not attach any
.dmpfiles publicly.<img width="661" height="263" alt="Image" src="https://github.com/user-attachments/assets/bbcc1630-c67b-42a2-b3e2-e1eeb8932bad" />
Same here, mine reached 59GB🫠. Even though we've hit the 65535 file system limit, the background process is still relentlessly trying to dump more files.
I am seeing the same issue on macOS with a newer Codex Desktop build, with a bit more diagnostic detail.
Environment
26.602.71036CFBundleVersion:3685ver=149.0.7827.54Impact observed
The pending directory grew to about
61G:Counts from the pending directory before cleanup:
After cleanup/reinstall/restart, the directory continued growing at roughly one crash report per second:
Key diagnostic detail
The newest
.dmpfiles contain this FATAL message frombrowser_crashpad_handleritself:So in this case it looks like
browser_crashpad_handleris crashing/restarting in a loop and writing paired.dmp/_sidecar.jsonfiles for itself.System diagnostic logs also show repeated
browser_crashpad_handlercrashes with:Related behavior
The in-app browser / Browser Use had previously become unavailable on this machine. During investigation, Codex logs repeatedly showed Browser Use / IAB lifecycle entries, and
browser_use_availability_resolved available=trueshortly before Crashpad kept generating dumps. That may or may not be the trigger, but the issue appears tied to the Codex Desktop browser/Chromium/Crashpad path.A reinstall did not fix it.
Disabling
browser@openai-bundled, disablingchrome@openai-bundled, and settingBROWSER_USE_AVAILABLE_BACKENDS = ""in~/.codex/config.tomlalso did not stop the dump growth after restart.Temporary workaround that stopped disk growth
Because macOS would not allow modifying
/Applications/Codex.app/.../browser_crashpad_handlereven withsudo(Operation not permitted), I worked around it by making the user Crashpad database read-only and immutable:After that, pending stayed at zero for the observed window:
This is only a disk-growth workaround, not a real fix, since it effectively prevents Codex from writing Crashpad reports.
I am too, just cleaned up 22G today
same issue on version 26.601.10930. cc @dnakov
I think this is fixed with later macos versions. at least in 26.5 it is
I ran into this exact same issue. Oh my god, no wonder my Mac's storage keeps getting full. Is Codex Desktop just a mountain of garbage code OpenAI built via vibe coding?
Both Claude and Codex have ZERO RESPECT for user's machines. Holy hell.
every json just 2 bytes+ 150KB, but the more serious thing behind is that, there are crash reports continously generating in
/System/Library/Caches/com.apple.coresymbolicationd/data<img width="688" height="442" alt="Image" src="https://github.com/user-attachments/assets/19e5ca7e-6476-44a5-84d2-43f14b61ea55" />
use this script to check your macOS.
<img width="791" height="573" alt="Image" src="https://github.com/user-attachments/assets/8a6e808d-6fd5-47bf-93c2-542f544daed2" />
---
script to view and clean the crash reports
---
after deleting, try delete this as well to reset Codex.
I hit what appears to be the same Crashpad pending-dump growth issue, but at a much larger scale.
Environment
26.611.62324CFBundleVersion:402815.6 (24G84)arm64149.0.7827.115Observed disk usage
The large growth was under the legacy app-data path:
Before cleanup, this directory contained:
File time range:
Daily distribution included multiple days above 13 GiB:
Largest observed dump files were still relatively small:
So the disk growth was caused by hundreds of thousands of small crash dumps, not a few large files.
Cleanup result
After deleting pending files, the legacy path is now empty:
The currently running Codex app appears to use a different app-data path:
Current size there is small:
That path difference may be relevant: the unbounded growth happened under
com.openai.codex/web/Crashpad, while the current running app usesCodex/Crashpad.I am not attaching
.dmpfiles publicly because they may contain private memory, paths, or local state. I can collect additional metadata or share a dump through a safe maintainer-provided upload path if useful.My temporary macOS workaround:
I’m clearing Codex’s pending Crashpad reports every 15 minutes to avoid the local buildup:
Setup on macOS:
crontab -eAdd the cron line above, save, then verify:
crontab -lThis deletes only files directly inside:
~/Library/Application Support/com.openai.codex/web/Crashpad/pendingIn case you also have that problem, there is yet another way this vibe coded app wastes disk space for me, see https://github.com/openai/codex/issues/25667#issuecomment-4758527276
I found a method which seems working well. clean up the folder as mentioned by @Jolg42 , then set it read-only.
I tested few hours. Now Codex cannot write any trash to this folder any more.
Crashpad/pending/onlyCrashpad/pending/+com.openai.codex.code_sign_cloneThis is a serious problem, it is rapidly damaging hardware in computers where memory is not replaceable. It must be fixed asap.