Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.freebsd.emulation > #13247

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

Path csiph.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!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 Sat, 26 Sep 2026 14:14:54 +0000
Organization Newsgate at muc.de e.V.
Sender owner-freebsd-emulation@FreeBSD.org
Approved news-admin@muc.de
Distribution world
Message-ID <bug-296441-4077-EHhpRsuOeq@https.bugs.freebsd.org/bugzilla/> (permalink)
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="15980"; 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=1790432094; 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=Q7mshacxpRWiR221dvFM/ZMU7nRORA1+gpLQqPsPF10=; b=WLDEMVYaQter/B5oX8w6MaYdVR3qhTEfjwedSuOXwpZ7Glu+MJtVqSrpmOob+l60TnNZ4G dNCyXrpxeq5D/D1aHakbyU8kTN6RyKOaMnsQSaCD9QnS5kErxXK8oZOdL1cITG7zFw/OOk dZFZSbQ7hxvI7pSStPGXENZYQm5UiKO/3Gp3tajw5e3nuc74tPAUZUqmzHwgrTLf3NbW4j WCNXiBSDVW2suLEe4mb82tdycH2hwBtC57MSutYwvDQS9+lfYFiKeL320cbahZkFqry4Mx 2bRoIiTXe2j4ngyEj2s5Rj+cD2OVQd8NH/S1DLdMJ3HEZD2+vVfdEifgU9qlSw==
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
Xref csiph.com muc.lists.freebsd.emulation:13247

Show key headers only | View raw


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296441

Grzegorz Junka <list1@gjunka.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |list1@gjunka.com

--- Comment #4 from Grzegorz Junka <list1@gjunka.com> ---
This is very likely the Linuxulator bug reported in bug 298878:
epoll_pwait(2)/epoll_pwait2(2) called with a sigmask leave the thread
with a stale signal mask. Bun's event loop does that on every
iteration. After the first garbage collection that suspends the main
thread, SIGPWR (which JavaScriptCore uses to suspend threads for GC)
stays blocked on it, so the next suspend waits forever and every thread
ends up sleeping in linux_sys_futex, as described here.

To confirm, run "procstat -j <pid>" on a hung process. If the main
thread shows signal 98 (the Linuxulator's number for Linux SIGPWR) with
flags "PB" (pending and blocked), it is this bug. The patch in
attachment 275145 on bug 298878 fixes it for Claude Code; testing it
with opencode would be very welcome.

BUN_JSC_useJIT=0 probably helps because without the JIT the garbage
collector doesn't run concurrently, so no other thread needs to suspend
the main thread.

-- 
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

Back to muc.lists.freebsd.emulation | Previous | Next | Find similar | Unroll thread


Thread

[Bug 296441] linuxolator: opencode deadlocks at startup (lost FUTEX_WAKE? all threads stuck in umtxq_sleep) bugzilla-noreply@freebsd.org - 2026-09-26 14:14 +0000

csiph-web