From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A666A3858D37; Tue, 30 Jun 2020 20:25:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A666A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593548747; bh=VvlAB5C1LogaVN/ZstyC+jYd1NJTGrNdmMbxdKfvoLY=; h=From:To:Subject:Date:From; b=WCu1kodG+8NZSuqDfmbOPFTm+bXl7MvK3dQid8v3/5O/22MA+J3hnzUNw0RJqNQUj Jbtw5uAEjE5GQL18419W71VeX7f7W9lwpS4NXvfZ9a8T/Pfzj3Js71X3M4Q4r3p41W ZI7NxQgrVzB1NJ5DiPrsy/EgcUzoBFnjoKW3wdys= From: "webrown.cpp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/95989] New: Segmentation fault compiling with static libraries and using jthread::request_stop Date: Tue, 30 Jun 2020 20:25:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: webrown.cpp at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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: Tue, 30 Jun 2020 20:25:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95989 Bug ID: 95989 Summary: Segmentation fault compiling with static libraries and using jthread::request_stop Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: antal.buss at ualberta dot ca CC: webrown.cpp at gmail dot com Target Milestone: --- CC: webrown.cpp at gmail dot com A simple program creating a jthread and later calling request_stop on the created thread produces a segmentation fault when the program is compiled against the static libraries but works fine using dynamic libraries. --- Comment #1 from Antal Buss --- Created attachment 48811 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48811&action=3Dedit Preprocessed file --- Comment #2 from Antal Buss --- Created attachment 48812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48812&action=3Dedit Compiler output --- Comment #3 from Richard Biener --- *** Bug 95990 has been marked as a duplicate of this bug. *** --- Comment #4 from Richard Biener --- *** Bug 95991 has been marked as a duplicate of this bug. ***=