Date: Sat, 15 Nov 2014 21:31:25 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: Alfred Perlstein <alfred@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Garrett Cooper <ngie@FreeBSD.org> Subject: Re: svn commit: r274573 - head/contrib/netbsd-tests/lib/libpthread Message-ID: <22C52F4A-B9EC-4C32-9D26-474B7EF0CEF2@gmail.com> In-Reply-To: <DB00B2E1-F43A-486C-81EF-A010901E5602@gmail.com> References: <201411160508.sAG58JdG055637@svn.freebsd.org> <546833FE.9060904@freebsd.org> <45B1482F-352E-4874-8A89-1EC225A32E93@gmail.com> <54683508.3030104@freebsd.org> <DB00B2E1-F43A-486C-81EF-A010901E5602@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F1B63001-3EAE-475F-B42B-FC9EF821AD8D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 15, 2014, at 21:26, Garrett Cooper <yaneurabeya@gmail.com> wrote: > On Nov 15, 2014, at 21:24, Alfred Perlstein <alfred@freebsd.org> = wrote: >=20 >> On 11/15/14, 9:22 PM, Garrett Cooper wrote: >>> On Nov 15, 2014, at 21:19, Alfred Perlstein <alfred@freebsd.org> = wrote: >>>=20 >>>> This looks easy enough to fix under _thr_find_thread() in = libthread. >>>>=20 >>>> Any interest in fixing it? >>> Yes, if it=92s POSIXly correct and doesn=92t break everything else. >>>=20 >>>> Might be worth hacking _thr_find_thread() to take an ERRNO to = return based on NULL until we chase down all the paths into it just in = case EINVAL is a valid ptr. >>> K. Thanks for the hint! >>>=20 >>>> Also, just wondering what happens on other platforms, does it = elicit a crash? Ie. is NULL a safe value to pass in on other platforms? >>> I wish I knew what happened on !x86 platforms=85 I honestly don=92t = have access to ARM/MIPS/PowerPC, so I can=92t say :/. >>>=20 >>> Thanks! >>=20 >> Oh, I meant Linux and Solaris, or even other BSD. >=20 > Ah, good question. pho@ ran some of the tests in contrib/netbsd-tests = on Linux/OSX before to do a side-by-side comparison, but I haven=92t = setup the necessary environment to do that testing [yet]. FWIW, there=92s some weirdness with one of the testcases that was never = fully integrated in at Isilon where it blocks on a random mutex in = libthr=85 trying to figure out what=92s causing it to do that, but this = might be related... --Apple-Mail=_F1B63001-3EAE-475F-B42B-FC9EF821AD8D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUaDatAAoJEMZr5QU6S73eZy8IAK9A6R+XfpGWKPSqYT/cjDtp UupQUnew12ZiipVGl5MSDQBfGyl+ns16+JYmg3ZVsm/BY6XkeBhszhcr5ZNzCxxT fV1wLI7adeaEyKSe+R0kgV8NAgrcEHMm3OXk2ourHqtmuudnlBdwmjIUTQU018VS q5Gf+N++b3vftpp1H90nydIWzsusELoGg+OdlqB6JY3nudVhKpaOYT9IRBlKcT3q TGRYWq217sORjJHzgr5v4bljmmsTpFNaluKJKMe90GM3SYRcY4yTPCGM1c5nsEl+ tg4bEGsuRZskvbgEACK1d+lWkp1xPEnwt4BMKRzVJ6Wh5ABc2UY6mOVoVub9R4k= =ITZU -----END PGP SIGNATURE----- --Apple-Mail=_F1B63001-3EAE-475F-B42B-FC9EF821AD8D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22C52F4A-B9EC-4C32-9D26-474B7EF0CEF2>