Native binary crashes with Illegal instruction / Out of memory after Bun memory leak
Resolved 💬 2 comments Opened Apr 9, 2026 by tradieux Closed Apr 9, 2026
Environment
- VPS: Debian, Linux x64
- CPU: sse42 popcnt avx avx2
- RAM: 12 GB
- Claude Code: 2.1.96 (native installer)
- Bun: 1.3.11
What happened
- Claude Code ran for ~3.5 hours, Bun had a memory leak (RSS reported as 0.02ZB)
- Bun crashed with Segmentation fault, saturating all system resources (fork: Resource temporarily unavailable)
- After VPS reboot, the native binary crashes immediately with "Illegal instruction"
- Reinstalling via
install.shalso fails with "Out of memory" - Bun 1.3.11 installed separately works fine (
bun --versionresponds) - Workaround: npm install works
Crash log
Bun v1.3.11 (6f0a17c3) Linux x64 (baseline)
panic(main thread): Illegal instruction at address 0x48363A4
Expected behavior
Native installer should recover/reinstall cleanly after a Bun crash.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗