Skip to content

[Windows] Upgrade embedded Bun runtime from v1.3.5 — LSP broken due to spawn segfault #11648

Closed

Description

@EnvyGithub

Description

opencode v1.1.48 ships a standalone executable (opencode.exe) with Bun v1.3.5 embedded. This version has a known segmentation fault bug on Windows when spawning child processes (e.g., LSP servers).

Users cannot upgrade the embedded Bun runtime — it's baked into the binary via bun build --compile. Even upgrading system Bun to v1.3.8 has no effect.

Impact

  • All LSP functionality is broken on Windows for opencode + oh-my-opencode users
  • oh-my-opencode has added a safety check that blocks LSP startup entirely when Bun < 1.3.6 is detected
  • Since the embedded version is always 1.3.5, LSP is permanently disabled with no user workaround

Evidence

# Binary contains hardcoded Bun v1.3.5
$ strings opencode.exe | grep "Bun v"
Bun v1.3.5
Bun v1.3.5

# opencode version
$ opencode --version
1.1.48

Request

Please upgrade the embedded Bun runtime in the standalone executable to v1.3.6 or later in the next release.

Related Issues

Environment

  • opencode: v1.1.48
  • Embedded Bun: v1.3.5
  • OS: Windows 11 x64

Activity

  1. github-actions commented on Feb 1, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. Hona commented on Feb 18, 2026

    @Hona
    Member

    we are on 1.3.9

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions