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
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
pluginsarray inC:\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