LSP server cannot be started safely #8225

Closed
opened 2026-02-16 18:09:27 -05:00 by yindo · 1 comment
Owner

Originally created by @Clement-ccy on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Error
LSP server cannot be started safely. ⚠️ Windows + Bun v1.3.5 detected: Known segmentation fault bug with LSP. This causes crashes when using LSP tools (lsp_diagnostics, lsp_goto_definition, etc.). SOLUTION: Upgrade to Bun v1.3.6 or later: powershell -c "irm bun.sh/install.ps1|iex" WORKAROUND: Use WSL instead of native Windows. See: https://github.com/oven-sh/bun/issues/25798

the version of bun need to be updated.

Plugins

oh-my-opencode, opencode-antigravity-auth@latest

OpenCode version

v1.1.48

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

No response

Originally created by @Clement-ccy on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Error LSP server cannot be started safely. ⚠️ Windows + Bun v1.3.5 detected: Known segmentation fault bug with LSP. This causes crashes when using LSP tools (lsp_diagnostics, lsp_goto_definition, etc.). SOLUTION: Upgrade to Bun v1.3.6 or later: powershell -c "irm bun.sh/install.ps1|iex" WORKAROUND: Use WSL instead of native Windows. See: https://github.com/oven-sh/bun/issues/25798 the version of bun need to be updated. ### Plugins oh-my-opencode, opencode-antigravity-auth@latest ### OpenCode version v1.1.48 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Windows 10 ### Terminal _No response_
yindo added the windowsbug labels 2026-02-16 18:09:28 -05:00
yindo closed this issue 2026-02-16 18:09:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

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

  • #7318: TypeScript LSP crashes with Bun segmentation fault on Windows 11 - Same root cause (Bun v1.3.5 segmentation fault)
  • #11339: Segmentation fault (0xFFFFFFFFFFFFFFFF) in Bun 1.3.5 during Planner execution on Windows - Related Bun 1.3.5 crash on Windows
  • #11404: Suggestion to Update the BUILT-IN BUN VERSION in the Binary Package to Fix OpenCode Issues Caused by Bun bugs - Addresses the same Bun version upgrade need

All these issues stem from the known Bun v1.3.5 segmentation fault bug on Windows. The recommended solutions are consistent: upgrade to Bun v1.3.6 or later, or use WSL.

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

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue might be a duplicate of existing issues. Please check: - #7318: TypeScript LSP crashes with Bun segmentation fault on Windows 11 - Same root cause (Bun v1.3.5 segmentation fault) - #11339: Segmentation fault (0xFFFFFFFFFFFFFFFF) in Bun 1.3.5 during Planner execution on Windows - Related Bun 1.3.5 crash on Windows - #11404: Suggestion to Update the BUILT-IN BUN VERSION in the Binary Package to Fix OpenCode Issues Caused by Bun bugs - Addresses the same Bun version upgrade need All these issues stem from the known Bun v1.3.5 segmentation fault bug on Windows. The recommended solutions are consistent: upgrade to Bun v1.3.6 or later, or use WSL. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8225