Skip to content

[BUG] claude code crashes with BUN error #28525

Description

@BrewingCoder

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?

I am using claude code to examine IDA assembly code; when it analyzes certain dissasembled code it crashes with a BUN error. The error has been reported to BUN.

The following is the BUN Call stack:

Bun v1.3.10 (d885ce7) on windows x86_64_baseline [_]

Segmentation fault at address 0xFFFFFFFFFFFFFFFF

Features: spawn, standalone_executable, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc

What Should Happen?

well it shouldn't crash :)

Error Messages/Logs

============================================================
Bun v1.3.10 (d885ce7f) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\Users\ScottSingleton\.local\bin\claude.exe" "--dangerously-skip-permissions"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(27) jsc spawn(19) standalone_executable process_dlopen(2)
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: 57224ms | User: 8281ms | Sys: 1984ms
RSS: 1.54GB | Peak: 1.55GB | Commit: 1.97GB | Faults: 635986 | Machine: 68.42GB

panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
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/e_1d885ce7mgEugogCyviIgozsiD__________________A2DD

Steps to Reproduce

I cannot share the assembly it is analyzing publicly; it's copywritten code. Not sure what part of it is causing the crash but it's the result of a disasm(paddr) text result from IDA

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.56

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

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