claude-code - 💡(How to fix) Fix Bun 1.3.13 SIGSEGV at 0x8 in WebKit GC (PolymorphicAccessJITStubRoutine) during long session [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#52614Fetched 2026-04-24 06:02:25
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Claude Code CLI died mid-session with a Bun segfault in the WebKit JIT/GC cleanup path. Session had been running for ~3m 12s (191812ms elapsed) with normal tool use; crash was unprompted.

Root Cause

Claude Code CLI died mid-session with a Bun segfault in the WebKit JIT/GC cleanup path. Session had been running for ~3m 12s (191812ms elapsed) with normal tool use; crash was unprompted.

RAW_BUFFERClick to expand / collapse

Summary

Claude Code CLI died mid-session with a Bun segfault in the WebKit JIT/GC cleanup path. Session had been running for ~3m 12s (191812ms elapsed) with normal tool use; crash was unprompted.

Versions

  • Claude Code: 2.1.119
  • Bun: 1.3.13 (0aa3dbc9) Linux x64 baseline
  • OS: Ubuntu 22.04.5 LTS, kernel 6.19.9
  • CPU features: sse42 popcnt avx avx2 avx512
  • glibc: 2.35

Crash

``` panic(main thread): Segmentation fault at address 0x8 ```

Bun's own crash-report page attributes it to the WebKit variant destructor during garbage collection, specifically `PolymorphicAccessJITStubRoutine` cleanup.

Redacted crash dump already submitted to Bun: https://bun.report/1.3.13/B_10aa3dbcmgggkEuhogC4i5mnF+xyQ29o96Fk386oFg786oFou4hpF2qm+nFqoir5F+9xq5Forx05F8ok05F4wlwwE2p1gnGqln67F8hm67F_____A2AQ

Runtime snapshot at crash

  • Elapsed: 191812ms | User: 14976ms | Sys: 2933ms
  • RSS: 82.44MB | Peak: 0.45GB | Faults: 1267
  • Args: `claude --dangerously-skip-permissions`
  • Exit: `Illegal instruction (core dumped)`

Repro

Not currently reproducible on demand — happened once during a normal session (file reads, memory writes, bash tool calls, one WebFetch). Filing so the bun.report fingerprint can be correlated if others report the same stack.

Impact

SSH session to the host (mark1nvidia) was torn down when `claude` died, losing conversation state in the terminal scrollback. No persistent data loss (memory files are on disk).

extent analysis

TL;DR

The Claude Code CLI crash may be related to a segmentation fault in the WebKit JIT/GC cleanup path, and submitting the crash report to Bun may help identify the root cause.

Guidance

  • Review the crash report submitted to Bun to see if there are any updates or known issues related to the WebKit variant destructor during garbage collection.
  • Check if there are any similar issues reported by other users with the same Bun version (1.3.13) and Claude Code version (2.1.119).
  • Consider testing with a different version of Bun or Claude Code to see if the issue is reproducible.
  • Look into the --dangerously-skip-permissions flag used in the Claude Code CLI command, as it may be related to the crash.

Notes

The issue is not currently reproducible on demand, which makes it difficult to provide a definitive fix. The crash report has been submitted to Bun, and waiting for their response or correlation with other reports may provide more insight.

Recommendation

Apply workaround: Wait for the Bun team to review the crash report and provide an update or fix, as the issue seems to be related to a specific version of Bun.

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 Bun 1.3.13 SIGSEGV at 0x8 in WebKit GC (PolymorphicAccessJITStubRoutine) during long session [1 participants]