https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989

            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 <antal.buss at ualberta dot ca> ---
Created attachment 48811
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48811&action=edit
Preprocessed file

--- Comment #2 from Antal Buss <antal.buss at ualberta dot ca> ---
Created attachment 48812
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48812&action=edit
Compiler output

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 95990 has been marked as a duplicate of this bug. ***

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 95991 has been marked as a duplicate of this bug. ***

Reply via email to