[BUG] vscode extension crashes when trying to resume any conversation. exit code 4294967295,

Resolved 💬 4 comments Opened May 23, 2026 by amaau Closed Jul 13, 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?

When i try to resume a previous conversation using the VSCode extension, it will always crash, showing "Claude Code process exited with code 4294967295".
Any further prompts fail the same way for that conversation.
The Claude Code cli running inside VSCode doesn't have this issue. I often try to resume a conversation in the extension, it crashes, I switch to the cli - it works.

VSCode Version: 1.121.0 (user setup)
OS: Windows_NT x64 10.0.26200

This bug has persisted throughout several Claude Code and VSCode updates, started about 2-3 months ago.

What Should Happen?

Conversations should resume without crashing.

Error Messages/Logs

2026-05-23 13:40:18.744 [info] Received message from webview: {"type":"request","requestId":"ot1cbtaynh8","request":{"type":"update_session_state","sessionId":"c8b9645c-062e-4c0f-a7a4-1129a9880100","state":"running","title":"..."}}
<...>
2026-05-23 13:40:18.768 [info] Python env: VIRTUAL_ENV=C:\Users\xxxx\AppData\Local\mise\installs\python\3.13.12
2026-05-23 13:40:18.769 [info] Spawning Claude with SDK query function - cwd: d:\xxx, permission mode: default, version: 2.1.145, c:\Users\xxxx\.vscode\extensions\anthropic.claude-code-2.1.145-win32-x64\resources\native-binary\claude.exe, resume: c8b9645c-062e-4c0f-a7a4-1129a9880100
2026-05-23 13:40:18.987 [info] From claude: 2026-05-23T10:40:18.986Z [DEBUG] MDM settings load completed in 10ms

2026-05-23 13:40:19.005 [info] From claude: 2026-05-23T10:40:19.005Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: C:\Program Files\ClaudeCode\managed-settings.json

2026-05-23 13:40:19.010 [info] From claude: 2026-05-23T10:40:19.009Z [DEBUG] CA certs: Config fallback - globalEnv keys: , settingsEnv keys: CLAUDE_CODE_USE_BEDROCK,AWS_REGION,ANTHROPIC_DEFAULT_OPUS_MODEL,ANTHROPIC_DEFAULT_SONNET_MODEL,ANTHROPIC_DEFAULT_HAIKU_MODEL,MSYS_NO_PATHCONV,PYTHONUTF8

2026-05-23 13:40:19.011 [info] From claude: 2026-05-23T10:40:19.010Z [DEBUG] [init] configureGlobalMTLS starting

2026-05-23 13:40:19.011 [info] From claude: 2026-05-23T10:40:19.010Z [DEBUG] [init] configureGlobalMTLS complete
2026-05-23T10:40:19.010Z [DEBUG] [init] configureGlobalAgents starting

2026-05-23 13:40:19.011 [info] From claude: 2026-05-23T10:40:19.010Z [DEBUG] CA certs: stores=bundled,system, extraCertsPath=undefined

2026-05-23 13:40:19.011 [info] From claude: 2026-05-23T10:40:19.011Z [DEBUG] CA certs: Loaded 145 bundled root certificates

2026-05-23 13:40:19.021 [info] From claude: 2026-05-23T10:40:19.017Z [DEBUG] CA certs: Loaded 90 system CA certificates
2026-05-23T10:40:19.017Z [DEBUG] mTLS: Creating HTTPS agent with custom certificates
2026-05-23T10:40:19.017Z [DEBUG] [init] configureGlobalAgents complete
2026-05-23T10:40:19.019Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
2026-05-23T10:40:19.020Z [DEBUG] Error log sink initialized

2026-05-23 13:40:19.029 [info] From claude: 2026-05-23T10:40:19.025Z [DEBUG] Applying permission update: <....>

<...>
2026-05-23 13:40:19.262 [info] From claude: 2026-05-23T10:40:19.261Z [DEBUG] Failed to stat directory C:\Program Files\ClaudeCode\.claude\skills: ENOENT: no such file or directory, stat 'C:\Program Files\ClaudeCode\.claude\skills'
2026-05-23T10:40:19.261Z [DEBUG] Failed to stat directory C:\Users\xxxx\.claude\skills: ENOENT: no such file or directory, stat 'C:\Users\xxxx\.claude\skills'
2026-05-23T10:40:19.262Z [DEBUG] Failed to stat directory C:\Program Files\ClaudeCode\.claude\agents: ENOENT: no such file or directory, stat 'C:\Program Files\ClaudeCode\.claude\agents'
2026-05-23T10:40:19.262Z [DEBUG] Failed to stat directory C:\Users\xxxx\.claude\agents: ENOENT: no such file or directory, stat 'C:\Users\xxxx\.claude\agents'

2026-05-23 13:40:19.264 [info] From claude: 2026-05-23T10:40:19.263Z [DEBUG] Prior session exited uncleanly: ec2d572f-adf2-4d84-8511-41c6edf82257 (v2.1.145)

2026-05-23 13:40:19.264 [info] From claude: 2026-05-23T10:40:19.264Z [DEBUG] Loading skills from: managed=C:\Program Files\ClaudeCode\.claude\skills, user=C:\Users\xxxx\.claude\skills, project=[d:\xxx\.claude\skills]

2026-05-23 13:40:19.265 [info] From claude: 2026-05-23T10:40:19.264Z [DEBUG] getPluginSkills: Processing 2 enabled plugins

2026-05-23 13:40:19.265 [info] From claude: 2026-05-23T10:40:19.264Z [DEBUG] Checking plugin context7: skillsPath=none, skillsPaths=0 paths
2026-05-23T10:40:19.264Z [DEBUG] Checking plugin gopls-lsp: skillsPath=none, skillsPaths=0 paths
2026-05-23T10:40:19.264Z [DEBUG] Total plugin skills loaded: 0
2026-05-23T10:40:19.264Z [DEBUG] Total plugin commands loaded: 0

2026-05-23 13:40:19.265 [info] From claude: 2026-05-23T10:40:19.265Z [DEBUG] Failed to stat directory C:\Program Files\ClaudeCode\.claude\commands: ENOENT: no such file or directory, stat 'C:\Program Files\ClaudeCode\.claude\commands'
2026-05-23T10:40:19.265Z [DEBUG] Failed to stat directory C:\Users\xxxx\.claude\commands: ENOENT: no such file or directory, stat 'C:\Users\xxxx\.claude\commands'

2026-05-23 13:40:19.269 [info] From claude: 2026-05-23T10:40:19.268Z [DEBUG] MCP server "plugin:context7:context7": Starting connection with timeout of 30000ms

2026-05-23 13:40:19.285 [info] From claude: 2026-05-23T10:40:19.283Z [DEBUG] MCP server "playwright": Starting connection with timeout of 30000ms

2026-05-23 13:40:19.298 [info] From claude: 2026-05-23T10:40:19.293Z [DEBUG] MCP server "aws-cloudwatch": Starting connection with timeout of 30000ms

2026-05-23 13:40:19.313 [info] From claude: 2026-05-23T10:40:19.307Z [DEBUG] Watching for changes in setting files C:\Users\xxxx\.claude\settings.json, d:\xxx\.claude\settings.json, d:\xxx\.claude\settings.local.json...

2026-05-23 13:40:19.349 [info] From claude: 2026-05-23T10:40:19.348Z [DEBUG] Loaded 1 unique skills (1 unconditional, 0 conditional, managed: 0, user: 0, project: 0, additional: 0, legacy commands: 1)
2026-05-23T10:40:19.348Z [DEBUG] getSkills returning: 1 skill dir commands, 0 plugin skills, 14 bundled skills, 0 builtin plugin skills

2026-05-23 13:40:19.352 [info] From claude: 2026-05-23T10:40:19.350Z [DEBUG] Watching for changes in skill/command directories: d:\xxx\.claude\skills, d:\xxx\.claude\commands...

2026-05-23 13:40:19.363 [info] From claude: 2026-05-23T10:40:19.362Z [DEBUG] Ripgrep first use test: PASSED (mode=embedded, path=C:\Users\xxxx\.vscode\extensions\anthropic.claude-code-2.1.145-win32-x64\resources\native-binary\claude.exe)

2026-05-23 13:40:19.641 [info] From claude: 2026-05-23T10:40:19.640Z [DEBUG] FileHistory: Copied backup 9932cca338a6e79c@v1 from session c8b9645c-062e-4c0f-a7a4-1129a9880100 to ce7bdaed-a54b-404d-8e62-de5f1cd62f4b

2026-05-23 13:40:19.655 [info] From claude: 2026-05-23T10:40:19.654Z [DEBUG] FileHistory: Copied backup 9932cca338a6e79c@v2 from session c8b9645c-062e-4c0f-a7a4-1129a9880100 to ce7bdaed-a54b-404d-8e62-de5f1cd62f4b

2026-05-23 13:40:19.874 [info] From claude: 2026-05-23T10:40:19.873Z [DEBUG] Hook output does not start with {, treating as plain text

2026-05-23 13:40:19.875 [info] From claude: 2026-05-23T10:40:19.874Z [DEBUG] [mcp-registry] Loaded 197 official MCP URLs (legacy)

2026-05-23 13:40:20.910 [info] Closing Claude on channel: 1w1f44q5qff
2026-05-23 13:40:20.910 [error] Error spawning Claude (on channel 1w1f44q5qff): Error: Claude Code process exited with code 4294967295
2026-05-23 13:40:20.912 [info] Received message from webview: {"type":"request","channelId":"1w1f44q5qff","requestId":"k7fj1kx5njp","request":{"type":"log_event","eventName":"sdk_stream_ended_no_result","eventData":{"had_error":true,"subagent_count":0,"message_count":283}}}
2026-05-23 13:40:20.912 [warning] Channel not found for logEvent: 1w1f44q5qff
2026-05-23 13:40:20.912 [info] Received message from webview: {"type":"request","requestId":"c2pxeif2byn","request":{"type":"update_session_state","sessionId":"c8b9645c-062e-4c0f-a7a4-1129a9880100","state":"idle","title":"..."}}

Steps to Reproduce

  1. start conversation
  2. clear conversation
  3. resume the conversation
  4. see error

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.145

Platform

AWS Bedrock

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗