From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6AC303858C31; Sun, 10 Dec 2023 06:59:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6AC303858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702191548; bh=0PVHKWss+jWyWAPZ36WbIWH0s1/LwEe0shYh/kJNJ3s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bcIBigUUqulApryWc2T8tJyBEEaNowhQ6ER38NgQxdPD+wqncLH1hxA0Ja7uq7uKr aq0nqJux7QmnMwSA/mmX42dVC+ODiuJezloscQLNeNKCpi7u2gcBj7knMtVAo/kwAv 0m0S6S4vMwa0urrIPWCmaD9qGCLNkmgCqH2PqMTs= From: "nate at thatsmathematics dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever Date: Sun, 10 Dec 2023 06:59:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nate at thatsmathematics dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104928 --- Comment #2 from Nate Eldredge --- This bug is still present. Tested and reproduced with g++ 13.1.0 (Ubuntu package), and by inspection of the source code, it's still in the trunk as well. Encountered on StackOverflow: https://stackoverflow.com/questions/77626624/race-condition-in-morriss-algo= rithm=