Windows: Bundled Bun 1.3.5 crashes with segmentation fault
Resolved 💬 3 comments Opened Jan 31, 2026 by drowssaP Closed Feb 4, 2026
Description
Claude Code v2.1.27 on Windows crashes after extended sessions due to a segmentation fault in the bundled Bun 1.3.5.
Environment
- Claude Code: v2.1.27
- OS: Windows 11 (MINGW64_NT-10.0-26100)
- Bundled Bun: 1.3.5
- System Bun: 1.3.8 (works fine, but ignored by native installer)
Crash Details
Bun v1.3.5 (1e86cebd) Windows x64 (baseline)
Elapsed: 40995446ms | User: 249609ms | Sys: 78765ms
RSS: 0.60GB | Peak: 1.11GB | Commit: 1.07GB
panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
Crash report: https://bun.report/1.3.5/e_11e86cebmgEuhogCkkkhkByx2gkBq22unB___A2DD
Reproduction
- Run Claude Code on Windows for extended sessions (~11 hours in this case)
- Crash occurs during normal operation
Attempted Fixes
- Reinstalled Claude Code (npm version, then native installer)
- Installed Bun 1.3.8 globally - native installer ignores it and uses bundled 1.3.5
Request
- Update bundled Bun to 1.3.8+ which fixes this segfault
- Or allow Claude Code to use system-installed Bun instead of bundled version
Workaround
Restarting Claude Code every few hours before memory accumulates.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗