Skip to content

[Bug] Segmentation fault in Bun runtime during Claude Code execution #27699

Description

@tha-hammer

Bug Description

Bun v1.3.10 (1423d3c8) Linux x64 (baseline)
Linux Kernel v6.12.73 | glibc v2.41
CPU: sse42 popcnt avx avx2
Args: "claude" "--dangerously-skip-permissions" "--resume" "3ace7cf0-53a5-445a-8ffb-4f796d3edea1"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(36) fetch(289) jsc spawn(76) standalone_executable process_dlopen(2) yaml_parse(24)
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "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:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws"
Elapsed: 10357735ms | User: 148363ms | Sys: 39299ms
RSS: 0.02ZB | Peak: 0.79GB | Commit: 0.02ZB | Faults: 0 | Machine: 0.08TB

panic(main thread): Segmentation fault at address 0x7FFE012EC2E5
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

https://bun.report/1.3.10/B_11423d3cmgkgEuhogC4oi5wE+++PslpuiEslpuiEslpuiEslpuiE______________A28//Bquh7lB

[1] 164204 illegal hardware instruction

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.50
  • Feedback ID: 5136fbd9-de7e-4119-8bcc-b68a1a0833d6

Errors

[{"error":"Error: LSP server plugin:gopls-lsp:gopls failed to start: Executable not found in $PATH: \"gopls\"\n    at start (/$bunfs/root/claude:2549:22313)\n    at async f (/$bunfs/root/claude:2549:24623)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/claude:2549:22313)\n    at async f (/$bunfs/root/claude:2549:24623)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/claude:2549:22313)\n    at async f (/$bunfs/root/claude:2549:24623)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Executable not found in $PATH: \"gopls\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:2549:20843)\n    at f (/$bunfs/root/claude:2549:24623)\n    at L (/$bunfs/root/claude:2549:32725)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:2549:20843)\n    at f (/$bunfs/root/claude:2549:24623)\n    at L (/$bunfs/root/claude:2549:32725)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:2549:20843)\n    at f (/$bunfs/root/claude:2549:24623)\n    at L (/$bunfs/root/claude:2549:32725)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Failed to start LSP server plugin:gopls-lsp:gopls: Executable not found in $PATH: \"gopls\"\n    at <anonymous> (/$bunfs/root/claude:2549:32747)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Failed to start LSP server plugin:pyright-lsp:pyright: Executable not found in $PATH: \"pyright-langserver\"\n    at <anonymous> (/$bunfs/root/claude:2549:32747)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: Executable not found in $PATH: \"typescript-language-server\"\n    at <anonymous> (/$bunfs/root/claude:2549:32747)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-22T17:52:07.485Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/claude:2549:21470)\n    at …

Note: Content was truncated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions