openai / openai/codex

Computer Use crashes with sandbox-exec TIOCSTI unbound variable (exit code 65) on macOS

Open
#45,842 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug computer-use sandbox
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Problem

Computer Use cannot connect to or control Chrome. The Node REPL runtime exits immediately with code 65.

Exact error
node_repl kernel exited unexpectedly
kernel_status: exited(code=65)
kernel_stderr_tail: sandbox-exec: <input string>:141:33: unbound variable: TIOCSTI

Environment
- macOS
- ChatGPT desktop app: 26.908.70816 (build 9275)
- Bundled Codex: codex-cli 0.154.0-alpha.6.2
- Application path: /Applications/ChatGPT.app
- Chrome extension has “Allow access to file URLs” enabled
- No duplicate ChatGPT or Codex application was found
Troubleshooting already completed
- Updated the ChatGPT desktop app
- Restarted Chrome and the desktop app
- Reinstalled the extension through Settings > Computer Use
- Verified that Chrome is using the profile where the extension is installed
- Tried Computer Use from a new Codex chat
- Checked for duplicate ChatGPT/Codex installations
The issue still persists.
Diagnostic session
/feedback Session ID: 12345678-abcd-1234-abcd-1234567890ab
Expected behavior
Computer Use should connect to Chrome and allow Codex to inspect and interact with the active browser tab.
Actual behavior
The Computer Use runtime crashes before it can connect to Chrome, returning exit code 65 and the TIOCSTI sandbox error.

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 with the macOS Computer Use path that launches the Node REPL runtime, using the provided environment details to reproduce exit code 65 and the sandbox-exec TIOCSTI error. Done means the runtime stays up and Computer Use connects to Chrome so Codex can inspect and interact with the active tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, node.js
Domain
desktop, operating-systems
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.