https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95991
Bug ID: 95991 Summary: Segmentation fault compiling with static libraries and using jthread::request_stop Product: gcc Version: 10.0 Status: RESOLVED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: antal.buss at ualberta dot ca Target Milestone: --- Resolution: DUPLICATE Status: RESOLVED 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 Richard Biener <rguenth at gcc dot gnu.org> --- . *** This bug has been marked as a duplicate of bug 95989 ***