Preflight Checklist
What's Wrong?
Environment
OS: Windows 11
VS Code Extension: Claude Code v2.1.11
Bundled Bun version: v1.3.5 (1e86cebd)
CPU: x64 (baseline) with sse42, avx, avx2
Problem
Claude's code constantly crashes when opening a certain project, but even on projects that work, the error appears. The extension works fine on other projects. The crash occurs during initialization with a Bun panic error.
Observations
- The --model "d" argument appears truncated/corrupted (should be full model name or "default")
- Memory usage is very high (3.54GB RSS) before crash
- Crash happens consistently on this project but not on others
- Crash report URL: https://bun.report/1.3.5/e_11e86cebGugogCw+kiM65ioJgqpmMCYKERNEL32.DLLut0LCSntdll.dll4zijBA0eNoFwcENACAMAsBVWM1ENHyosXzc3js53LyYxYYrWApkTHbkEZWRd/gBNAAPKQ
What I tried (none of these helped)
- Installed global Bun v1.3.6 (extension still uses bundled v1.3.5)
- Deleted .claude folder in project directory
- Deleted tmpclaude-* temporary folders
- Reinstalled the extension
- Restarted VS Code
What Should Happen?
Expected behavior
Claude Code should start normally without crashing.
Additional context
The project is a medium-sized backend application with multiple subfolders. Other projects open without issues on the same machine with the same extension version.
Error Messages/Logs
Args: "c:\Users\ACER\.vscode\extensions\anthropic.claude-code-2.1.11-win32-x64\resources\native-binary\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--max-thinking-tokens" "0" "--model" "d"...
Elapsed: 4531ms | User: 2250ms | Sys: 2265ms
RSS: 3.54GB | Peak: 3.54GB | Commit: 3.56GB | Faults: 873251 | Machine: 34.19GB
panic(thread 18532): integer does not fit in destination type
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Steps to Reproduce
- Install Claude Code extension v2.1.11 on VS Code (Windows 11)
- Open a project with multiple subfolders and files (in my case:
c:\Project_programing\Work\Yieldy\nytroseo\back)
- Open Claude Code panel in VS Code
- Extension attempts to initialize and index the project
- Bun crashes with panic error before Claude Code becomes usable
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.11
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
Preflight Checklist
What's Wrong?
Environment
OS: Windows 11
VS Code Extension: Claude Code v2.1.11
Bundled Bun version: v1.3.5 (1e86cebd)
CPU: x64 (baseline) with sse42, avx, avx2
Problem
Claude's code constantly crashes when opening a certain project, but even on projects that work, the error appears. The extension works fine on other projects. The crash occurs during initialization with a Bun panic error.
Observations
What I tried (none of these helped)
What Should Happen?
Expected behavior
Claude Code should start normally without crashing.
Additional context
The project is a medium-sized backend application with multiple subfolders. Other projects open without issues on the same machine with the same extension version.
Error Messages/Logs
Steps to Reproduce
c:\Project_programing\Work\Yieldy\nytroseo\back)Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.11
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response