anthropics / anthropics/claude-code

[BUG] Claude Code 2.1.263 crashes with Bun segmentation fault on Windows 11 — reproducible on trivial prompts

Abierto
#92,916 5 comentarios 0 reacciones 0 asignados Ver en GitHub
area:packaging bug has repro platform:windows
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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 repeatedly crashes with a Bun runtime segmentation fault when running inside the Antigravity IDE (VS Code-based) on Windows 11. The crash is not tied to any specific action — it has occurred on session startup and on the simplest possible prompt ("hi"), with no complex tool calls or file operations involved.

### What Should Happen?

Claude Code should respond to prompts and run normally without the underlying Bun runtime crashing.

### Error Messages/Logs

```shell
panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.1/w_183c373bmgggkQugogCizu1fuimgeA2AE

panic(main thread): Segmentation fault at address 0xE8
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.1/w_183c373bmgggkQugogC8lmgeA2AwO

panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.1/w_183c373bmgggkQugogCg3v6dw1zn+DA2DD

panic(main thread): Segmentation fault at address 0x2
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.1/w_183c373bmgggkQugogCizu1fuimgeA2AE

panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.4.1/w_183c373bmgggkQugogCizu1fuimgeA2AA
```

### Steps to Reproduce

1. Open Antigravity IDE (VS Code-based) on Windows 11 with Claude Code 2.1.263 installed.
2. Open a standard git project (branch master).
3. Send any prompt in the Claude Code chat panel, including trivial ones like "hi".
4. Claude Code process exits with code 3; Bun panics with a segmentation fault.

Note: Crash occurs inconsistently at different points — sometimes on session startup before any prompt is sent, sometimes after a simple "hi" prompt. Memory addresses in the crash vary each time (0x0, 0xE8, 0xFFFFFFFFFFFFFFFF, 0x2), suggesting memory corruption rather than one deterministic trigger.

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

2.1.111

### Claude Code Version

2.1.263

### Platform

Other

### Operating System

Windows

### Terminal/Shell

VS Code integrated terminal

### Additional Information

Running inside Antigravity IDE (Google's VS Code-based fork), not standard VS Code.

Already ruled out:
- Not caused by git extensions.worktreeConfig setting — removed it, crash persisted.
- Not caused by a specific plugin — disabled claude-mem@thedotmack, crash still occurred on a plain "hi" prompt with no plugin hooks logged before the crash.
- Even Antigravity's built-in feedback/crash-reporter dialog failed to submit, because the same Bun crash interrupted the reporting process itself mid-send.

Note: A closely related issue (#50640, "Claude Code v2.1.112+ crashes with Segmentation Fault (0xc0000005) on Windows 11") was reported in April 2026 for the same v2.1.112+ native-binary regression and closed as "not planned." This report demonstrates the same underlying crash pattern persists 5 months later on v2.1.263, suggesting it was not actually resolved.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the crash from the Claude Code chat panel using the listed Windows 11 and Antigravity IDE steps, then inspect the supplied Bun crash-report URLs and compare versions 2.1.111 and 2.1.263. Done means Claude Code remains running and responds to trivial prompts without a Bun segmentation fault.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
bun, vscode
Área
cli, desktop, operating-systems
Tipo de issue
Error
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Activo
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.