Skip to content

Segmentation fault (Bun v1.3.5) on Windows while using CLI #23303

Closed as not planned

Description

@rvoidex7

Description

The opencode CLI crashes with a "Segmentation fault" on Windows. The crash report indicates that the issue is within the embedded Bun v1.3.5 runtime, specifically a memory management error during finalization.

Plugins

none

OpenCode version

1.1.25

Steps to reproduce

I'm not exactly sure which specific action triggered this, but here is the last output from my terminal before the crash:
Plaintext

Builtins: "bun:ffi" "bun:main" "node:assert" ... (and other node modules)
Elapsed: 3125931ms | User: 203187ms | Sys: 139531ms
RSS: 6.20GB | Peak: 8.11GB | Commit: 10.20GB | Faults: 5276432 | Machine: 33.52GB

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

The application was running for a while (Elapsed: 3125931ms) before it hit this memory limit or fault.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows PowerShell

Activity

  1. github-actions commented on Apr 18, 2026

    @github-actions
    Contributor

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

  2. Hona commented on Apr 19, 2026

    @Hona
    Member

    youre on a really old version - please upgrade

  3. github-actions commented on Jul 5, 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