openai / openai/codex

Terminal.app intermittently crashes during Codex CLI sessions over SSH

Open
#39,265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug CLI remote TUI
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of Codex CLI is running?

codex-cli 0.147.0

What subscription do you have?

ChatGPT plan not specified

Which model were you using?

gpt-5.6-sol

What platform is your computer?

Client: macOS 15.7.5, Darwin 24.6.0, arm64

Remote running Codex: Ubuntu 22.04, Linux 5.15.0-164-generic, x86_64

What terminal emulator and version are you using?

Apple Terminal 2.14, build 455.1, TERM=xterm-256color

Codex doctor report
{
  "overallStatus": "ok",
  "codexVersion": "0.147.0",
  "platform": "linux-x86_64"
}
What issue are you seeing?

When I run Codex CLI on a remote Linux server over SSH, the local Terminal.app intermittently crashes and relaunches.

This occurred seven times between August 10 and August 18, 2026. The macOS crash reports identify Terminal.app as the crashing process. Representative signatures include nanov2_guard_corruption_detected, CoreText SIGTRAP, and AppKit EXC_BAD_ACCESS.

What steps can reproduce the bug?
  1. Open Terminal.app on macOS.
  2. SSH into a Linux server.
  3. Start Codex CLI normally.
  4. Use Codex interactively for an extended session.

The crash is intermittent and is not associated with a specific prompt.

What is the expected behavior?

Codex CLI should run over SSH without crashing the local Terminal.app process.

Additional information

The remote codex doctor report has overallStatus set to ok. Redacted macOS .ips crash reports are available if needed.

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 reviewing the redacted macOS .ips crash reports and comparing the reported nanov2_guard_corruption_detected, CoreText SIGTRAP, and AppKit EXC_BAD_ACCESS signatures. Reproduce an extended Codex CLI session from macOS Terminal.app over SSH to Ubuntu, then determine whether Codex can be shown to trigger the local crash; done means a confirmed cause and a reproducible fix or a documented external Terminal.app issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, macos, rust
Domain
cli, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.