Skip to content

[bug]Segmentation fault at address 0x00000003 #25186

Closed

Description

@cheezmil

How can we reproduce the crash?

npm i -g opencode-ai@latest
then opencode
input “啊啊啊啊啊啊啊啊”

Relevant log output

Stack Trace (bun.report)

Bun v1.3.3 (274e01c) on windows x86_64_baseline [AutoCommand]

Segmentation fault at address 0x00000003

  • ??? at 0x644d9 in .9b7bebe73ff6de7f-00000000.dll
  • 1 unknown/js code
  • JSFFIFunction.cpp:166: Zig::JSFFIFunction::trampoline

Features: standalone_executable, workers_spawned, workers_terminated, Bun.stderr, Bun.stdin, Bun.stdout, abort_signal, fetch, http_server, jsc, shell, spawn, spawn

Sentry Issue: BUN-3HW

Activity

  1. github-actions commented on Nov 28, 2025

    @github-actions
    Contributor

    Found 3 possible duplicate issues:

    1. Opencode crash #24580
    2. Segmentation fault at address 0x0 #25154
    3. bun:ffi crash after passing ptr to buffer #23446

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. Jarred-Sumner commented on Nov 29, 2025

    @Jarred-Sumner
    Collaborator

    Fixed in #25045

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions