Thread View: muc.lists.freebsd.emulation
1 messages
1 total messages
Started by bugzilla-noreply
Sun, 22 Nov 2026 04:12
[Bug 296441] linuxolator: opencode deadlocks at startup (lost FUTEX_WAKE? all threads stuck in umtxq_sleep)
Author: bugzilla-noreply
Date: Sun, 22 Nov 2026 04:12
Date: Sun, 22 Nov 2026 04:12
49 lines
3903 bytes
3903 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296441
keithr@freebsd.keithr.com <keithr@freebsd.keithr.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |keithr@freebsd.keithr.com
--- Comment #5 from keithr@freebsd.keithr.com <keithr@freebsd.keithr.com> ---
I'm seeing this running copilot v1.0.114 from the github-copilot-cli package in
a jail. It's not bug #298878: my kernel has the fix for that, and none of the
threads have any signals that are both blocked and pending. I'm running a
15.2-STABLE kernel on an otherwise 15.1-RELEASE system; I had to build the
STABLE kernel to pick up the fix for bug #298588 to run copilot at all. My
kernel has b157e1ca as the most recent commit, which includes the fix for bug
#298878.
All threads are blocked in linux_sys_futex(). I'll attach the procstat -kk and
procstat -j output for the hung process.
The problem is intermittent, but I can generally reproduce it in 4 or 5 tries.
I was able to run a dozen times without the hang by using cpuset -l 0, which
supports but doesn't prove the idea that it's an issue with multi-CPU
concurrency. Workarounds that reduce but don't eliminate that concurrency, such
as cpuset -l 0,1, or the following environment variables that reduce the number
of threads it runs, seem to make it happen less often but don't prevent it
entirely.
export BUN_JSC_useConcurrentGC=0
export TOKIO_WORKER_THREADS=1
export ASYNC_IO_THREADS=1
export RAYON_NUM_THREADS=1
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads