Skip to content

TypeScript LSP crashes with Bun segmentation fault on Windows 11 #7318

Closed

Description

@rucnyz

Description

OpenCode crashes immediately when TypeScript LSP is activated. This happens consistently in any TypeScript project when using web or TUI mode.

Environment

  • OpenCode version: 1.1.6
  • Bun version: 1.3.5
  • OS: Windows 11 x64
  • CPU features: SSE4.2, AVX, AVX2, AVX512

Error Log

[Request interrupted by user]
Bun v1.3.5 (1e86cebd) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2 avx512
Args: "C:\Usersuser>bun\install\global\node_modules\opencode-windows-x64\bin\opencode.exe" "--user-agent=opencode/1.1.6" "--use-system-ca " "--" "web"
Features: Bun.stderr(3) Bun.stdin(2) Bun.stdout(2) abort_signal(3) fetch(40) http_server jsc shell(26) spawn(25) standalone_executable transpiler_cache(4) tsconfig napi_module_register process_dlopen
Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:console" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:readline" "node:readline/promises" "node:stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "undici" "node-fetch" "node:v8" "node:dgram"
Elapsed: 40438ms | User: 1187ms | Sys: 500ms
RSS: 0.51GB | Peak: 0.54GB | Commit: 0.66GB | Faults: 174082 | Machine: 66.20GB

panic(main thread): Segmentation fault at address 0x3979E6E0180
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Bun crash report link: https://bun.report/1.3.5/ea11e86cebmjGz+339/D_+wlwekhlwe4/i3nBgjr4uBwov6uBk13pvB2/0pvB860ovBi1ipvBy+zovB67mzvB2wyiwBko1pvBy53nvBuwzznB+lryU48j7Qsi/yMiv8mHA2u5Bho/nyhD

Plugins

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

OpenCode version

1.1.6

Steps to reproduce

  1. Open any TypeScript project
  2. Run opencode
  3. Ask the agent "Please test if you can use typescript's lsp"
  4. Wait for TypeScript LSP to initialize
  5. Crash occurs

Screenshot and/or share link

https://opncd.ai/share/6isLOi04

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Jan 8, 2026
  2. github-actions commented on Jan 8, 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.

  3. dhpancor commented on Jan 15, 2026

    @dhpancor

    Happening to me too! Using opencode v1.1.21 and TypeScript LSP.

  4. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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 workingperfIndicates a performance issue or need for optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions