You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
server: v2.0.11 background service segfaults repeatedly (SIGSEGV, Linux x64) #50246
The background service process (opencode serve --service) crashed with SIGSEGV 9 times in one day (2026-09-20, 13:15–23:32 local time). Each crash dumps a large core (240–380 MB). The client auto-relaunches the service within ~1 minute, so the user-visible symptom is OpenCode suddenly "restarting by itself" (all TUIs disconnect and reconnect; sessions persist).
Nothing is logged before the crashes (opencode.log shows normal activity — git snapshots on two worktrees). coredumpctl reports Signal: 11 (SEGV); the captured stack is the runtime abort path (pthread_kill → raise → native frames in the stripped Bun build).
2.0.11 (latest v2 tag). Crashes started on 2026-09-20; previous days were clean. No build or config change known to correlate with the first crash.
Steps to reproduce
Not reproducible on demand. Spontaneous crashes on 2026-09-20 (core-dump report times): 13:15:49 · 14:20:58 · 14:56:27 · 15:12:51 · 15:15:40 · 16:43:10 · 17:12:40 · 18:39:41 · 23:32:28.
Setup context: long-running Linux desktop (3 d uptime), several TUIs sharing one managed service, heavy git-snapshot activity in two large worktrees on external drives.
Screenshot and/or share link
coredumpctl info excerpt (latest crash):
Signal: 11 (SEGV)
Command Line: /home/<user>/.opencode/bin/opencode serve --service
#0 __pthread_kill_implementation (libc.so.6)
#1 __GI_raise (libc.so.6)
#2–#5 native frames in the opencode binary (stripped)
Module /tmp/.bun-1000-*.so without build-id
Core files are retained locally — happy to provide more detail if useful.
Also seeing this on 2.0.12 — same environment class (Linux x64, Ubuntu, kernel 7.0.x) and the same /tmp/.bun-*.so module in the crash. (I have since upgraded to 2.0.20; see the end of this comment.)
Version / environment
opencode --version: 2.0.12 while the crashes below were recorded (binary at /opt/opencode/bin/opencode, symlinked from /usr/local/bin/opencode); upgraded to 2.0.20 on 2026-09-30
OS: Ubuntu 26.04, kernel 7.0.0-28-generic, x86_64
One shared background service (opencode serve --service); usually a single TUI attached
Symptom
Identical: opencode serve --service segfaults, the client relaunches it within ~1 minute, TUIs disconnect and
reconnect, sessions persist.
Frequency
Ubuntu's apport crash handler recorded 31 opencode crashes between 2026-09-19 and 2026-09-30 (10 of them on
2026-09-30 alone). Nearly all are serve --service; a couple are the plain opencode TUI process.
Crash times on 2026-09-30 (local time): 00:54:20, 03:09:01, 10:01:28, 11:03:49, 11:08:52, 11:21:26, 12:14:20,
12:54:52, 15:19:46.
Corroborating the auto-relaunch: each new run= in opencode.log starts a few seconds after an apport SIGSEGV entry,
e.g. crash 11:03:49 → new run at 11:03:55; crash 12:14:20 → new run at 12:14:26.
The 12.8 MB .so contains Rust code (fff-style fuzzy file search + git-status strings, e.g. Arc counter overflow, untracked, staged_modified).
Logs
Nothing is logged before the crashes (matches your report). The only recurring line is:
level=ERROR message="Failed to fetch models.dev" cause=Cause([Fail(TimeoutError)])
every ~5 minutes. models.dev responds HTTP 200 from this host, so this looks like unrelated network noise, not the
cause. There are no watcher/inotify errors (ENOSPC/EMFILE) in the log.
Note on core capture
apport refuses to write new reports ("report already exists and unseen, skipping to avoid disk usage DoS"), so /var/crash keeps only one stale report, and the stored core is truncated (called for global pid ..., signal 11, core limit 0) — decompressing it fails, so no local backtrace is available.
Other
In the same window apport also recorded a single SIGSEGV of an unrelated local binary (strata engine) and one of python3.14 — almost certainly unrelated, but mentioning it for completeness.
Upgraded to 2.0.20 on 2026-09-30 (the /opt binary was replaced; opencode service status now reports 2.0.20). No
crash has been recorded since the upgrade. I will follow up here if it recurs, and will try opencode --standalone if
it does.
Same visible pattern here: the service kept restarting by itself, with TUIs disconnecting and reconnecting. Mine was a hang rather than a crash, so your SIGSEGV is probably a different bug - but one thing may still be worth ruling out, since your logs show git-snapshot activity on large worktrees.
Check what opencode considers the project root when it runs: git rev-parse --show-toplevel
If that prints a folder far above your actual project (your home folder, a parent folder, a drive root), a stray/accidental .git is the culprit - the snapshot scan then walks that whole tree twice per turn. Deleting that leftover .git and starting opencode inside a real project removes the condition. (An accidental repo is usually empty - zero commits - so nothing is lost; rename it instead if unsure.)
If it prints your real project, count what the scan sees: git ls-files --others --exclude-standard | wc -l - if that is in the 100k+ range, the heavy directories (node_modules, target, build, caches) need to go into .gitignore, or snapshotting disabled with "snapshot": false.
For me, deleting the stray ~/.git removed the failure completely. If neither applies here, treat this as noise - and your core dumps are the more useful lead.
Update from the original reporter — still crashing on 2.0.22.
Upgraded 2.0.21 → 2.0.22 today (~09:29 local); the bug persists. Crashes today alone: 11:17:54 and 11:39:53 — the second one was the service spawned at 11:18:50, i.e. a process actually running 2.0.22. Nothing is logged before the crashes (matches the original report); client auto-relaunches within ~1 minute.
Cores (systemd-coredump, all SIGSEGV, opencode serve --service; 11 total since 2026-09-30):
time (local)
PID
09-30 15:26:36
11198
09-30 15:33:56
875803
09-30 17:38:21
886253
09-30 17:56:44
1015432
09-30 18:32:49
1034903
10-01 09:11:37
318574
10-01 09:15:58
789086
10-02 01:19:11
1432416
10-02 01:37:56
1779163
10-02 11:17:54
2261132
10-02 11:39:53
2358727
In-binary stack offsets — identical across every core inspected:
Frames #2–#5 are byte-identical in all cores examined → a single recurring crash path, not random corruption at different sites.
Impact (may help triage): every crash kills all in-flight tool calls in all sessions (Tool execution interrupted: <tool>), including question tool calls awaiting a user answer — a pending question left unanswered dies at the next crash, which looks like a "timeout" from the user's side but is this crash.
Ruled out here: not OOM (~10 GiB free, no kernel OOM logs); not the stray-.git/giant-tree snapshot issue suggested earlier (no stray .git; every project root resolves normally on this machine).
Cores are retained locally — happy to provide anything else.
The repeated offsets are useful, but the frames shown stop in the runtime signal/abort path; the mapped FFF and watcher modules alone do not identify the faulting component. I also checked the current service-side native wrappers and cannot yet connect this to a specific lifetime bug.
Could you share the installation source and commit/build identity of the exact 2.0.22 executable that produced a retained core, plus the complete thread backtraces (thread apply all bt) and loaded-module/build-ID information from that core? Service stderr around the crash, especially a Bun crash report URL if one was emitted, would also help map the offsets.
This should stay separate from the stray-repository hang, which your latest report already rules out.
Thanks — here are the install/build identity, the core data, and the stderr status.
Install source and build identity (2.0.22 executable that produced a retained core)
Install: standalone layout at ~/.opencode/bin/opencode (installer footprint: ~/.opencode/{bin,node_modules,package.json}; self-managed updater).
Update history (from the service log): the updater replaced 2.0.21 → 2.0.22 on 2026-10-02 08:37:45Z (updated OpenCode from=2.0.21 to=2.0.22 method=curl), and the background service restarted on version-mismatch immediately after. The crashing process (PID 2358727, spawned 11:18:50 local) was started from that file, and the file is unchanged since (still 2.0.22; no later update event in the log).
Build identity: tag v2.0.22 → commit 527f0b9 ("release: v2.0.22", 2026-10-02T04:22:58Z). Note: the v2.0.x tags have no GitHub Release objects (releases API 404s for this tag; latest published release is v1.18.34), so no official asset hash to cross-check against — here is the local one:
ELF 64-bit x86-64, dynamically linked, 204,482,016 bytes, BuildID[sha1] = 5afca2666bfab8605a934f1b6231dacae0518a5f, not stripped — but the .symtab only carries exported shim symbols (napi_*, uv_*, v8::* wrappers); none of the crash offsets have symbol coverage, gdb shows ?? for all of them and there is no DWARF.
Core and thread backtraces
Core retained by systemd-coredump: core.opencode.1000.d70bc1b2091e4e1e80372f359673b03b.2358727.1790937577000000.zst (243 MB on disk) — SIGSEGV, 2026-10-02 11:39:37 WEST, /home/<user>/.opencode/bin/opencode serve --service, 35 threads.
Crashing thread as gdb unwinds it (unwind stops at #4 — no usable unwind info past that point):
Thread 1 (Thread 0x789e5e2d0e80 (LWP 2358727)):
#0 __pthread_kill_implementation (no_tid=..., signo=..., threadid=...) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=..., threadid=...) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=..., signo=...) at ./nptl/pthread_kill.c:89
#3 0x0000789e5e04527e in __GI_raise (sig=...) at ../sysdeps/posix/raise.c:26
#4 0x000000000378db92 in ?? ()
#5 0x0000000000000400 in ?? ()
#6 0x0000000000000000 in ?? ()
The systemd-coredump journal trace for the same core continues past that point (identical offsets to the earlier reports):
siginfo from the core: the si_pid/si_uid fields read back as pid 2358727 (the process itself) / uid 1000 — consistent with the process raising SIGSEGV on itself via raise() in the runtime's crash path. (Also consistent: the kernel logged no segfault at ... entry for any of these crashes.)
All other threads were idle at crash time: runtime threads parked in syscall/futex, 6 libonnxruntime.so.1 condition-wait threads (from the plur-memory plugin) and 2 watcher threads (the bundled @parcel/watcher native), one thread parked in-binary at opencode+0x18f6d86. Complete thread apply all bt (all 35 threads): in the collapsible block below
Note: /tmp/.bun-1000-89812e6e6a68aaeb.so has no build-id (systemd flagged it too); the other two .bun modules are extracted at runtime and content-hash-named (no separate build metadata of their own). Happy to pull any per-module detail you want.
Service stderr / Bun crash report
The service is spawned by a supervising client: its stdout is /dev/null and stderr is a socket to that client (verified on the current instance, same spawner). So crash-time stderr is not persisted anywhere on disk, and the service log has nothing at the crash.
Searched for a Bun crash report URL (bun.report) in the service log and the state directory: none found. If the runtime emitted one, it went over that socket.
If it helps I can restart the service with stderr redirected to a file so the next crash's runtime output (including any crash-report URL) is captured.
Cores for both 2.0.22 crashes (11:17:54 and 11:39:53) are retained — happy to run any specific gdb commands you want on them.
Complete thread apply all bt (all 35 threads)
[New LWP 2358727]
[New LWP 2358729]
[New LWP 2358744]
[New LWP 2358743]
[New LWP 2358762]
[New LWP 2358766]
[New LWP 2358763]
[New LWP 2358765]
[New LWP 2358764]
[New LWP 2358767]
[New LWP 2358791]
[New LWP 2358794]
[New LWP 2358798]
[New LWP 2358793]
[New LWP 2360069]
[New LWP 2358792]
[New LWP 2360070]
[New LWP 2358768]
[New LWP 2360066]
[New LWP 2358796]
[New LWP 2358795]
[New LWP 2360072]
[New LWP 2377948]
[New LWP 2377947]
[New LWP 2377949]
[New LWP 2358797]
[New LWP 2359540]
[New LWP 2359543]
[New LWP 2359542]
[New LWP 2377895]
[New LWP 2359539]
[New LWP 2360071]
[New LWP 2359541]
[New LWP 2359544]
[New LWP 2360068]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/<user>/.opencode/bin/opencode serve --service'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x789e5e2d0e80 (LWP 2358727))]
Id Target Id Frame
* 1 Thread 0x789e5e2d0e80 (LWP 2358727) __pthread_kill_implementation (no_tid=..., signo=..., threadid=...) at ./nptl/pthread_kill.c:44
2 Thread 0x789e1d7ff6c0 (LWP 2358729) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
3 Thread 0x789e17fff6c0 (LWP 2358744) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
4 Thread 0x789e1c7ff6c0 (LWP 2358743) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
5 Thread 0x789e1cf3f6c0 (LWP 2358762) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
6 Thread 0x789e1c2fc6c0 (LWP 2358766) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
7 Thread 0x789e1cebe6c0 (LWP 2358763) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
8 Thread 0x789e1c37d6c0 (LWP 2358765) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
9 Thread 0x789e1c3fe6c0 (LWP 2358764) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
10 Thread 0x789e1c27b6c0 (LWP 2358767) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
11 Thread 0x789e17bfe6c0 (LWP 2358791) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
12 Thread 0x789e167fe6c0 (LWP 2358794) 0x0000789e5e11b79d in __GI___poll (fds=..., nfds=..., timeout=...) at ../sysdeps/unix/sysv/linux/poll.c:29
13 Thread 0x789e147fd6c0 (LWP 2358798) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
14 Thread 0x789e16fff6c0 (LWP 2358793) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
15 Thread 0x789cd53ff6c0 (LWP 2360069) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
16 Thread 0x789e177fd6c0 (LWP 2358792) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
17 Thread 0x789cd4bfe6c0 (LWP 2360070) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
18 Thread 0x789e1c1fa6c0 (LWP 2358768) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
19 Thread 0x789e013ff6c0 (LWP 2360066) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
20 Thread 0x789e14fff6c0 (LWP 2358796) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
21 Thread 0x789e15ffd6c0 (LWP 2358795) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
22 Thread 0x789ccf7fe6c0 (LWP 2360072) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
23 Thread 0x789e1cffe6c0 (LWP 2377948) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
24 Thread 0x789e5e2ca6c0 (LWP 2377947) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
25 Thread 0x789e1dc836c0 (LWP 2377949) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
26 Thread 0x789e14bfe6c0 (LWP 2358797) 0x0000000001af6d86 in ?? ()
27 Thread 0x789e03bfe6c0 (LWP 2359540) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
28 Thread 0x789e02ffb6c0 (LWP 2359543) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
29 Thread 0x789e033fc6c0 (LWP 2359542) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
30 Thread 0x789e1dd046c0 (LWP 2377895) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
31 Thread 0x789e03fff6c0 (LWP 2359539) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
32 Thread 0x789ccffff6c0 (LWP 2360071) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
33 Thread 0x789e037fd6c0 (LWP 2359541) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
34 Thread 0x789e02bfa6c0 (LWP 2359544) syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
35 Thread 0x789e00bfe6c0 (LWP 2360068) 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
Thread 35 (Thread 0x789e00bfe6c0 (LWP 2360068)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789cd6c2090f in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#7 0x0000789cd6c21044 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#8 0x0000789cd6c38caa in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#9 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#10 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 34 (Thread 0x789e02bfa6c0 (LWP 2359544)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a1200 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 33 (Thread 0x789e037fd6c0 (LWP 2359541)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0fc0 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 32 (Thread 0x789ccffff6c0 (LWP 2360071)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789cd6c2090f in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#7 0x0000789cd6c21044 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#8 0x0000789cd6c38caa in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#9 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#10 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 31 (Thread 0x789e03fff6c0 (LWP 2359539)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0e40 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 30 (Thread 0x789e1dd046c0 (LWP 2377895)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101584000000000 in ?? ()
#7 0x41daafe27ce2e335 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000207dd5b0 in ?? ()
#10 0x41a5d72dbe000000 in ?? ()
#11 0x000005a43bd12500 in ?? ()
#12 0x0000789e1dcfe6c0 in ?? ()
#13 0x000005a43bd12508 in ?? ()
#14 0x0000789e1dcfe680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1dcfe620 in ?? ()
#17 0x0000789e1dcfe6e0 in ?? ()
#18 0x0000789e1dcfe6c0 in ?? ()
#19 0x0000789e1dcfe698 in ?? ()
#20 0x00000000846b8088 in ?? ()
#21 0x000005a42b2e6f93 in ?? ()
#22 0x000005a443832fa0 in ?? ()
#23 0x0000000000000000 in ?? ()
Thread 29 (Thread 0x789e033fc6c0 (LWP 2359542)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a1080 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 28 (Thread 0x789e02ffb6c0 (LWP 2359543)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a1140 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 27 (Thread 0x789e03bfe6c0 (LWP 2359540)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0f00 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 26 (Thread 0x789e14bfe6c0 (LWP 2358797)):
#0 0x0000000001af6d86 in ?? ()
#1 0x0000000000000000 in ?? ()
Thread 25 (Thread 0x789e1dc836c0 (LWP 2377949)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101584000000000 in ?? ()
#7 0x41daafe27ce25efc in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x000000002002b15a in ?? ()
#10 0x41a4e0e7a6000000 in ?? ()
#11 0x000005a4405d1f00 in ?? ()
#12 0x0000789e1dc7d6c0 in ?? ()
#13 0x000005a4405d1f08 in ?? ()
#14 0x0000789e1dc7d680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1dc7d620 in ?? ()
#17 0x0000789e1dc7d6e0 in ?? ()
#18 0x0000789e1dc7d6c0 in ?? ()
#19 0x0000789e1dc7d698 in ?? ()
#20 0x000005a42ac00000 in ?? ()
#21 0x000005a42b2e7053 in ?? ()
#22 0x0000000000000064 in ?? ()
#23 0x000005a4405d1f00 in ?? ()
#24 0x00000000846b8088 in ?? ()
#25 0x000005a42afa148c in ?? ()
#26 0x0000789e1dc7d640 in ?? ()
#27 0x0000000000000000 in ?? ()
Thread 24 (Thread 0x789e5e2ca6c0 (LWP 2377947)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101584000000000 in ?? ()
#7 0x41daafe27ce2dbe7 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x000000002077081d in ?? ()
#10 0x41a5c9950a000000 in ?? ()
#11 0x000005a43db0a300 in ?? ()
#12 0x0000789e5e2c46c0 in ?? ()
#13 0x000005a43db0a308 in ?? ()
#14 0x0000789e5e2c4680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x000005a44093c000 in ?? ()
#17 0x0000789e5e2c46e0 in ?? ()
#18 0x0000789e5e2c46c0 in ?? ()
#19 0x0000789e5e2c4698 in ?? ()
#20 0x000005a440970000 in ?? ()
#21 0x000005a42af88433 in ?? ()
#22 0x000005a440998000 in ?? ()
#23 0x000005a4409a0000 in ?? ()
#24 0x000005a4409a8000 in ?? ()
#25 0x000005a4409b4000 in ?? ()
#26 0x000005a4409bc000 in ?? ()
#27 0x000005a4409e0000 in ?? ()
#28 0x000005a4409ec000 in ?? ()
#29 0x000005a4409f4000 in ?? ()
#30 0x000005a4409fc000 in ?? ()
#31 0x000005a440a04000 in ?? ()
#32 0x0000000001ab5dc0 in ?? ()
#33 0x0000000000000000 in ?? ()
Thread 23 (Thread 0x789e1cffe6c0 (LWP 2377948)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101584000000000 in ?? ()
#7 0x41daafe27ce2e2e4 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000207d8a40 in ?? ()
#10 0x41a5d69748000000 in ?? ()
#11 0x000005a4404a0b80 in ?? ()
#12 0x0000789e1cff86c0 in ?? ()
#13 0x000005a4404a0b88 in ?? ()
#14 0x0000789e1cff8680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1cff8620 in ?? ()
#17 0x0000789e1cff86e0 in ?? ()
#18 0x0000789e1cff86c0 in ?? ()
#19 0x0000789e1cff8698 in ?? ()
#20 0x000005a443240110 in ?? ()
#21 0x000005a42b2e6ff3 in ?? ()
#22 0x000005a437970000 in ?? ()
#23 0x000005a4404a0b80 in ?? ()
#24 0x00000000846b8088 in ?? ()
#25 0x000005a42afa148c in ?? ()
#26 0x0000789e1cff8640 in ?? ()
#27 0x0000000000000028 in ?? ()
#28 0x0000000000000000 in ?? ()
Thread 22 (Thread 0x789ccf7fe6c0 (LWP 2360072)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789cd6c2090f in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#7 0x0000789cd6c21044 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#8 0x0000789cd6c38caa in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#9 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#10 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 21 (Thread 0x789e15ffd6c0 (LWP 2358795)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x000000000218e56a in ?? ()
#2 0x0000000000000000 in ?? ()
Thread 20 (Thread 0x789e14fff6c0 (LWP 2358796)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0c00 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 19 (Thread 0x789e013ff6c0 (LWP 2360066)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000789cd710e326 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#6 0x0000789e170ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#8 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 18 (Thread 0x789e1c1fa6c0 (LWP 2358768)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffcb in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b6f3b in ?? ()
#10 0x41cdb9fd5c800000 in ?? ()
#11 0x000005a4312c0080 in ?? ()
#12 0x0000789e1c1f46c0 in ?? ()
#13 0x000005a4312c0088 in ?? ()
#14 0x0000789e1c1f4680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1c1f4620 in ?? ()
#17 0x0000789e1c1f46e0 in ?? ()
#18 0x0000789e1c1f46c0 in ?? ()
#19 0x0000789e1c1f4698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629e03 in ?? ()
#22 0x0000789e1c1f45a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1c1f45b0 in ?? ()
#25 0x7ff0000000000000 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x0000000039af9588 in ?? ()
#28 0x7ff0000000000000 in ?? ()
#29 0x000005a42b380378 in ?? ()
#30 0x000005a42afa0501 in ?? ()
#31 0x0000000001ab22a9 in ?? ()
#32 0x000005a42b070700 in ?? ()
#33 0x0000000000000000 in ?? ()
Thread 17 (Thread 0x789cd4bfe6c0 (LWP 2360070)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789cd6c2090f in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#7 0x0000789cd6c21044 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#8 0x0000789cd6c38caa in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#9 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#10 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 16 (Thread 0x789e177fd6c0 (LWP 2358792)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0a80 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 15 (Thread 0x789cd53ff6c0 (LWP 2360069)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789cd6c2090f in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#7 0x0000789cd6c21044 in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#8 0x0000789cd6c38caa in ?? () from /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
#9 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#10 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 14 (Thread 0x789e16fff6c0 (LWP 2358793)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09b8cd in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=..., mutex=...) at ./nptl/pthread_cond_wait.c:627
#5 0x0000789e170b9047 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x0000789e1c151fdf in Debounce::loop() () from /tmp/.bun-1000-71b650bef1b3e52c.node
#7 0x0000789e170ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#9 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 13 (Thread 0x789e147fd6c0 (LWP 2358798)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0d80 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 12 (Thread 0x789e167fe6c0 (LWP 2358794)):
#0 0x0000789e5e11b79d in __GI___poll (fds=..., nfds=..., timeout=...) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x0000789e1c167515 in InotifyBackend::start() () from /tmp/.bun-1000-71b650bef1b3e52c.node
#2 0x0000789e1c138484 in ?? () from /tmp/.bun-1000-71b650bef1b3e52c.node
#3 0x0000789e170ecdb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x0000789e5e09cb84 in start_thread (arg=...) at ./nptl/pthread_create.c:447
#5 0x0000789e5e129ecc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 11 (Thread 0x789e17bfe6c0 (LWP 2358791)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a09c0 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 10 (Thread 0x789e1c27b6c0 (LWP 2358767)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffc5 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b69a5 in ?? ()
#10 0x41cdb9fac3000000 in ?? ()
#11 0x000005a431290080 in ?? ()
#12 0x0000789e1c2756c0 in ?? ()
#13 0x000005a431290088 in ?? ()
#14 0x0000789e1c275680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1c275620 in ?? ()
#17 0x0000789e1c2756e0 in ?? ()
#18 0x0000789e1c2756c0 in ?? ()
#19 0x0000789e1c275698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629db3 in ?? ()
#22 0x0000789e1c2755a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1c2755b0 in ?? ()
#25 0x7ff0000000000000 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x0000000038741ba9 in ?? ()
#28 0x7ff0000000000000 in ?? ()
#29 0x000005a42b380378 in ?? ()
#30 0x000005a42afa0501 in ?? ()
#31 0x0000789e1c2756d0 in ?? ()
#32 0x000005a42b070400 in ?? ()
#33 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x789e1c3fe6c0 (LWP 2358764)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffd6 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b797a in ?? ()
#10 0x41cdba0221800000 in ?? ()
#11 0x000005a434c50080 in ?? ()
#12 0x0000789e1c3f86c0 in ?? ()
#13 0x000005a434c50088 in ?? ()
#14 0x0000789e1c3f8680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1c3f8620 in ?? ()
#17 0x0000789e1c3f86e0 in ?? ()
#18 0x0000789e1c3f86c0 in ?? ()
#19 0x0000789e1c3f8698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629cc3 in ?? ()
#22 0x0000789e1c3f85a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1c3f85b0 in ?? ()
#25 0x7ff0000000000000 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x0000000039afa810 in ?? ()
#28 0x7ff0000000000000 in ?? ()
#29 0x000005a42b380378 in ?? ()
#30 0x000005a42afa0501 in ?? ()
#31 0x0000000001ab22a9 in ?? ()
#32 0x000005a42b070800 in ?? ()
#33 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x789e1c37d6c0 (LWP 2358765)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffce in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b7207 in ?? ()
#10 0x41cdb9ff17800000 in ?? ()
#11 0x000005a434c80080 in ?? ()
#12 0x0000789e1c3776c0 in ?? ()
#13 0x000005a434c80088 in ?? ()
#14 0x0000789e1c377680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1c377620 in ?? ()
#17 0x0000789e1c3776e0 in ?? ()
#18 0x0000789e1c3776c0 in ?? ()
#19 0x0000789e1c377698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629d13 in ?? ()
#22 0x0000789e1c3775a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1c3775b0 in ?? ()
#25 0x7ff0000000000000 in ?? ()
#26 0x0000789e00000001 in ?? ()
#27 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x789e1cebe6c0 (LWP 2358763)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffc8 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b6c70 in ?? ()
#10 0x41cdb9fbd1000000 in ?? ()
#11 0x000005a431240080 in ?? ()
#12 0x0000789e1ceb86c0 in ?? ()
#13 0x000005a431240088 in ?? ()
#14 0x0000789e1ceb8680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1ceb8620 in ?? ()
#17 0x0000789e1ceb86e0 in ?? ()
#18 0x0000789e1ceb86c0 in ?? ()
#19 0x0000789e1ceb8698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629c73 in ?? ()
#22 0x0000789e1ceb85a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1ceb85b0 in ?? ()
#25 0x7ff0000000000000 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x0000000039afa4b8 in ?? ()
#28 0x7ff0000000000000 in ?? ()
#29 0x000005a42b380378 in ?? ()
#30 0x000005a42afa0501 in ?? ()
#31 0x0000789e1ceb86d0 in ?? ()
#32 0x000005a42b070500 in ?? ()
#33 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x789e1c2fc6c0 (LWP 2358766)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffc9 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b6d5e in ?? ()
#10 0x41cdb9fc58800000 in ?? ()
#11 0x000005a4306a1f00 in ?? ()
#12 0x0000789e1c2f66c0 in ?? ()
#13 0x000005a4306a1f08 in ?? ()
#14 0x0000789e1c2f6680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1c2f6620 in ?? ()
#17 0x0000789e1c2f66e0 in ?? ()
#18 0x0000789e1c2f66c0 in ?? ()
#19 0x0000789e1c2f6698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629d63 in ?? ()
#22 0x0000789e1c2f65a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1c2f65b0 in ?? ()
#25 0x0000000001ab22a9 in ?? ()
#26 0x0000789e00000001 in ?? ()
#27 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x789e1cf3f6c0 (LWP 2358762)):
#0 0x0000789e5e098e51 in __futex_abstimed_wait_common64 (private=..., cancel=..., abstime=..., op=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=..., private=..., abstime=..., clockid=..., expected=..., futex_word=...) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=..., expected=..., clockid=..., abstime=..., private=...) at ./nptl/futex-internal.c:139
#3 0x0000789e5e09bd6e in __pthread_cond_wait_common (abstime=..., clockid=..., mutex=..., cond=...) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=..., mutex=..., abstime=...) at ./nptl/pthread_cond_wait.c:652
#5 0x0000000001ab788d in ?? ()
#6 0x4101583800000000 in ?? ()
#7 0x41daafe27cd6ffd7 in ?? ()
#8 0x000000006abf89f3 in ?? ()
#9 0x00000000156b7a68 in ?? ()
#10 0x41cdba02c6800000 in ?? ()
#11 0x000005a431210080 in ?? ()
#12 0x0000789e1cf396c0 in ?? ()
#13 0x000005a431210088 in ?? ()
#14 0x0000789e1cf39680 in ?? ()
#15 0x0000000001ab3621 in ?? ()
#16 0x0000789e1cf39620 in ?? ()
#17 0x0000789e1cf396e0 in ?? ()
#18 0x0000789e1cf396c0 in ?? ()
#19 0x0000789e1cf39698 in ?? ()
#20 0x000005a42b380585 in ?? ()
#21 0x000005a430629c23 in ?? ()
#22 0x0000789e1cf395a8 in ?? ()
#23 0x0000000001ab78c0 in ?? ()
#24 0x0000789e1cf395b0 in ?? ()
#25 0x0000000001ab22a9 in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x0000000039af91e2 in ?? ()
#28 0x4101583ffacb1102 in ?? ()
#29 0x000005a42b060088 in ?? ()
#30 0x000005a442c40380 in ?? ()
#31 0x0000789e1cf396d0 in ?? ()
#32 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x789e1c7ff6c0 (LWP 2358743)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a0300 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x789e17fff6c0 (LWP 2358744)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001b87bc1 in ?? ()
#2 0x000005a42b8a03c0 in ?? ()
#3 0x0000000000000002 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x789e1d7ff6c0 (LWP 2358729)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x0000000001ac6c43 in ?? ()
#2 0x32203a6b00000000 in ?? ()
#3 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x789e5e2d0e80 (LWP 2358727)):
#0 __pthread_kill_implementation (no_tid=..., signo=..., threadid=...) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=..., threadid=...) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=..., signo=...) at ./nptl/pthread_kill.c:89
#3 0x0000789e5e04527e in __GI_raise (sig=...) at ../sysdeps/posix/raise.c:26
#4 0x000000000378db92 in ?? ()
#5 0x0000000000000400 in ?? ()
#6 0x0000000000000000 in ?? ()
From To Syms Read Shared Object Library
0x0000789e5e028800 0x0000789e5e1b0039 Yes /lib/x86_64-linux-gnu/libc.so.6
0x0000789e5e3f3000 0x0000789e5e41d195 Yes /lib64/ld-linux-x86-64.so.2
0x0000789e5e3c4040 0x0000789e5e3c4105 Yes /lib/x86_64-linux-gnu/libpthread.so.0
0x0000789e5e3bf040 0x0000789e5e3bf105 Yes /lib/x86_64-linux-gnu/libdl.so.2
0x0000789e5e2e5420 0x0000789e5e3633a6 Yes /lib/x86_64-linux-gnu/libm.so.6
0x0000789e1c932080 0x0000789e1cc664ed Yes (*) /tmp/.bun-1000-f9ff78253ed86245.so
0x0000789e5e226080 0x0000789e5e2262b1 Yes /lib/x86_64-linux-gnu/librt.so.1
0x0000789e1c119d50 0x0000789e1c168cf9 Yes (*) /tmp/.bun-1000-71b650bef1b3e52c.node
0x0000789e170a55c0 0x0000789e171e4ce2 Yes (*) /lib/x86_64-linux-gnu/libstdc++.so.6
0x0000789e1c0b1780 0x0000789e1c0d4745 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1
0x0000789e15187c80 0x0000789e15c00a3a Yes (*) /tmp/.bun-1000-89812e6e6a68aaeb.so
0x0000789e5e22c340 0x0000789e5e22d2f3 Yes (*) /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
0x0000789e1c05a820 0x0000789e1c09955f Yes (*) /home/<user>/.config/opencode/plugins/plur-memory/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.4.node
0x0000789e01403000 0x0000789e01fe24b4 Yes (*) /home/<user>/.config/opencode/plugins/plur-memory/node_modules/@img/sharp-linux-x64/lib/../../sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.6
0x0000789e1cf6f6e0 0x0000789e1cf77f19 Yes /lib/x86_64-linux-gnu/libresolv.so.2
0x0000789e173bb200 0x0000789e173ee6b5 Yes (*) /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/onnxruntime_binding.node
0x0000789cd553dc00 0x0000789cd77c83b4 Yes (*) /home/<user>/.config/opencode/plugins/plur-memory/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1
0x0000789e17285e20 0x0000789e17298100 Yes (*) /lib/x86_64-linux-gnu/libnss_myhostname.so.2
0x0000789e1c00b9c0 0x0000789e1c010607 Yes (*) /lib/x86_64-linux-gnu/libcap.so.2
0x0000789e140a9680 0x0000789e140e05a0 Yes (*) /lib/x86_64-linux-gnu/libnss_mymachines.so.2
(*): Shared library is missing debugging information.
rip 0x789e5e09ec0c 0x789e5e09ec0c <__GI___pthread_kill+284>
rsp 0x7ffea4944970 0x7ffea4944970
rbp 0x7ffea49449b0 0x7ffea49449b0
$1 = (void *) 0x3e80023fdc7
Thanks, this identifies the executable and fills in the thread/module evidence. The core is stopped in the runtime's re-raised SIGSEGV, so the self-reported PID and idle worker threads do not establish where the original fault occurred. The journal's +0x358db92 and gdb's 0x378db92 differ by the ELF load address 0x200000; that is not a different crash site.
Yes, please capture the service's stderr for the next crash, including any Bun crash report URL and the runtime version/revision printed with it. Please keep that capture paired with the exact executable hash and core timestamp. The native libraries loaded by plur-memory are an additional variable, but their presence is not evidence of blame; a separate run with that plugin disabled would be useful as a comparison if the crash is reproducible.
There is no need to resend the existing backtraces or build identity.
Update to the latest release (opencode upgrade, or let the updater run), confirm with opencode --version, and tell us whether the service still segfaults.
If it does, get the Bun crash report. The client stops reading the service's stderr once it has started, so it's easiest to run the service yourself for a while:
opencode service stop
opencode serve --service 2>~/opencode-service-stderr.log
TUIs should still find it. After the next crash, please paste the panic(...) block and the https://bun.report/... URL from that log, along with the core's timestamp.
If you can, try a run with your local plugins disabled (at least plur-memory, since it loads its own native libraries) and tell us whether the crashes stop.
You can reply here with the details, or edit the issue. If you edit it, please also leave a short comment saying you've updated it, so we know you're done.
Related issues, ordered by how closely they match (none looks like an exact duplicate):
Closing this for now, since we haven't heard back since we asked about the latest release. Thanks for all the core-dump analysis you've already posted.
The backtraces stop where Bun re-raises the signal, so they don't show where the crash actually happened. To go further we'd need to know whether the opencode serve --service segfaults still happen on v2.1.3 or later (which bundles Bun 1.4.4 instead of 1.4.2). If they do, we'd also need the panic(...) block and https://bun.report/... URL from the service's stderr, for example by running opencode serve --service 2> ~/opencode-service-stderr.log yourself.
If it still crashes on a current version, please comment here with those details and we'll reopen it. For related crash reports, see #53688 (a similar long-uptime serve segfault on Bun 1.4.2) and #53214.
Activity
tonykee commentedon Sep 30, 2026
Also seeing this on 2.0.12 — same environment class (Linux x64, Ubuntu, kernel 7.0.x) and the same
/tmp/.bun-*.somodule in the crash. (I have since upgraded to 2.0.20; see the end of this comment.)Version / environment
opencode --version: 2.0.12 while the crashes below were recorded (binary at/opt/opencode/bin/opencode, symlinked from/usr/local/bin/opencode); upgraded to 2.0.20 on 2026-09-307.0.0-28-generic, x86_64opencode serve --service); usually a single TUI attachedSymptom
Identical:
opencode serve --servicesegfaults, the client relaunches it within ~1 minute, TUIs disconnect andreconnect, sessions persist.
Frequency
Ubuntu's apport crash handler recorded 31
opencodecrashes between 2026-09-19 and 2026-09-30 (10 of them on2026-09-30 alone). Nearly all are
serve --service; a couple are the plainopencodeTUI process.Crash times on 2026-09-30 (local time): 00:54:20, 03:09:01, 10:01:28, 11:03:49, 11:08:52, 11:21:26, 12:14:20,
12:54:52, 15:19:46.
Corroborating the auto-relaunch: each new
run=inopencode.logstarts a few seconds after an apport SIGSEGV entry,e.g. crash 11:03:49 → new run at 11:03:55; crash 12:14:20 → new run at 12:14:26.
Crash report
/var/crash/_opt_opencode_bin_opencode.1000.crash(apport):This is not an OOM — RSS was ~215 MB at the crash (VmPeak is just the ~11 GB virtual space).
ProcMapsshows the same/tmp/.bun-*module you noted (no build-id):The 12.8 MB
.socontains Rust code (fff-style fuzzy file search + git-status strings, e.g.Arc counter overflow,untracked,staged_modified).Logs
Nothing is logged before the crashes (matches your report). The only recurring line is:
every ~5 minutes.
models.devresponds HTTP 200 from this host, so this looks like unrelated network noise, not thecause. There are no watcher/inotify errors (
ENOSPC/EMFILE) in the log.Note on core capture
apport refuses to write new reports ("report already exists and unseen, skipping to avoid disk usage DoS"), so
/var/crashkeeps only one stale report, and the stored core is truncated (called for global pid ..., signal 11, core limit 0) — decompressing it fails, so no local backtrace is available.Other
In the same window apport also recorded a single SIGSEGV of an unrelated local binary (
strataengine) and one ofpython3.14— almost certainly unrelated, but mentioning it for completeness.Upgraded to 2.0.20 on 2026-09-30 (the
/optbinary was replaced;opencode service statusnow reports 2.0.20). Nocrash has been recorded since the upgrade. I will follow up here if it recurs, and will try
opencode --standaloneifit does.
piknockyou commentedon Sep 30, 2026
Same visible pattern here: the service kept restarting by itself, with TUIs disconnecting and reconnecting. Mine was a hang rather than a crash, so your SIGSEGV is probably a different bug - but one thing may still be worth ruling out, since your logs show git-snapshot activity on large worktrees.
Check what opencode considers the project root when it runs:
git rev-parse --show-toplevel.gitis the culprit - the snapshot scan then walks that whole tree twice per turn. Deleting that leftover.gitand starting opencode inside a real project removes the condition. (An accidental repo is usually empty - zero commits - so nothing is lost; rename it instead if unsure.)git ls-files --others --exclude-standard | wc -l- if that is in the 100k+ range, the heavy directories (node_modules, target, build, caches) need to go into.gitignore, or snapshotting disabled with"snapshot": false.For me, deleting the stray
~/.gitremoved the failure completely. If neither applies here, treat this as noise - and your core dumps are the more useful lead.gandb commentedon Oct 2, 2026
Update from the original reporter — still crashing on 2.0.22.
Upgraded 2.0.21 → 2.0.22 today (~09:29 local); the bug persists. Crashes today alone: 11:17:54 and 11:39:53 — the second one was the service spawned at 11:18:50, i.e. a process actually running 2.0.22. Nothing is logged before the crashes (matches the original report); client auto-relaunches within ~1 minute.
Cores (systemd-coredump, all SIGSEGV,
opencode serve --service; 11 total since 2026-09-30):In-binary stack offsets — identical across every core inspected:
Frames #2–#5 are byte-identical in all cores examined → a single recurring crash path, not random corruption at different sites.
Impact (may help triage): every crash kills all in-flight tool calls in all sessions (
Tool execution interrupted: <tool>), includingquestiontool calls awaiting a user answer — a pending question left unanswered dies at the next crash, which looks like a "timeout" from the user's side but is this crash.Ruled out here: not OOM (~10 GiB free, no kernel OOM logs); not the stray-
.git/giant-tree snapshot issue suggested earlier (no stray.git; every project root resolves normally on this machine).Cores are retained locally — happy to provide anything else.
Dante-dan commentedon Oct 2, 2026
The repeated offsets are useful, but the frames shown stop in the runtime signal/abort path; the mapped FFF and watcher modules alone do not identify the faulting component. I also checked the current service-side native wrappers and cannot yet connect this to a specific lifetime bug.
Could you share the installation source and commit/build identity of the exact 2.0.22 executable that produced a retained core, plus the complete thread backtraces (
thread apply all bt) and loaded-module/build-ID information from that core? Service stderr around the crash, especially a Bun crash report URL if one was emitted, would also help map the offsets.This should stay separate from the stray-repository hang, which your latest report already rules out.
gandb commentedon Oct 2, 2026
Thanks — here are the install/build identity, the core data, and the stderr status.
Install source and build identity (2.0.22 executable that produced a retained core)
~/.opencode/bin/opencode(installer footprint:~/.opencode/{bin,node_modules,package.json}; self-managed updater).updated OpenCode from=2.0.21 to=2.0.22 method=curl), and the background service restarted onversion-mismatchimmediately after. The crashing process (PID 2358727, spawned 11:18:50 local) was started from that file, and the file is unchanged since (still 2.0.22; no later update event in the log).sha256 = 32cf5aa0a69a650e36277e3315d189835ddc79fb9aa1d0aef5025be5af5ad122BuildID[sha1] = 5afca2666bfab8605a934f1b6231dacae0518a5f,not stripped— but the.symtabonly carries exported shim symbols (napi_*,uv_*,v8::*wrappers); none of the crash offsets have symbol coverage, gdb shows??for all of them and there is no DWARF.Core and thread backtraces
Core retained by systemd-coredump:
core.opencode.1000.d70bc1b2091e4e1e80372f359673b03b.2358727.1790937577000000.zst(243 MB on disk) — SIGSEGV, 2026-10-02 11:39:37 WEST,/home/<user>/.opencode/bin/opencode serve --service, 35 threads.Crashing thread as gdb unwinds it (unwind stops at #4 — no usable unwind info past that point):
The systemd-coredump journal trace for the same core continues past that point (identical offsets to the earlier reports):
siginfofrom the core: thesi_pid/si_uidfields read back as pid 2358727 (the process itself) / uid 1000 — consistent with the process raising SIGSEGV on itself viaraise()in the runtime's crash path. (Also consistent: the kernel logged nosegfault at ...entry for any of these crashes.)All other threads were idle at crash time: runtime threads parked in
syscall/futex, 6libonnxruntime.so.1condition-wait threads (from theplur-memoryplugin) and 2 watcher threads (the bundled@parcel/watchernative), one thread parked in-binary atopencode+0x18f6d86. Completethread apply all bt(all 35 threads): in the collapsible block belowLoaded modules (from the core)
Note:
/tmp/.bun-1000-89812e6e6a68aaeb.sohas no build-id (systemd flagged it too); the other two.bunmodules are extracted at runtime and content-hash-named (no separate build metadata of their own). Happy to pull any per-module detail you want.Service stderr / Bun crash report
/dev/nulland stderr is a socket to that client (verified on the current instance, same spawner). So crash-time stderr is not persisted anywhere on disk, and the service log has nothing at the crash.bun.report) in the service log and the state directory: none found. If the runtime emitted one, it went over that socket.Cores for both 2.0.22 crashes (11:17:54 and 11:39:53) are retained — happy to run any specific gdb commands you want on them.
Complete thread apply all bt (all 35 threads)
Dante-dan commentedon Oct 2, 2026
Thanks, this identifies the executable and fills in the thread/module evidence. The core is stopped in the runtime's re-raised SIGSEGV, so the self-reported PID and idle worker threads do not establish where the original fault occurred. The journal's
+0x358db92and gdb's0x378db92differ by the ELF load address0x200000; that is not a different crash site.Yes, please capture the service's stderr for the next crash, including any Bun crash report URL and the runtime version/revision printed with it. Please keep that capture paired with the exact executable hash and core timestamp. The native libraries loaded by
plur-memoryare an additional variable, but their presence is not evidence of blame; a separate run with that plugin disabled would be useful as a comparison if the crash is reproducible.There is no need to resend the existing backtraces or build identity.
opencodejr commentedon Oct 28, 2026
Thanks for the detailed core analysis and the follow-ups. Two things have changed since your last update that may matter here:
servesegfault on Bun 1.4.2 (serve: Bun 1.4.2 segfault (address 0x3D8) after long uptime on Windows #53688) was closed as fixed by that upgrade..soloaded in your crashing process) now starts on the first search instead of at service startup (fix(core): start fff search lazily on first find #58959).Could you please:
opencode upgrade, or let the updater run), confirm withopencode --version, and tell us whether the service still segfaults.panic(...)block and thehttps://bun.report/...URL from that log, along with the core's timestamp.plur-memory, since it loads its own native libraries) and tell us whether the crashes stop.You can reply here with the details, or edit the issue. If you edit it, please also leave a short comment saying you've updated it, so we know you're done.
Related issues, ordered by how closely they match (none looks like an exact duplicate):
servesegfault on bundled Bun 1.4.2 after long uptime (Windows), closed as fixed by the Bun upgrade@parcel/watcheraddon (Windows)opencodejr commentedon Oct 31, 2026
Closing this for now, since we haven't heard back since we asked about the latest release. Thanks for all the core-dump analysis you've already posted.
The backtraces stop where Bun re-raises the signal, so they don't show where the crash actually happened. To go further we'd need to know whether the
opencode serve --servicesegfaults still happen on v2.1.3 or later (which bundles Bun 1.4.4 instead of 1.4.2). If they do, we'd also need thepanic(...)block andhttps://bun.report/...URL from the service's stderr, for example by runningopencode serve --service 2> ~/opencode-service-stderr.logyourself.If it still crashes on a current version, please comment here with those details and we'll reopen it. For related crash reports, see #53688 (a similar long-uptime
servesegfault on Bun 1.4.2) and #53214.