From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13573 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: pthread_key_create bug? Date: Sun, 6 Jan 2019 08:50:46 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <5c1d9cf6-1b53-7082-5dee-8673ed4c55e9@adelielinux.org> References: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K9UTfk5ao4A7CtzvreZiJqxH4AWccQG98" X-Trace: blaine.gmane.org 1546786041 3141 195.159.176.226 (6 Jan 2019 14:47:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2019 14:47:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: musl@lists.openwall.com Original-X-From: musl-return-13589-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jan 06 15:47:16 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 1gg9hs-0000i8-5g for gllmg-musl@m.gmane.org; Sun, 06 Jan 2019 15:47:16 +0100 Original-Received: (qmail 11965 invoked by uid 550); 6 Jan 2019 14:49:25 -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 11940 invoked from network); 6 Jan 2019 14:49:24 -0000 Openpgp: preference=signencrypt In-Reply-To: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:13573 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K9UTfk5ao4A7CtzvreZiJqxH4AWccQG98 Content-Type: multipart/mixed; boundary="NdUT8KNHrOiSarKvJ0ngGRzU9pdjNk1Oq"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <5c1d9cf6-1b53-7082-5dee-8673ed4c55e9@adelielinux.org> Subject: Re: [musl] pthread_key_create bug? References: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> In-Reply-To: <84B22C11-AA93-47FD-8352-A4F18B19F689@gmail.com> --NdUT8KNHrOiSarKvJ0ngGRzU9pdjNk1Oq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 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=C3=A9lie beta2/ppc64. Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux https://www.adelielinux.org --NdUT8KNHrOiSarKvJ0ngGRzU9pdjNk1Oq-- --K9UTfk5ao4A7CtzvreZiJqxH4AWccQG98 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlwyFcYACgkQyynLUZIr nRTuzg/9HMEg0dpcLLmEj0GJFKzdbDmoBQ7hEL4mLQ73us0xVNEy+QXDw/9xxt5j qTSvxYyRcxpO/JeuQxS5i6m6xuz5KiNuF/9bnkSJlkIbOBghpzRyJO7IDIgsdAmu IklO4zd5u9L+MrvgkqnhqlGu9t7MkkD7wkgA0/zZEZSxXaHGgFJFgg+VnqiKb5xn MJUuMoYzzxIcK4g1Mio64nMsvKwAvSZGQPTapqEtIuSl1vN6d5FcjfV1lMaLadj7 UHmAPOxUUjq/hRlemH3NHtTdrvr/4fgxog21R8AGGJFm7T8t4BNYjk3pi6F/t1+6 AyH+TvNBdwaeb3AYhX+/3WjXEFtX5bI4LEWCIdiy4roJMkgNCLvhtxOX5c/nvvCs t5uah1eTarTwnsnTBSGSDaH9+n8p0LHJYNrZdiDeN6EswBjLlFsUPU4obzfftPJ2 W9o063XxopslAh7/ZTX9+7hDW4bq69N9Fg6gZtzNYnpsuTYKHPjs4YG6ir6jXtml KivchlMVxF6f5IXpiakiuajh5md0jHCHeS448hTkGWgtRywRF4FAEn5xHG4Mgwbz wetPX9DXxs4LaJ+1K2xODwxazjfj3PmY+T+sVC12dmqhgSlwNVd8H06hO/WOeYeK dagbB2eKKFXrKnJJIcKTuUCxfY43zJpiyytRlkWvKPYX8jMbp+c= =kFcs -----END PGP SIGNATURE----- --K9UTfk5ao4A7CtzvreZiJqxH4AWccQG98--