[BUG] /status slash command freezes terminal UI on macOS — requires process kill to recover

Status Fixed / completed
Reported on v2.1.74
Maintainer reply None cached
Activity 4 comments · opened Mar 13, 2026 · closed Mar 13, 2026

Description

Running the /status slash command inside an active Claude Code session causes the terminal UI to freeze completely. The prompt becomes unresponsive to all input including Ctrl+C and Ctrl+Q. The only recovery is killing the process externally (e.g., tmux respawn-pane -k or kill <pid>).

Environment

  • Claude Code version: 2.1.74
  • OS: macOS Darwin 25.3.0 (Apple Silicon)
  • Terminal: iTerm2 + tmux
  • Shell: fish
  • Model: claude-opus-4-6

Steps to Reproduce

  1. Start a Claude Code session (claude or claude -c)
  2. Have an active conversation with some context loaded (MCP servers, memory files, etc.)
  3. Run /context to check token usage (works fine)
  4. Run /status
  5. Terminal freezes -- no response to any input

Expected Behavior

/status should display status information and return to the prompt.

Actual Behavior

  • Terminal UI freezes completely
  • No response to Ctrl+C, Ctrl+Q, or any keystrokes
  • Process remains running (visible via ps aux) but unresponsive
  • Must be killed externally

Additional Context

  • 4 custom MCP servers were connected at the time
  • Context usage was ~28% (56k/200k tokens) at freeze time
  • This matches the pattern in #22032 (/plan slash command freeze on macOS) and #17165 (stale status message freeze)
  • The freeze appears to be at the Node.js event loop level, not the shell level, which explains why terminal signals don't propagate

Workaround

Kill the process from another terminal/pane:

tmux respawn-pane -t <session>:<window>.<pane> -k

View original on GitHub ↗

4 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/32739
  2. https://github.com/anthropics/claude-code/issues/33700
  3. https://github.com/anthropics/claude-code/issues/32728

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

eesb99 · 7 months ago

Additional Evidence: V8 OOM Crash Report (March 6)

Found a related Node.js crash report in ~/Library/Logs/DiagnosticReports/node-2026-03-06-115650.ips from the same machine. While today's /status freeze was a PTY deadlock (process stayed alive but unresponsive), this earlier crash shows Claude Code's Node.js process hitting V8 heap exhaustion.

Crash Summary

  • Date: 2026-03-06 11:56:50 +0800
  • Process: node (PID 17039), spawned from Ghostty terminal
  • Duration before crash: ~19 seconds
  • Exception: EXC_CRASH / SIGABRT (Abort trap: 6)
  • Root cause: abort() called by node::OOMErrorHandler after v8::internal::Heap::FatalProcessOutOfMemory

Crash Stack (Thread 0)

__pthread_kill
pthread_kill
abort
node::OOMErrorHandler(char const*, v8::OOMDetails const&)
v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, ...)
v8::internal::Heap::FatalProcessOutOfMemory(char const*)
v8::internal::Heap::CollectGarbage(...)
v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(...)
v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(...)
v8::internal::Factory::NewJSObjectFromMap(...)
v8::internal::Runtime_CreateObjectLiteral(...)

Two Distinct Failure Modes

| Date | Failure | Mechanism | Recovery |
|------|---------|-----------|----------|
| March 6 | Node.js crash | V8 heap OOM -> SIGABRT | Auto (process died) |
| March 13 | Terminal freeze (/status) | Stalled event loop -> PTY deadlock | Manual (tmux respawn-pane -k) |

Both occurred with multiple MCP servers connected (4 custom MCP servers). The OOM crash suggests memory pressure from MCP server child processes may be a contributing factor.

Environment

  • macOS Darwin 25.3.0 (Apple Silicon, Mac16,13)
  • Node.js at /usr/local/bin/node
  • Claude Code 2.1.74
eesb99 · 7 months ago

Closing as duplicate of #32728 (canonical). Added V8 OOM crash evidence and reproduction details there.

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.