[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 4 09:25:45 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989
--- Comment #21 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jackson Huff from comment #20)
> Have there been any updates regarding segfaults with pthread_join? I'm also
> 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 >= 2.34 (see
r12-5108) and this specific bug is fixed now (the failing test was a different
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.
More information about the Gcc-bugs
mailing list