Preflight Checklist
What's Wrong?
The Claude Code VS Code extension crashes immediately on launch with exit code 3221225477 (0xC0000005 = STATUS_ACCESS_VIOLATION). The login screen appears briefly but exits before authentication can complete, causing the browser OAuth callback to fail with ERR_CONNECTION_REFUSED on localhost.
What Should Happen?
Expected Behavior:
Extension should launch successfully and complete OAuth authentication via browser.
Actual Behavior:
Extension crashes with STATUS_ACCESS_VIOLATION before the OAuth callback server is ready to receive the login response.
Error Messages/Logs
Steps to Reproduce
- Install Claude Code VS Code extension on Windows 11 x64
- Click the Claude Code icon in the sidebar
- Extension attempts to open browser for OAuth login
- Browser redirects to localhost callback URL
- Connection is refused — localhost callback fails
- Extension panel shows: `Claude Code process exited with code 3221225477
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
v2.1.169
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
- Running
claude directly in PowerShell terminal works correctly
- The crash occurs specifically when launching via the VS Code extension GUI
- Git Bash (MINGW64) causes a segmentation fault; PowerShell does not
- Antivirus exclusions were added for npm and VS Code folders — did not resolve the issue
- Setting
terminal.integrated.defaultProfile.windows to PowerShell did not resolve the extension crash
- Authentication via
claude config set -g apiKey in terminal is the only working workaround
Preflight Checklist
What's Wrong?
The Claude Code VS Code extension crashes immediately on launch with exit code 3221225477 (0xC0000005 = STATUS_ACCESS_VIOLATION). The login screen appears briefly but exits before authentication can complete, causing the browser OAuth callback to fail with ERR_CONNECTION_REFUSED on localhost.
What Should Happen?
Expected Behavior:
Extension should launch successfully and complete OAuth authentication via browser.
Actual Behavior:
Extension crashes with STATUS_ACCESS_VIOLATION before the OAuth callback server is ready to receive the login response.
Error Messages/Logs
exit code 3221225477Steps to Reproduce
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
v2.1.169
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
claudedirectly in PowerShell terminal works correctlyterminal.integrated.defaultProfile.windowsto PowerShell did not resolve the extension crashclaude config set -g apiKeyin terminal is the only working workaround