Bun segfault after long session (~14h) on macOS Silicon
Resolved 💬 2 comments Opened Feb 28, 2026 by tsukiyokai Closed Mar 28, 2026
Environment
- Bun v1.3.10 (d885ce7f)
- macOS v26.4 (Silicon)
- Machine: 17.18GB RAM
Crash Details
panic(main thread): Segmentation fault at address 0x20006500680074
Session had been running for ~14.4 hours (Elapsed: 51977907ms).
Memory at crash: RSS 0.24GB, Peak 0.53GB.
Full crash log
Bun v1.3.10 (d885ce7f) macOS Silicon
macOS v26.4
CPU: fp aes crc32 atomics
Args: "claude" "--dangerously-skip-permissions" "--verbose"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) WebSocket(9) abort_signal(42) fetch(570) http_client_proxy(550) jsc spawn(241) standalone_executable process_dlopen yaml_parse(328)
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "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:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws"
Elapsed: 51977907ms | User: 299231ms | Sys: 33790ms
RSS: 0.24GB | Peak: 0.53GB | Commit: 0.02ZB | Faults: 8913 | Machine: 17.18GB
panic(main thread): Segmentation fault at address 0x20006500680074
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Bun crash report link
Reproduction
Not easily reproducible — the crash occurred after an extended interactive session (~14 hours). Normal usage with tool calls, file reads/writes, and shell commands throughout the session.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗