[BUG] Claude Code process exited with code 3

Resolved 💬 2 comments Opened Jun 5, 2026 by osemeabulu Closed Jun 9, 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?

Everytime I i try to run claude code or the vscode extension

Claude Code process exited with code 3

============================================================
Bun v1.3.14 (521eedd6) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "<home>\AppData\Roaming\Claude\claude-code\2.1.165\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--effort" "low" "--model" "claude-sonnet-4-6" "--permission-prompt-tool" "std"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) jsc spawn(2) standalone_executable yaml_parse(2) claude_code
Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:readline" "node:stream" "node:stream/consumers" "node:stream/promises" "node:string_decoder" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "un
Elapsed: 459ms | User: 281ms | Sys: 171ms
RSS: 0.28GB | Peak: 0.28GB | Commit: 0.36GB | Faults: 69697 | Machine: 33.78GB
panic(main thread): Segmentation fault at address 0x40FE0
panic: Segmentation fault at address 0x1DF3ECBFFE8
panicked during a panic. Aborting.

What Should Happen?

Claude should run and respond to prompt

Error Messages/Logs

Claude Code process exited with code 3

============================================================
Bun v1.3.14 (521eedd6) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "<home>\AppData\Roaming\Claude\claude-code\2.1.165\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--effort" "low" "--model" "claude-sonnet-4-6" "--permission-prompt-tool" "std"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) jsc spawn(2) standalone_executable yaml_parse(2) claude_code 
Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:readline" "node:stream" "node:stream/consumers" "node:stream/promises" "node:string_decoder" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:vm" "node:zlib" "un
Elapsed: 459ms | User: 281ms | Sys: 171ms
RSS: 0.28GB | Peak: 0.28GB | Commit: 0.36GB | Faults: 69697 | Machine: 33.78GB
panic(main thread): Segmentation fault at address 0x40FE0
panic: Segmentation fault at address 0x1DF3ECBFFE8
panicked during a panic. Aborting.

Steps to Reproduce

  • install claude code or vs code claude code extension on windows 11
  • run any prompt

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.11187.4 (584005) 2026-06-05T20:15:04.000Z

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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