openai / openai/codex

macOS: slow launch — Crashpad/pending accumulates ~40k crash files; logs_2.sqlite grows unbounded

Open
#39,875 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

app bug performance
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:

  1. ~/Library/Application Support/Codex/Crashpad/pending accumulated ~43,000 *.dmp / *_sidecar.json files (~171 MB) over roughly a month. On launch, browser_crashpad_handler appears 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 .dmp files keep being written (crashes are still being captured).

  2. ~/.codex/logs_2.sqlite is ~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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.