Skip to content

opencode crashes with Aborted (core dumped) on NVIDIA GH200 (ARM)聽#1657

Closed

Description

@Kenny-Heitritter

Description
On two different NVIDIA GH200 servers (ARM Neoverse V2, aarch64), running opencode immediately aborts with Aborted (core dumped).


馃敼 Environment

  • System: Ubuntu 22.04.5 LTS (jammy)

  • Kernel: 6.8.0-1032-nvidia-64k

  • Architecture: aarch64

  • Install method:

    curl -fsSL https://opencode.ai/install | bash
    source ~/.bashrc
  • CLI version: 0.3.131 and 0.3.132

  • Reproducibility: Same behavior on two GH200 servers (bare metal).


馃敼 Steps to Reproduce

curl -fsSL https://opencode.ai/install | bash
source ~/.bashrc
opencode

馃敼 Actual Behavior

$ opencode
Aborted (core dumped)

馃敼 Debugging Output

gdb backtrace

(gdb) run
Starting program: /home/kenny/.opencode/bin/opencode
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=281474838626336, signo=signo@entry=6, no_tid=no_tid@entry=0)
    at ./nptl/pthread_kill.c:44
#0  __pthread_kill_implementation (threadid=281474838626336, signo=6, no_tid=0)
    at ./nptl/pthread_kill.c:44
#1  0x0000fffff7e3f244 in __pthread_kill_internal (signo=6, threadid=<optimized out>)
#2  0x0000fffff7dfa67c in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x0000fffff7de7130 in __GI_abort () at ./stdlib/abort.c:79
#4  0x0000000003d47c20 in ?? ()
#5  0x00000000003609d6 in ?? ()
#6  0x0000000003d2ce98 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Activity

  1. Kenny-Heitritter commented on Aug 6, 2025

    @Kenny-Heitritter
    Author

    This actually appears to be a Bun issue oven-sh/bun#6241

  2. self-assigned this
    on Aug 7, 2025
  3. evannotfound commented on Nov 28, 2025

    @evannotfound

    facing the same issue, any solutions?

  4. evannotfound commented on Nov 28, 2025

    @evannotfound

    I solved this problem temporarily (currently using ubuntu on Ampere A1) by removing the bun.lock and node_modules at ~/.cache/opencode and then cd to ~/.cache/opencode and run npm install or pnpm install

    It appears it is a bun issue running on arm instances

  5. rekram1-node commented on Nov 28, 2025

    @rekram1-node
    Contributor

    can you share the bun error @evannotfound and we can send it to the bun team? Maybe steps for reproduction too

  6. evannotfound commented on Nov 28, 2025

    @evannotfound

    @rekram1-node The steps to reproduce (running on affected aarch64 architectures stated in oven-sh/bun#17627):

    1. install opencode
    2. try to remove opencode's cache, run
      rm -rf ~/.cache/opencode/node_modules ~/.cache/opencode/bun.lock
      
    3. then try to start opencode opencode
    4. error: Aborted (core dumped)

    There isn't really any bun error stated, but I believe it is related to bun since installing using other package manager fixes everything

  7. LEI commented on Nov 29, 2025

    @LEI

    I had the same error with https://aur.archlinux.org/packages/opencode, the steps you described fixed it.

    uname -m
    x86_64
    
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