[Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 20 15:25:00 GMT 2017


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Hannes Hauswedell from comment #4)
> The crash happens when calling .joinable(). If we skip the joinable check it
> crashes on .join().

That's not very precise. Calling it where? From the destructor? It doesn't make
sense anyway, since joinable() just compares two pthread_t values for equality.
No pointers are dereferenced.

Could we get a stack trace please?


More information about the Gcc-bugs mailing list