Date: Tue, 27 Mar 2018 15:00:59 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Cc: jens.gustedt@...ia.fr, Salman.Ahmed@...dmueller.com Subject: Re: segmentation fault on pthread_detach * Salman.Ahmed@...dmueller.com <Salman.Ahmed@...dmueller.com> [2018-03-27 12:51:54 +0000]: > Thanks for the clarification. So I guess with musl I have to remove the pthread_detach (which is redundant anyways after a successful join) or call it only if pthread_join returns an error? this is a bug on all systems, not just on musl if it works anywhere that's just luck, it can certainly crash on glibc too, but i'd be surprised if it worked reliably on any system, the crash may be rare though. don't use pthread_detach it does not help there.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.