CLI crashing mid session

Resolved 💬 3 comments Opened Jun 7, 2026 by sighmon Closed Jun 19, 2026

What version of Codex CLI is running?

codex-cli 0.137.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5, medium reasoning

What platform is your computer?

Darwin 24.6.0 x86_64 i386

What terminal emulator and version are you using (if applicable)?

zsh 5.9 (x86_64-apple-darwin24.0)

Codex doctor report

What issue are you seeing?

Midway through a branch Codex keeps crashing.

What steps can reproduce the bug?

Uploaded thread: 019e9a3c-c170-76e0-818f-9c9451d1f1c7

What is the expected behavior?

Codex continues without crashing.

Additional information

_No response_

View original on GitHub ↗

3 Comments

sighmon · 2 months ago

Further information:

  • Codex app (Intel) managed to finish off the work on the branch (it did also crash, but recovered with a refresh button press)
  • After merging the branch, this morning the CLI is working again without crashing
sighmon · 2 months ago

Notes from Codex on my crash logs:

Even with all flags disabled, CLI 0.139.0 still unconditionally starts codex_code_mode::runtime::spawn_runtime.

The flags hide the feature but do not prevent V8 initialization.

It then hits the identical failure at (line 474): V8 cannot set executable-memory permissions because the Intel binary’s JIT entitlements/signature are invalid.

sighmon · 2 months ago

Fixed with codex-cli 0.140.0 thank you.