On 01/06/19 08:35, Nathaniel Pierce wrote: > Hello - > > I believe I’ve encountered a bug in musl’s pthread_key_create(). > Immediately after key creation, pthread_getspecific() may not return > NULL. Here’s a gist with details and a test that fails: > > https://gist.github.com/nwpierce/df17c17571431a30c16999b6d0dd123f > > I’m running musl-1.1.19-r10 as part of Alpine 3.8.1 (via Docker). > > Thanks! > > -Nate We identified this bug in August 2018: https://wiki.adelielinux.org/wiki/POSIX#pthread_getspecific I had thought there had been progress, but I can't find any ML messages mentioning it, and your test case asserts during pass 2 on musl 1.1.20 on my workstation running Adélie beta2/ppc64. Best, --arw -- A. Wilcox (awilfox) Project Lead, Adélie Linux https://www.adelielinux.org