🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.emulation
Article #80

[Bug 296441] linuxolator: opencode deadlocks at startup (lost FUTEX_WAKE? all threads stuck in umtxq_sleep)

#80
From: bugzilla-noreply
Date: Sun, 22 Nov 2026 04:12
49 lines
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
Technical Details
Message-ID: <bug-296441-4077-QypEX0yKuw@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-296441-4077@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.emulation
Subject: [Bug 296441] linuxolator: opencode deadlocks at startup (lost
 FUTEX_WAKE? all threads stuck in umtxq_sleep)
Date: Sun, 22 Nov 2026 04:12:44 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-296441-4077-QypEX0yKuw@https.bugs.freebsd.org/bugzilla/>
References: <bug-296441-4077@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="78107"; mail-complaints-to="news-admin@muc.de"
X-Original-To: emulation@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795320764;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=hhF00xHkqPNGMSpIA7VpKWoYTXq3OVDzwJ5WazRYWhk=;
	b=hAUPgFVe/8Pu6mvBcYY2eOWLY29HkpV+rwS+/TppqNhvblAiTOqNK5y4KTC1KgrCfHMaC6
	X7NH30zsGXMUSUY4b/P8eIMQnxrE5b+yVJjAaKw66e9iPk5NZXdaRPDcY6QK8+R+JS9BJ8
	icbx2FT92CKqtdAu9YDcjiGGmGQfFJI+/C3lt2n26sdo7WOfAcl3ZgR+WJRHkYRItgQxG2
	cY53csqJt8gHA5xQvXwfxUsAkdif7NgPomPRdQ/RujsfI9JcZH7QV3YxHmCooFroUlNeWQ
	rf9FCOfBN9T7EPBB9PWN3s86sgW6YbmDB5x6Y1gFdc4tgMoA0igteK/GQtYfOw==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-296441-4077@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes