Skip to content

Bun crash when /exiting #5896

Closed
Closed

Description

@ramarivera

Description

============================================================
Bun v1.3.5 (1e86cebd) macOS Silicon
macOS v26.2
CPU: fp aes crc32 atomics
Args: "/opt/homebrew/Cellar/opencode/1.0.176/libexec/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode" "--user-agent=opencode/1.0.176" "--"
Features: Bun.stderr(4) Bun.stdin(4) Bun.stdout(4) abort_signal(3) bunfig fetch(58) http_server jsc shell(86) spawn(67) standalone_executable transpiler_cache(8) tsconfig tsconfig_paths workers_spawned(2) workers_terminated napi_module_register(2) process_dlopen(3) exited
Builtins: "bun:ffi" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:console" "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" "node:worker_threads" "undici" "node-fetch"
Elapsed: 41587ms | User: 5880ms | Sys: 1301ms
RSS: 0.52GB | Peak: 0.71GB | Commit: 0.71GB | Faults: 3698 | Machine: 34.36GB

panic(main thread): A C++ exception occurred
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.5/Ma11e86cebm3nQz6339/Duk9r8C2zjm9CurqzqB____2+pBuo4/B+y00M2w52jBu2n69C+z1thC2yp7mCu9xyjB_mrsk+C___A0eNpzVHDW1lZIrUhOLSjJzM9TyE9OLi0qSk0BAF13CGE

OpenCode version

No response

Steps to reproduce

  1. Open opencode
  2. /exit
  3. boom -> bun crash

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Dec 21, 2025
  2. github-actions commented on Dec 21, 2025

    @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. removed
    perfIndicates a performance issue or need for optimization
    on Dec 21, 2025
  4. rekram1-node commented on Dec 21, 2025

    @rekram1-node
    Contributor

    looks like it says its a bun bug, do you mind opening the issue on bun?

  5. erskingardner commented on Jan 30, 2026

    @erskingardner

    Bun is now at 1.3.8 - can we get the opencode bundled version updated to see if that fixes this crash?

  6. github-actions commented on Apr 1, 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 working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions