anthropics / anthropics/claude-code
[BUG]
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### 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?
Bun v1.4.0 (fdb5e06cc) Windows x64
Windows v10.19045
CPU: sse42 avx avx2
Args: "\AppData\Roaming\Claude\claude-code\2.1.237\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--effort" "xhigh" "--model" "claude-sonnet-5" "--permission-prompt-tool" "std"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) jsc spawn(2) standalone_executable claude_code
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:http2" "node:https" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:readline" "node:stream" "node:stream/consumers" "node:stream/promises" "node:string_decoder" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib"
Elapsed: 438ms | User: 281ms | Sys: 187ms
RSS: 0.40 GB | Peak: 0.40 GB | Commit: 4.53 GB | Faults: 101796 | Machine: 8.47 GB
panic(main thread): Segmentation fault at address 0x7FF6AB8BD000
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.4.0///Bhg4wu0C
### What Should Happen?
Claude Code should run without crashing" or "The process should complete successfully without a segmentation fault.
### Error Messages/Logs
```shell
```
### Steps to Reproduce
Launched Claude Code 2.1.237 on Windows 10 tried to continue a chat.
### Claude Model
Not sure / Multiple models
### Is this a regression?
Yes, this worked in a previous version
### Last Working Version
_No response_
### Claude Code Version
2.1.238
### Platform
Anthropic API
### Operating System
Windows
### Terminal/Shell
VS Code integrated terminal
### Additional Information
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing Claude Code 2.1.237 and 2.1.238 on Windows 10 x64 from the VS Code integrated terminal while continuing a chat. Review the Bun crash report at bun.report/1.4.0 and compare the reported runtime details; done means Claude Code completes successfully without a segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100