What version of Bun is running?
1.3.9-canary.51+d5628db2
What platform is your computer?
Darwin 25.2.0 arm64 arm
What steps can reproduce the bug?
- Run Claude Code via the Bun standalone executable (
bun claude)
- Use Claude Code in an extended session (~53 minutes)
- Make changes that trigger a multi-file edit acceptance prompt (15 files, +162/-51 lines)
- Bun crashes with a segfault at the edit acceptance prompt
I haven't been able to reproduce this consistently — it occurred once during normal usage.
What is the expected behavior?
Bun should not crash. The edit acceptance prompt should display normally and allow the user to accept or reject the proposed changes.
What do you see instead?
panic(main thread): Segmentation fault at address 0x10
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Crash report: https://bun.report/1.3.9/M_2d5628dbmgkgE+hogC_m/lnhCm79hhCu54khCu7o2gC2rm2gC+rp1gC2u11gC2to1gCmpj/gCm/qihCuzm2gC2or0gC+ukihCuv895Bm7325B____A2AgB
Additional information
Resource usage at crash:
- Elapsed: 3,202,865ms | User: 241,100ms | Sys: 46,948ms
- RSS: 0.54GB | Peak: 0.59GB | Machine: 17.18GB
- Page Faults: 2,553
- Commit: 0.02ZB (this value appears to be a separate reporting bug)
Active features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) WebSocket(155) abort_signal(195) fetch(710) jsc spawn(253) standalone_executable process_dlopen yaml_parse(5)
The process was running as a standalone executable. The crash happened during interactive terminal I/O (shift+tab cycling, edit acceptance UI).
What version of Bun is running?
1.3.9-canary.51+d5628db2
What platform is your computer?
Darwin 25.2.0 arm64 arm
What steps can reproduce the bug?
bun claude)I haven't been able to reproduce this consistently — it occurred once during normal usage.
What is the expected behavior?
Bun should not crash. The edit acceptance prompt should display normally and allow the user to accept or reject the proposed changes.
What do you see instead?
panic(main thread): Segmentation fault at address 0x10
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Crash report: https://bun.report/1.3.9/M_2d5628dbmgkgE+hogC_m/lnhCm79hhCu54khCu7o2gC2rm2gC+rp1gC2u11gC2to1gCmpj/gCm/qihCuzm2gC2or0gC+ukihCuv895Bm7325B____A2AgB
Additional information
Resource usage at crash:
Active features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) WebSocket(155) abort_signal(195) fetch(710) jsc spawn(253) standalone_executable process_dlopen yaml_parse(5)
The process was running as a standalone executable. The crash happened during interactive terminal I/O (shift+tab cycling, edit acceptance UI).