Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 6 Jan 2019 21:11:28 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: pthread_key_create bug?

On Sun, Jan 06, 2019 at 08:50:46AM -0600, A. Wilcox wrote:
> 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.

See commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58.

Rich

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.