claude-code - 💡(How to fix) Fix [BUG] Bun has crashed. Segmentation fault at address 0x35C23800000 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52817Fetched 2026-04-25 06:20:07
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×5renamed ×1

Error Message

After I updated claude to 2.1.113 (or higher) when I open it, it just crashes with this error:

Error Messages/Logs

Code Example

Bun v1.3.13 ([`0aa3dbc`](<https://github.com/oven-sh/bun/tree/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57>)) on linux x86_64_baseline [StandaloneExecutable]

Segmentation fault at address 0x56B1D800000

- [`encoding.zig:215`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/webcore/encoding.zig#L215>): `bun.js.webcore.encoding.toBunStringComptime`
- [`string.zig:208`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/string.zig#L208>): `string.String.cloneUTF8`
- [`ModuleLoader.zig:1150`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L1150>): `bun.js.ModuleLoader.getHardcodedModule`
- [`ModuleLoader.zig:1175`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L1175>): `bun.js.ModuleLoader.fetchBuiltinModule`
- [`ModuleLoader.zig:861`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L861>): `Bun__fetchBuiltinModule`
- [`ModuleLoader.cpp:971`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ModuleLoader.cpp#L971>): `JSC::JSValue Bun::fetchESMSourceCode<true>`
- [`ModuleLoader.cpp:1200`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ModuleLoader.cpp#L1200>): `Bun::fetchESMSourceCodeAsync`
- [`ZigGlobalObject.cpp:3404`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ZigGlobalObject.cpp#L3404>): `Zig::GlobalObject::moduleLoaderFetch`
- [`JSModuleLoader.cpp:277`](<https://github.com/oven-sh/WebKit/blob/bun-0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L277>): `JSC::JSModuleLoader::fetch`
- [`JSModuleLoader.cpp:509`](<https://github.com/oven-sh/WebKit/blob/bun-0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L509>): `JSC::moduleLoaderFetch`
- *1 unknown/js code*
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`

Features: standalone\_executable, claude\_code, jsc, no\_avx2, no\_avx
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After I updated claude to 2.1.113 (or higher) when I open it, it just crashes with this error:

Bun v1.3.13 (6db6c97b) Linux x64 (baseline) Linux Kernel v6.8.0 | glibc v2.39 Args: "claude" Features: jsc no_avx2 no_avx standalone_executable claude_code Builtins: "bun:main" Elapsed: 20333ms | User: 13995ms | Sys: 6347ms RSS: 4.55GB | Peak: 4.03GB | Commit: 4.55GB | Faults: 3 | Machine: 8.33GB

CPU lacks AVX support. Please consider upgrading to a newer CPU. panic(main thread): Segmentation fault at address 0x35C23800000 oh no: Bun has crashed. This indicates a bug in Bun, not your code.

What Should Happen?

It should open the claude code in terminal

Error Messages/Logs

Bun v1.3.13 ([`0aa3dbc`](<https://github.com/oven-sh/bun/tree/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57>)) on linux x86_64_baseline [StandaloneExecutable]

Segmentation fault at address 0x56B1D800000

- [`encoding.zig:215`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/webcore/encoding.zig#L215>): `bun.js.webcore.encoding.toBunStringComptime`
- [`string.zig:208`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/string.zig#L208>): `string.String.cloneUTF8`
- [`ModuleLoader.zig:1150`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L1150>): `bun.js.ModuleLoader.getHardcodedModule`
- [`ModuleLoader.zig:1175`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L1175>): `bun.js.ModuleLoader.fetchBuiltinModule`
- [`ModuleLoader.zig:861`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/ModuleLoader.zig#L861>): `Bun__fetchBuiltinModule`
- [`ModuleLoader.cpp:971`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ModuleLoader.cpp#L971>): `JSC::JSValue Bun::fetchESMSourceCode<true>`
- [`ModuleLoader.cpp:1200`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ModuleLoader.cpp#L1200>): `Bun::fetchESMSourceCodeAsync`
- [`ZigGlobalObject.cpp:3404`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/src/bun.js/bindings/ZigGlobalObject.cpp#L3404>): `Zig::GlobalObject::moduleLoaderFetch`
- [`JSModuleLoader.cpp:277`](<https://github.com/oven-sh/WebKit/blob/bun-0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L277>): `JSC::JSModuleLoader::fetch`
- [`JSModuleLoader.cpp:509`](<https://github.com/oven-sh/WebKit/blob/bun-0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L509>): `JSC::moduleLoaderFetch`
- *1 unknown/js code*
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`
- [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/0aa3dbc9ae7d49f06ec39f09667ae262c590ba57/ld-temp.o#L0>): `llint_op_call`

Features: standalone\_executable, claude\_code, jsc, no\_avx2, no\_avx

Steps to Reproduce

Just install claude and run it.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.112

Claude Code Version

2.1.119

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

extent analysis

TL;DR

The issue is likely due to the lack of AVX support in the CPU, causing a segmentation fault when running Claude Code version 2.1.113 or higher.

Guidance

  • The error message indicates that the CPU lacks AVX support, which is required by the newer versions of Claude Code.
  • The last working version was 2.1.112, suggesting that the issue is related to a change introduced in version 2.1.113.
  • To mitigate the issue, consider downgrading to version 2.1.112 or upgrading the CPU to one that supports AVX.
  • Verify that the issue is resolved by running Claude Code after applying the suggested fix.

Example

No code snippet is provided as the issue is related to a binary compatibility problem rather than a code-specific issue.

Notes

The issue is specific to the combination of Claude Code version 2.1.113 or higher and a CPU without AVX support. The solution may not apply to other versions or hardware configurations.

Recommendation

Apply workaround: Downgrade to version 2.1.112 until a compatible version of Claude Code is released that supports CPUs without AVX.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Bun has crashed. Segmentation fault at address 0x35C23800000 [1 participants]