Segmentation fault crash on Windows x64 (Bun v1.3.5)
Resolved 💬 4 comments Opened Jan 30, 2026 by cjsimon2 Closed Feb 2, 2026
Bug Report
Claude Code crashes with a segmentation fault on Windows x64.
Crash Dump
Bun v1.3.5 (1e86cebd) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\Users\casey\.local\bin\claude.exe" "--dangerously-skip-permissions"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(12) fetch(1043) jsc spawn(1157) standalone_executable process_dlopen
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws" "node-fetch" "node:inspector" "node:http2" "node:diagnostics_channel"
Elapsed: 240759ms | User: 24609ms | Sys: 7312ms
RSS: 0.88GB | Peak: 1.13GB | Commit: 1.07GB | Faults: 949596 | Machine: 34.27GB
panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Environment
- OS: Windows 11 x64
- Bun version: 1.3.5 (1e86cebd)
- CPU features: sse42, avx, avx2
- RAM: 34.27GB
- Invocation:
claude.exe --dangerously-skip-permissions
Notes
- Crash occurs after ~240 seconds of runtime
- Memory usage: RSS 0.88GB, Peak 1.13GB
- Segfault address
0xFFFFFFFFFFFFFFFFsuggests a null-like pointer dereference in the Bun runtime - This may also be worth reporting upstream to oven-sh/bun
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗