[BUG] Report: Claude Code VS Code Extension crashes with exit code 3221225477 on Windows 11 x64
Open 💬 0 comments Opened Jun 9, 2026 by KalkiConsulting23
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?
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 3221225477
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
claudedirectly 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.windowsto PowerShell did not resolve the extension crash - Authentication via
claude config set -g apiKeyin terminal is the only working workaround