From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 07E103858401; Sat, 13 May 2023 04:10:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07E103858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683951034; bh=pNA9i9MGivAGLeDn8fibEgA6bEjr0cNMlCJJn+hTMIE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n5L9bxb8dix4Mxd0OdnbuRTiiTAF/UR+AaTRKYTHSjDagX60SFIy0RUGY12IeWx6z FhJSW1T8BTVwPqWwbZlCNgEGgkSU1fi5GDUebHz4TbqYdc6ExZlHEVqmwyC7VGIMNN Ql8SXTJ4RtU/2u12cxm6j56IAXvqUknVPsY1TsOs= From: "malteskarupke at fastmail dot fm" 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: Sat, 13 May 2023 04:10:33 +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: malteskarupke at fastmail dot fm 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 #65 from Malte Skarupke --- I submitted a new v5 of the patches here: https://sourceware.org/pipermail/libc-alpha/2023-May/148046.html I removed the unneeded "unused" member and added Frank Barrus' signed-off message to my version of the patches. Why I had changed the struct size? I had done that intentionally, and I cou= ld have sworn that I had explained the reason in the commit message, but it mu= st have gotten lost in some reshuffling of the patches. The reason I had gone = down to 44 bytes was that this was the old size of pthread_cond_t. So any code compiled against an older version could only rely on that many bytes anyway. There was a comment in pthread_cond_wait about how the last four bytes are going to be uninitialized memory, so I thought I would just reduce the size again to remove that confusion. I didn't know that the "unused" member was not needed, so I just removed it now. --=20 You are receiving this mail because: You are on the CC list for the bug.=