From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 593653858423; Tue, 2 May 2023 12:57:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 593653858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683032237; bh=YCnwLvzoZuLoAukpD70EpwSO54IJkHeYrcRM5ebdTsg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VlE8P565IKAPdOy1SDrVUG0gtkcWdIbvbeElX50OlTXcPQVBOR0zCxq20WZKVStNW eLpXY1tGgV9QIc66I1BSNTgbdabtubMABzcam6aBERnwCx8eA9NSVzQzG6YCMZ2DyG xvsUC9jpnQmg7WNOGSRuYuq0MA1FCqf9VmREChUA= From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/25847] pthread_cond_signal failed to wake up pthread_cond_wait due to a bug in undoing stealing Date: Tue, 02 May 2023 12:57:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D25847 --- Comment #55 from Carlos O'Donell --- I see what appears to be at least one defect in the current patch set. 239 /* Now advance the new G1 g_signals to the new g1_start, giving it 240 an effective signal count of 0 to start. */ 241 atomic_store_relaxed (cond->__data.__g_signals + g1, (unsigned)new_g1_start); The store of __g_signals must be an MO release to sequence-with the MO acqu= ire in the waiter, particularly since the waiter wants to see the new __g1_star= t. --=20 You are receiving this mail because: You are on the CC list for the bug.=