[BUG] Claude Code crashes on Windows (exit code 3221225477) when using Bedrock configuration

Status Fixed / completed
Reported on v2.1.139
Maintainer reply None cached
Activity 5 comments · opened May 12, 2026 · closed May 14, 2026

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?

Description
Claude Code extension fails to initialize in VS Code on Windows. The claude.exe process crashes during startup with exit code 3221225477 (0xC0000005) resulting in a JSON parsing failure in the extension.

What Should Happen?

Claude Code initializes successfully and returns valid JSON for auth/status.

Error Messages/Logs

[DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json

[error] claude auth status parse failed: SyntaxError: Unexpected end of JSON input

[error] Failed to load config cache: Error: Claude Code process exited with code 3221225477

Steps to Reproduce

Install Claude Code VS Code extension
Configure Bedrock environment variables
Open VS Code workspace
Extension attempts to initialize Claude
Claude process crashes during startup

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.139

Platform

AWS Bedrock

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

OS: Windows (likely Windows 10/11 Enterprise)
VS Code: (include your exact version, e.g. 1.119.1)
Claude Code Extension: 2.1.139
Install Type: VS Code extension (user-scoped, not system-wide)
Shell: PowerShell
Git Bash present: ✅ (C:\Program Files\Git\bin\bash.exe detected)

View original on GitHub ↗

5 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/55563
  2. https://github.com/anthropics/claude-code/issues/50640
  3. https://github.com/anthropics/claude-code/issues/58443

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

oquinones-ncl · 5 months ago
oquinones-ncl · 5 months ago

https://github.com/anthropics/claude-code/issues/50640

Downgrade to v2.1.111:
2026-05-12 15:35:19.123 [info] From claude: 2026-05-12T19:35:19.123Z [DEBUG] Cleared CA certificates cache
2026-05-12T19:35:19.123Z [DEBUG] Cleared mTLS configuration cache
2026-05-12T19:35:19.123Z [DEBUG] Cleared proxy agent cache
2026-05-12T19:35:19.123Z [DEBUG] CA certs: stores=bundled,system, extraCertsPath=undefined
2026-05-12T19:35:19.124Z [DEBUG] CA certs: Loaded 145 bundled root certificates
2026-05-12T19:35:19.124Z [DEBUG] CA certs: system store returned empty
2026-05-12T19:35:19.124Z [DEBUG] mTLS: Creating HTTPS agent with custom certificates

2026-05-12 15:35:19.124 [info] From claude: 2026-05-12T19:35:19.125Z [DEBUG] [STARTUP] Loading commands and agents...

2026-05-12 15:35:19.125 [info] From claude: 2026-05-12T19:35:19.125Z [DEBUG] [ToolSearch:optimistic] mode=tst, ENABLE_TOOL_SEARCH=undefined, result=true

2026-05-12 15:35:19.143 [info] From claude: 2026-05-12T19:35:19.143Z [DEBUG] Fetching AWS caller identity for AWS auth refresh command
2026-05-12T19:35:19.143Z [DEBUG] [STARTUP] Commands and agents loaded in 18ms

2026-05-12 15:35:19.143 [info] From claude: 2026-05-12T19:35:19.143Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called
2026-05-12T19:35:19.143Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending
2026-05-12T19:35:19.143Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1)
2026-05-12T19:35:19.143Z [DEBUG] Starting background startup prefetches
2026-05-12T19:35:19.143Z [DEBUG] [Bootstrap] Skipped: 3P provider

2026-05-12 15:35:19.848 [info] Closing Claude on channel: jlfq33vr8x
2026-05-12 15:35:19.849 [error] Error spawning Claude (on channel jlfq33vr8x): Error: Claude Code process exited with code 3221225477
2026-05-12 15:35:19.849 [error] Failed to load config cache: Error: Claude Code process exited with code 3221225477
2026-05-12 15:35:19.849 [error] Error processing client request: Error: Claude Code process exited with code 3221225477
2026-05-12 15:35:19.854 [info] Received message from webview: {"type":"interrupt_claude","channelId":"7iot4xpyee"}
2026-05-12 15:35:19.855 [warning] Channel not found: 7iot4xpyee

oquinones-ncl · 5 months ago

Issue resolve downgrading to Clause 2.1.112

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.