Skip to content

Segmentation fault at address 0x0 on Windows x64 baseline in Bun v1.3.5 during opencode-ai execution #25798

@jed1boy

Description

@jed1boy

What version of Bun is running?

1.3.5

What platform is your computer?

Windows

What steps can reproduce the bug?

  1. Running opencode-ai version 1.0.223 on Windows 11.
  2. Executing the command that triggers subagents (e.g., ctrl+x right).
  3. The process was actively reading/writing many files in a Next.js/React project directory (E:\programming\newlinktree) just before the crash.

What is the expected behavior?

The tool should manage the subagents and file operations without a segmentation fault.

What do you see instead?

Bun v1.3.5 (1e86ceb) on windows x86_64_baseline [_]

Segmentation fault at address 0x00000000

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

Additional information

Environment: Windows x64 (baseline)

Active Features at crash: spawn(334), standalone_executable, process_dlopen, fetch(200), jsc, Bun.stdout/stdin/stderr.

Context: The crash occurred while opencode was performing a sequence of file reads and writes (as shown in the terminal history) for a project involving src\app\dashboard\collections.

https://bun.report/1.3.5/Bn11e86cebiCugggCmropvEm6yXmx1r+D_mx1r+Dmx1r+Dmx1r+D_8msg+D8msg+D8msg+D8msg+D___0ry49Ds1mg9E6j4rhFwvzqkFshkmqFA26//BqlshqmC

https://bun.report/1.3.5/ea11e86cebm3Gzu339/DA2AA

https://bun.report/1.3.5/ea11e86cebmRz+339/D_+wlwekhlwe4/i3nBgjr4uBwov6uBk13pvB2/0pvB860ovBi1ipvBy+zovB67mzvB2wyiwBko1pvBy53nvBihsiwBy+61mBu49o3B__A2ypChw/n81C

https://bun.report/1.3.5/ea11e86cebmRz+339/D_+wlwekhlwe4/i3nBgjr4uBwov6uBk13pvB2/0pvB860ovBi1ipvBy+zovB67mzvB2wyiwBko1pvBy53nvBihsiwBq6jrwBoo+qwB0n36wBiuiyxBA2wiBhy/n8D

https://bun.report/1.3.5/ea11e86cebmRz+339/D_+wlwekhlwe4/i3nBgjr4uBwov6uBk13pvB2/0pvB860ovBi1ipvBy+zovB67mzvB2wyiwBko1pvBy53nvBihsiwBq6jrwBoo+qwB0n36wBiuiyxBA2wiBhy/n8D

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions