[BUG] Installer crash (Bun has crashed)
Resolved 💬 4 comments Opened Sep 19, 2025 by webcoyote Closed Jan 6, 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 install claude code I get a segmentation fault in the installer (bun). I opened this issue for oven/bun, and the auto-responder is suggesting this bug may have been fixed in a more recent version of bun (the latest version of Bun is v1.2.22, but the standalone executable is running Bun v1.2.19).
What Should Happen?
Claude should be installed successfully
Error Messages/Logs
+ set -e
+ TARGET=
+ [[ -n '' ]]
+ GCS_BUCKET=https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases
+ DOWNLOAD_DIR=/Users/sandvault-pat/.claude/downloads
+ DOWNLOADER=
+ command -v curl
+ DOWNLOADER=curl
+ HAS_JQ=false
+ command -v jq
+ HAS_JQ=true
+ case "$(uname -s)" in
++ uname -s
+ os=darwin
+ case "$(uname -m)" in
++ uname -m
+ arch=arm64
+ '[' darwin = linux ']'
+ platform=darwin-arm64
+ mkdir -p /Users/sandvault-pat/.claude/downloads
++ download_file https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable
++ local url=https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable
++ local output=
++ '[' curl = curl ']'
++ '[' -n '' ']'
++ curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable
+ version=1.0.117
++ download_file https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/manifest.json
++ local url=https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/manifest.json
++ local output=
++ '[' curl = curl ']'
++ '[' -n '' ']'
++ curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/manifest.json
+ manifest_json='{
"version": "1.0.117",
"buildDate": "2025-09-16T23:18:39Z",
"platforms": {
"darwin-arm64": {
"checksum": "5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133",
"size": 74004624
},
"darwin-x64": {
"checksum": "c7593ee7dbe90c7bb31bdb9a7a4f032c7f0a9e01996dd900f5187c3a269ca1be",
"size": 79645920
},
"linux-arm64": {
"checksum": "4183d73c3fdf8cdd3cea0ce3d62b4db7e7855e4eb4d969c00d3fa43e6c77fc46",
"size": 108934267
},
"linux-x64": {
"checksum": "db0100f8e78074d387041ed3558695a9e6c12f650860fb38c0ab52e885f27ab0",
"size": 115550071
},
"linux-arm64-musl": {
"checksum": "5f44002e7c199f9cfa1c6ec51dc2ec2457913ffe573342c744daad1a274b7e96",
"size": 103786531
},
"linux-x64-musl": {
"checksum": "25dba9b2375e40e4a2cbad508f3bec189052009ec0fd4b4f92a80451bdf7e1a0",
"size": 107923759
},
"win32-x64": {
"checksum": "d153db50980d73f1d6c34701260e56c36912f93451412e7f06a08e5a93b1d8ef",
"size": 132890112
}
}
}'
+ '[' true = true ']'
++ echo '{
"version": "1.0.117",
"buildDate": "2025-09-16T23:18:39Z",
"platforms": {
"darwin-arm64": {
"checksum": "5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133",
"size": 74004624
},
"darwin-x64": {
"checksum": "c7593ee7dbe90c7bb31bdb9a7a4f032c7f0a9e01996dd900f5187c3a269ca1be",
"size": 79645920
},
"linux-arm64": {
"checksum": "4183d73c3fdf8cdd3cea0ce3d62b4db7e7855e4eb4d969c00d3fa43e6c77fc46",
"size": 108934267
},
"linux-x64": {
"checksum": "db0100f8e78074d387041ed3558695a9e6c12f650860fb38c0ab52e885f27ab0",
"size": 115550071
},
"linux-arm64-musl": {
"checksum": "5f44002e7c199f9cfa1c6ec51dc2ec2457913ffe573342c744daad1a274b7e96",
"size": 103786531
},
"linux-x64-musl": {
"checksum": "25dba9b2375e40e4a2cbad508f3bec189052009ec0fd4b4f92a80451bdf7e1a0",
"size": 107923759
},
"win32-x64": {
"checksum": "d153db50980d73f1d6c34701260e56c36912f93451412e7f06a08e5a93b1d8ef",
"size": 132890112
}
}
}'
++ jq -r '.platforms["darwin-arm64"].checksum // empty'
+ checksum=5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133
+ '[' -z 5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133 ']'
+ [[ ! 5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133 =~ ^[a-f0-9]{64}$ ]]
+ binary_path=/Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64
+ download_file https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/darwin-arm64/claude /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64
+ local url=https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/darwin-arm64/claude
+ local output=/Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64
+ '[' curl = curl ']'
+ '[' -n /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64 ']'
+ curl -fsSL -o /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64 https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/1.0.117/darwin-arm64/claude
+ '[' darwin = darwin ']'
++ shasum -a 256 /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64
++ cut '-d ' -f1
+ actual=5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133
+ '[' 5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133 '!=' 5201ebfcc3a98228ad9d1121d53a95270a2be9046ba9c28d93a5c57b04b20133 ']'
+ chmod +x /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64
+ echo 'Setting up Claude Code...'
Setting up Claude Code...
+ /Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64 install
Installing Claude Code native build stable...
============================================================
Bun v1.2.19 (aad3abea) macOS Silicon
macOS v15.6.1
CPU: fp aes crc32 atomics
Args: "/Users/sandvault-pat/.claude/downloads/claude-1.0.117-darwin-arm64" "install"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(8) jsc spawn(13) standalone_executable
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/win32" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:string_decoder" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "undici" "ws" "node-fetch" "node:inspector" "node:http2"
Elapsed: 1835ms | User: 672ms | Sys: 171ms
RSS: 0.37GB | Peak: 0.37GB | Commit: 1.07GB | Faults: 60 | Machine: 0.07TB
panic: Bus error at address 0x106978F90
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
### Stack Trace (bun.report)
Bun v1.2.19 ([`aad3abe`](<https://github.com/oven-sh/bun/tree/aad3abeaddfb9f875ab6675dbc008a969f9fbe7d>)) on macos aarch64 [_]
Bus error at address 0x1067C4F90
- *1 unknown/js code*
- [`FTLLowerDFGToB3.cpp:263`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp#L263>): `JSC::FTL::(...)::LowerDFGToB3::lower`
- [`FTLLowerDFGToB3.cpp:263`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp#L263>): `JSC::FTL::(...)::LowerDFGToB3::lower`
- [`FTLLowerDFGToB3.cpp:25041`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp#L25041>): `JSC::FTL::lowerDFGToB3`
- [`DFGPlan.cpp:474`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/dfg/DFGPlan.cpp#L474>): `JSC::DFG::Plan::compileInThreadImpl`
- [`JITPlan.cpp:270`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/jit/JITPlan.cpp#L270>): `JSC::JITPlan::compileInThread`
- [`JITWorklistThread.cpp:134`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/JavaScriptCore/jit/JITWorklistThread.cpp#L134>): `JSC::JITWorklistThread::work`
- [`AutomaticThread.cpp:225`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/WTF/wtf/AutomaticThread.cpp#L225>): `WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(...)::$_0, void>::call`
- [`Function.h:82`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/WTF/wtf/Function.h#L82>): `WTF::Thread::entryPoint`
- [`ThreadingPOSIX.cpp:255`](<https://github.com/oven-sh/WebKit/blob/1098cc50652ab1eab171f58f7669e19ca6c276ae/Source/WTF/wtf/posix/ThreadingPOSIX.cpp#L255>): `WTF::wtfThreadEntryPoint`
Features: Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc, spawn, standalone\_executable, standalone\_executable
<!-- from bun.report: 3jE55d0GDt9r2TisKV4q -->
<sub>Sentry Issue: <strong><a href="https://bun-p9.sentry.io/issues/6786649993/">BUN-SD1</a></strong></sub>
Steps to Reproduce
env \
NODE_ENV=dev \
NODE_DEBUG=* \
DEBUG=* \
curl -fsSL https://claude.ai/install.sh | bash -x
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.0.117
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
This crash is 100% reproducible on my computer; what additional information can I provide to help diagnose the issue?
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗