macOS 26.3.1 arm64: terminal runner fails because node-pty spawn-helper segfaults immediately
Open 💬 1 comment Opened Mar 8, 2026 by symhc12345
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.305.950 (863)
What subscription do you have?
chatgpt plus
What platform is your computer?
Darwin 25.3.0 arm64 arm
What issue are you seeing?
On macOS 26.3.1 (build 25D2128) on Apple Silicon (arm64), Codex cannot run any terminal command.
Symptoms:
- Every terminal/tool execution inside Codex fails before the command starts.
- The failure surfaces as a process launch error, effectively preventing any shell usage in the app.
I narrowed this down to the bundled node-pty helper crashing immediately on launch.
Environment:
- macOS: 26.3.1
- Build: 25D2128
- Architecture: arm64
- Codex.app installed in
/Applications/Codex.app
Reproduction:
file /Applications/Codex.app/Contents/Resources/app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper
/Applications/Codex.app/Contents/Resources/app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper
echo $?
### What steps can reproduce the bug?
```bash
file /Applications/Codex.app/Contents/Resources/app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper
/Applications/Codex.app/Contents/Resources/app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper
echo $?
### What is the expected behavior?
/Applications/Codex.app/Contents/Resources/app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper: Mach-O 64-bit executable arm64
zsh: segmentation fault
139
### Additional information
Additional checks:
/bin/zsh and /bin/sh both exist and work normally in Terminal.app
xcode-select -p returns /Library/Developer/CommandLineTools
spctl --assess -vv /Applications/Codex.app reports the app as accepted/notarized
codesign --verify --deep --strict /Applications/Codex.app shows no verification error
Reinstalling Codex did not change the behavior
spawn-helper exists, is executable, and matches the system architecture (arm64)
Expected behavior:
Codex should be able to launch terminal processes normally
spawn-helper should not crash immediately on startup
Actual behavior:
spawn-helper segfaults immediately, so terminal execution inside Codex is unusable
This looks like a packaging/runtime incompatibility in the bundled node-pty helper on this macOS version.This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗