macOS: slow launch — Crashpad/pending accumulates ~40k crash files; logs_2.sqlite grows unbounded
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
App version: 26.818.31338 (Codex desktop, bundle id com.openai.codex)
Platform: macOS 13.7 / Apple Silicon
What issue are you seeing?
The desktop app is consistently the slowest to launch on this machine. A read-only investigation surfaced two concrete problems:
-
~/Library/Application Support/Codex/Crashpad/pendingaccumulated ~43,000*.dmp/*_sidecar.jsonfiles (~171 MB) over roughly a month. On launch,browser_crashpad_handlerappears to process this backlog, which correlates with the slow startup. During investigation the backlog was flushed to near-empty by the app itself, but fresh.dmpfiles keep being written (crashes are still being captured). -
~/.codex/logs_2.sqliteis ~102 MB while holding only ~15 MB of live data — it grows without any rotation/size cap.
Expected behavior
Fast, stable launch; crash-report metadata and logs should be rotated/cleaned instead of growing unbounded.
Additional notes
No account/diagnostic specifics included. Happy to attach sanitized logs on request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting ~/Library/Application Support/Codex/Crashpad/pending and ~/.codex/logs_2.sqlite, then reproduce launch timing and storage growth on macOS. Done means crash-report files and log storage are rotated or cleaned instead of growing unbounded, while launch remains fast and stable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust, sqlite
- Domain
- databases, desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100