From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D4133858406; Fri, 4 Mar 2022 09:25:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D4133858406 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop Date: Fri, 04 Mar 2022 09:25:45 +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: 10.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2022 09:25:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95989 --- Comment #21 from Jonathan Wakely --- (In reply to Jackson Huff from comment #20) > Have there been any updates regarding segfaults with pthread_join? I'm al= so > getting a segfault but with the C++20 jthread::detach() function instead. There isn't enough context to give a useful answer. It's not clear if your question is related to this bug report at all, as you're talking about a different function. You haven't said if you're linking statically or dynamically, or which OS you're using, or which version of GCC. There was an update fixing some weak symbol issues for Glibc >=3D 2.34 (see r12-5108) and this specific bug is fixed now (the failing test was a differ= ent problem). I suggest you open a new bug with all the necessary information (see https://gcc.gnu.org/bugs/ for what's needed) or ask on the gcc-help mailing list instead.=