Skip to content

BUN segmentation fault 0x #8736

Closed
Closed

Description

@TIERFactory

Description

I'm getting BUN segmentation fault 0x0 very frequently on windows. it reports version of bun 1.3.6 (i've installed the bun to the latest one manually 1.3.7, but still reports 1.3.6 when OpenCode crashes). I've noticed this is happening when the AI uses the rgrep search across multiple files/folders/content. I'm experiencing this issue with the GPT5.2 if that matters.

Plugins

No response

OpenCode version

All versions after 1.1.11(this is the first i've used)

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 11 Pro

Terminal

Powershell

Activity

  1. github-actions commented on Jan 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    All of these involve Bun segmentation faults on Windows with version inconsistencies. Feel free to ignore if your specific case (rgrep search triggering the crash) addresses a unique scenario.

  2. changed the title [-]BUN segmentation fault 0x0[/-] [+]BUN segmentation fault 0x[/+] on Jan 15, 2026
  3. rekram1-node commented on Jan 15, 2026

    @rekram1-node
    Collaborator

    Can you open an issue on bun repo? This is a bug in bun itself, not opencode

  4. antz-H commented on Jan 24, 2026

    @antz-H

    hi,

    Now , are you good for the oepncode about the bun bug?

  5. TIERFactory commented on Jan 24, 2026

    @TIERFactory
    Author

    Hey, I installed a Linux because bun guys are updating their repo not that often and I cant do anything while waiting .

    hi,

    Now , are you good for the oepncode about the bun bug?

  6. LeoNardo-LB commented on Jan 24, 2026

    @LeoNardo-LB

    @rekram1-node Can opencode update the version of bun? It seems that the latest version 1.3.6 of bun has fixed this issue.

    the same problem

    Bun v1.3.5 (1e86cebd) Windows x64 (baseline)
    Windows v.win11_dlLM-4.7 Zhipu AI Coding Plan
    CPU: sse42 avx avx2 avx512
    Args: "C:\Users\Administrator\scoop\apps\opcode\current\opcode.exe" "--user-agent=opcode/1.1.34" "--use-system-ca " "--"1.1.34
    Features: Bun.stderr(4) Bun.stdin(4) Bun.stdout(4) abort_signal(2) fetch(137) jsc shell(188) spawn(120) standalone_executable tsconfig_workers_spawned(2) n
    api_module_register process_dlopen
    Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:console" "node:crypto" "node:dns" "node:events" "n
    ode:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:readline" "node:
    stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:worker_threads" "undici" "node:v8" "n
    ode:http2" "node:diagnostics_channel" "node:dgram"
    Elapsed: 1592842ms | User: 39703ms | Sys: 7218ms
    RSS: 0.86GB | Peak: 0.89GB | Commit: 1.15GB | Faults: 666301 | Machine: 33.35GB

    panic (thread 7456): Segmentation fault at address 0x5E1041E0180
    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.5/ea1le86cebmyGz+3/9/D_+wlwekhlwe4/i3nBgjr4uBwov6uBk13pvB2/0pvB860ovB11pvBy+zovB67mzvB2wy1wBko1pvBy53nvBotuzyBqwyowB___A2i+Cg4g4jE

  7. Delitants commented on May 5, 2026

    @Delitants

    Image Not fixed, same on Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions