Skip to content

OpenCode Crashes with Segmentation Fault After Removing Plugin from Configuration #26890

Closed as not planned

Description

@cheezmil

Description

OpenCode crashes with a Bun segmentation fault immediately after removing any plugin entry from the configuration file opencode.jsonc. Once this happens, OpenCode becomes permanently unusable and cannot be started again.

Bun v1.3.13 (bf2e2cec) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "D:\CodeRelated\Public\fnm\node\node-versions\v24.11.0\installation\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe" "-m" "local/mimo-v2.5"
Elapsed: 2ms | User: 15ms | Sys: 0ms
RSS: 18.06MB | Peak: 18.06MB | Commit: 24.71MB | Faults: 4560

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

Plugins

omo, opencode-pty

OpenCode version

Can't even see the version, I remember it was installed last week. panic(main thread): Segmentation fault at address 0x7FF7207392CD 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.13/e_1bf2e2ceAA4ky+FmrbqiM4jzn0DCYKERNEL32.DLLut0LCSntdll.dll4oijBA2u//B6spuugB

Steps to reproduce

After deleting any plugin item from the plugins array in C:\Users\xxxxx\.config\opencode\opencode.jsonc, OpenCode fails to start and crashes with a Bun segmentation fault error. The application becomes completely unusable - it cannot be opened again even after subsequent attempts.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal, vscode xterm

Activity

  1. github-actions commented on May 11, 2026

    @github-actions
    Contributor

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

    If your issue is distinct (specifically triggered by removing a plugin from config), please add a note clarifying what differentiates it from the above.

  2. Indy221 commented on Jun 25, 2026

    @Indy221

    Still ongoing problem.. i had exactly the same today. When is it fixed I dont understand this shit.

  3. zhjdotxmsme commented on Jul 15, 2026

    @zhjdotxmsme

    What a pile of bollocks this Bun is! OpenCode keeps crashing entirely thanks to Bun shitting the bed nonstop.
    Any config to bin Bun and run it on Node instead?

  4. github-actions commented on Sep 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions