Repeated React rendering crash in TUI (findAllNodes / findBoundingRects)
Description
Claude Code v2.1.32 crashes repeatedly with a React rendering error in the terminal UI. The crash happens mid-conversation and is reproducible across sessions.
Environment
- Claude Code version: 2.1.32
- Platform: macOS (Darwin 24.6.0)
- Runtime: Bun
Stack trace
No matching component was found for:
- i$ (/$bunfs/root/claude:685:20565)
- gJ (/$bunfs/root/claude:685:28719)
- nG (/$bunfs/root/claude:685:28873)
- I1 (/$bunfs/root/claude:685:25085)
- <anonymous> (/$bunfs/root/claude:191:9236)
- WR (/$bunfs/root/claude:3623:4221)
- x_0 (/$bunfs/root/claude:7325:12534)
- k$T (/$bunfs/root/claude:7338:10259)
- R$ (/$bunfs/root/claude:685:20775)
- V6 (/$bunfs/root/claude:685:39175)
Second occurrence (same session, slightly different call path):
- i$ (/$bunfs/root/claude:685:20565)
- YY (/$bunfs/root/claude:685:29777)
- <anonymous> (/$bunfs/root/claude:191:8939)
- U_0 (/$bunfs/root/claude:7325:8047)
- k$T (/$bunfs/root/claude:7338:10320)
- R$ (/$bunfs/root/claude:685:20775)
- V6 (/$bunfs/root/claude:685:39175)
- xx (/$bunfs/root/claude:685:49797)
- mx (/$bunfs/root/claude:685:86054)
- ke (/$bunfs/root/claude:685:85028)
Context
The crash appears to be in the Ink/React terminal renderer's findAllNodes / findBoundingRects layout calculation code. The minified React reconciler source visible in the dump includes createHydrationContainer, flushPassiveEffects, findBoundingRects, and findAllNodes — suggesting a layout or DOM measurement issue in the TUI layer.
The crash is reproducible across multiple fresh sessions in the same working directory. Clearing /tmp/claude/cache-break-*.diff files did not resolve it.
Expected behavior
Claude Code should render without crashing.
Actual behavior
Repeated crashes with React rendering errors during normal conversation use.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗