[BUG] Segmentation fault at address 0x113 on Windows - Bun v1.4.0 crashes on every command
Open 💬 0 comments Opened Jul 2, 2026 by duraisamymani
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code crashes immediately with a segmentation fault on every command (claude, claude login, claude --version) on Windows. The process panics during a panic and aborts. The issue persists after clean uninstall and reinstall.
What Should Happen?
Claude Code should launch and respond to commands normally.
Error Messages/Logs
Bun v1.4.0 (63bb0ca0d) Windows x64 (baseline)
Windows v10.26100
CPU: sse42 avx avx2
Args: "C:\NVM\currentNodeJS\node_modules\@anthropic-ai\claude-code\bin\claude.exe"
panic(main thread): Segmentation fault at address 0x113
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.0/e_163bb0camggggEugogCCWctiuser.dllgyngBCWctiuser.dllo68fCYKERNEL32.DLLs2+JCcKERNELBASE.dllqm2hBCcKERNELBASE.dllsj3gBCYKERNEL32.DLLoijPCWctiuser.dllu3ueoyt+vB4zr8f6t8mXmh2mX_A2AmR
panic: Segmentation fault at address 0x113
panicked during a panic. Aborting.
Steps to Reproduce
- Install Claude Code globally: npm install -g @anthropic-ai/claude-code@latest
- Open PowerShell or VS Code terminal on Windows
- Run any claude command: claude, claude login, or claude --version
- Process immediately crashes with segfault at address 0x113
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.196 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Environment:
- OS: Windows 10 (Build 26100)
- Claude Code version: latest (still ships Bun v1.4.0 build 63bb0ca0d)
- Node version: managed via NVM for Windows
- Install path: C:\NVM\currentNodeJS\node_modules\@anthropic-ai\claude-code\
- Shell: PowerShell
- CPU: x64 with SSE4.2, AVX, AVX2