Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > muc.lists.freebsd.emulation > #13255
| 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 298878] linux(4): epoll_pwait(2)/epoll_pwait2(2) with a sigmask leave a stale signal mask, deadlocking Bun apps (Claude Code, opencode) |
| Date | Mon, 28 Sep 2026 14:21:14 +0000 |
| Organization | Newsgate at muc.de e.V. |
| Sender | owner-freebsd-emulation@FreeBSD.org |
| Approved | news-admin@muc.de |
| Distribution | world |
| Message-ID | <bug-298878-4077-R5b4k2CkYm@https.bugs.freebsd.org/bugzilla/> (permalink) |
| References | <bug-298878-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="74844"; 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=1790605274; 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=q+r0Q7H1ELxjoRVcRLTQLkhM3gP9TcTlPAS1dqmd5mY=; b=L3NslKM3fPs/WDIxF6DqGh1z8NV57Ydgp/xlcDU9pf6HIasgvdJJOC5IH/rSD99nI2G9iB Pj5wMWOBbKATq1G1OCw4nRnddjK3x45jplTM8kpUisi+MKrEbjQKOJe3hbbVbw2lJtrpOo Fd+fGGbzNwwvT+ROf/DhsdyMab+nVVb06t/wGdfb1z8P61/sdAvq7fVa6xazLPlGClCji+ kB9+xUC/VfXtZesFiuins/2ARj9YbxbwJF6wqL1MiaYaCZtvaz/aOaLRbJnCqSUQwS72WY r3H+h5zk20xGdMxExYj9/sEzeUOLHJ0PdASdTFZDvFJbSJ5hF3sDtudIPoVJcg== |
| X-Authentication-Warning | kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f |
| In-Reply-To | <bug-298878-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:13255 |
Show key headers only | View raw
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298878
Yuki Tachi <yuki.tachi@donut-service.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yuki.tachi@donut-service.co
| |m
--- Comment #7 from Yuki Tachi <yuki.tachi@donut-service.com> ---
Confirming the fix on arm64 as well.
Setup: FreeBSD 15.1-RELEASE-p2 arm64 (GENERIC), linux_base-rl9-9.7,
Claude Code native Linux binary (Bun).
Before: Claude Code 2.1.283 froze within 0-90 s every time; ktrace/procstat
showed the same state as described here (main thread in futex, signal 98
pending+blocked). Details:
https://github.com/anthropics/claude-code/issues/96931
Patch: applied commit 16a284b1cdfd to releng/15.1, rebuilt linux64.ko
(with KERNBUILDDIR from the GENERIC config) and replaced the module.
After:
- Independent reproducer (static aarch64 glibc binary, attached) now matches
Linux:
A: epoll_pwait=-1 errno=Interrupted system call after 200 ms, handler ran 1,
SIGUSR1 blocked after: yes
B: epoll_pwait=0, SIGUSR2 (marker) blocked after: no
(stock module: A returned 0 and left SIGUSR1 unblocked; B left SIGUSR2
blocked)
- Claude Code 2.1.283 has run for over an hour of normal interactive use
without freezing.
Thanks for the analysis and the quick fix.
--
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
[Bug 298878] linux(4): epoll_pwait(2)/epoll_pwait2(2) with a sigmask leave a stale signal mask, deadlocking Bun apps (Claude Code, opencode) bugzilla-noreply@freebsd.org - 2026-09-28 14:21 +0000
csiph-web