[BUG] Bug type: Segmentation fault (native crash, not a JS exception)

Resolved 💬 1 comment Opened Jul 3, 2026 by PierrunoYT Closed Jul 10, 2026

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?

<img width="1684" height="732" alt="Image" src="https://github.com/user-attachments/assets/db958ecb-bb62-4ed1-9253-b17592a0972f" />

Here's the crash summary from that screenshot:

Bug type: Segmentation fault (native crash, not a JS exception)

Details:

  • Runtime: Bun v1.4.0 (63bb0ca0d), Windows x64 (baseline build)
  • Thread: 45644
  • Fault address: 0x19500000050
  • Message: Segmentation fault at address 0x19500000050 — Bun explicitly states this indicates a bug in Bun itself, not in your code
  • Context: Crash occurred while running Claude Code (claude.exe) via Bun, in the directory D:\Github\moondream-3-pinokio

Crash report link generated:

https://bun.report/1.4.0/e_163bb0camgggkEuhogCs7ug0Bk13/zB209/zBw+ot0Byu46tCq686tCg2k7tC2og+pCyzzl+BmuumtDCYKERNEL32.DLL_u10LCSntdll.dll4h+hBA2qZgF

This is a native-level segfault inside the Bun runtime binary itself (the stack trace references KERNEL32.DLL and ntdll.dll, i.e. Windows system libraries), not something traceable to your JS/TS source.

What to do:

  1. This is a known category of Bun-on-Windows crash — worth checking [Bun's GitHub issues](https://github.com/oven-sh/bun/issues) for existing reports matching this fault address/build hash before filing a new one.
  2. File the crash report using the link Bun generated — it's a redacted, shareable report Bun's team can use to debug their runtime.
  3. As a workaround, try updating Bun to the latest version (bun upgrade), since 1.4.0 may have a known Windows regression.
  4. If this happens reproducibly, note what command/action triggered it right before the crash — that reproduction step is the most valuable thing you can add to the GitHub issue, since the report itself won't tell Bun's team what you were doing.

What Should Happen?

-

Error Messages/Logs

-

Steps to Reproduce

-

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.199

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗