From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13574 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: pthread_key_create bug? Date: Sun, 6 Jan 2019 17:28:00 +0100 Message-ID: <20190106162800.GG21289@port70.net> References: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> <5c1d9cf6-1b53-7082-5dee-8673ed4c55e9@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546791968 1371 195.159.176.226 (6 Jan 2019 16:26:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2019 16:26:08 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: musl@lists.openwall.com Original-X-From: musl-return-13590-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jan 06 17:26:04 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ggBFT-0000Fi-On for gllmg-musl@m.gmane.org; Sun, 06 Jan 2019 17:26:03 +0100 Original-Received: (qmail 1445 invoked by uid 550); 6 Jan 2019 16:28:12 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1427 invoked from network); 6 Jan 2019 16:28:12 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <5c1d9cf6-1b53-7082-5dee-8673ed4c55e9@adelielinux.org> Xref: news.gmane.org gmane.linux.lib.musl.general:13574 Archived-At: * A. Wilcox [2019-01-06 08:50:46 -0600]: > On 01/06/19 08:35, Nathaniel Pierce wrote: > > Hello - > >=20 > > I believe I=E2=80=99ve encountered a bug in musl=E2=80=99s pthread_key_= create(). > > Immediately after key creation, pthread_getspecific() may not return > > NULL. Here=E2=80=99s a gist with details and a test that fails: > >=20 > > https://gist.github.com/nwpierce/df17c17571431a30c16999b6d0dd123f > >=20 > > I=E2=80=99m running musl-1.1.19-r10 as part of Alpine 3.8.1 (via Docker= ). > >=20 > > Thanks! > >=20 > > -Nate >=20 >=20 > We identified this bug in August 2018: >=20 > https://wiki.adelielinux.org/wiki/POSIX#pthread_getspecific >=20 > 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=C3=A9lie beta2/ppc64. i think you are looking for this thread: https://www.openwall.com/lists/musl/2018/09/17/9