From nobody Mon Feb 17 16:41:48 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YxT2N5rXKz5ns7d for ; Mon, 17 Feb 2025 16:41:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YxT2N5C2fz46j3 for ; Mon, 17 Feb 2025 16:41:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739810508; 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=yfYAt2139ZDwRv96NNdkCaL3nFyccMdgPq+HAlV/xRE=; b=RvC8CE7vgznCDN5ps6P1SLEQUPhjIIv2YX03hw5My00D7lmq931ky1Wd75MaOR1q9f8hOF +PU1vhERcTeEZbnF5u90JYyKPJ12qvlEWLqnV6suUkVuo1/Tv7qWGmCPjCsLWk+65hiKCD 4lMaxR6TZxPT099EdYKO6TahIr3KRVjQ0X1snXyNjIpt0EzhkqF7JD0QX3Au5fbXVuPfZK /uVNuIptf9QENtPoh5aHIF/6SDjb621wwdBoYCvAgo1juONFI5OXcyIcFv82JEVElr061S llUaZoaQhS5zwcFu8xmLtjKTydpHtU5/vZXPNfcGIArhHnOobAasADG7B3+oIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739810508; a=rsa-sha256; cv=none; b=IRs2dJSLmukDuThSZcKAEPCDzH37JPUV+Tgs9mEA8j5tOvkDuoV1tfeGb2vW0UmAO8y1nA pXx2WYc8A0EtIfqzUlNOAW0xlwW3uztG7u0pxjssXHrAckmNlXqEl2ky/eSlqM9CYgNYwb Mu+H9GSw+3Ym5Jk6kavigbuhVNVjJOQYG+XCKyuDAP1YVZGF3dLwsN2DBIAJlX7IwfjJsG f8IfaiNHyuqZeLlXtPTGlTqmiRX0tVK+8SexOli0uM1hM+AO5R0Tw8yfsFcUAYrSZQ4v2b pbVHQEWg+xKH+uKjKESzOWgJLFJ1KUaH9DRQuG0WnGUPvqQId00gBu/ME4I0Lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739810508; 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=yfYAt2139ZDwRv96NNdkCaL3nFyccMdgPq+HAlV/xRE=; b=IkY38NrGVpp4oHtpyhXwep8jDZHHCbHMPuwp79FCr9WF22rYcETqhuGceaCN2dZ7IdavGZ vV1YBQ2uJ14EcDJHlyZ2W35OirdaBEKn9y8hteZTiDNTE63UbEs4YCoRsktzdpQAPfPPla pHcTg/p2ucePZHCzP4yYsj23/xVpcMPPJgJBrKfjNXLeWuEbBySM6/ZoGNwcien0oR/T3W 5c3vQgskUlNY2Hw3xDd/U2MTbkXjX97MNXKBoz0AqZ+yLWXyMMiirDgzUTdx9a6JHOeo6G JHhe7Zj0U1Je1uiJg448SwsJV54T00UCjJhagXK+ymPwP02zVAeQ/Lr586V9Pw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YxT2N4QY1zjBT for ; Mon, 17 Feb 2025 16:41:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51HGfmbF062816 for ; Mon, 17 Feb 2025 16:41:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51HGfmOK062815 for bugs@FreeBSD.org; Mon, 17 Feb 2025 16:41:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282713] Process enters in STOP state and doesn't respond to any signal. Date: Mon, 17 Feb 2025 16:41:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bnovkov@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282713 --- Comment #16 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddf436036e82b895a6233d803bc8bf14d2= cfe90d7 commit df436036e82b895a6233d803bc8bf14d2cfe90d7 Author: Bojan Novkovi=C4=87 AuthorDate: 2025-01-30 15:10:04 +0000 Commit: Bojan Novkovi=C4=87 CommitDate: 2025-02-17 16:40:34 +0000 umtx: Don't sleep after casueword32 failure in do_sem2_wake When a casueword32 operation fails, 'do_sem2_wake' will call 'thread_check_susp' to avoid a potential livelock. However, it instructs 'thread_check_susp' to sleep while holding a previously busied umtxq key. This is explicitly discouraged by the comments in 'thread_check_susp' which state that a thread shouldn't sleep if it owns a kernel resource. Fix this by passing 'false' to 'thread_check_susp'. Reviewed by: kib PR: 282713 Differential Revision: https://reviews.freebsd.org/D48728 Sponsored by: Klara Inc. sys/kern/kern_umtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=