Date: Mon, 1 Sep 2008 16:17:24 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Andriy Gapon <avg@icyb.net.ua> Cc: Daniel Eischen <deischen@freebsd.org>, David Xu <davidxu@freebsd.org>, freebsd-threads@freebsd.org Subject: Re: mysterious hang in pthread_create Message-ID: <20080901131724.GT2038@deviant.kiev.zoral.com.ua> In-Reply-To: <48BBDD6A.60002@icyb.net.ua> References: <Pine.GSO.4.64.0808301128410.9898@sea.ntplx.net> <20080830155622.GF2038@deviant.kiev.zoral.com.ua> <Pine.GSO.4.64.0808301200460.9898@sea.ntplx.net> <20080830184512.GH2038@deviant.kiev.zoral.com.ua> <48BBA369.9010108@freebsd.org> <48BBA925.1000303@icyb.net.ua> <20080901084548.GQ2038@deviant.kiev.zoral.com.ua> <48BBC9A3.1050905@icyb.net.ua> <20080901111215.GS2038@deviant.kiev.zoral.com.ua> <48BBDD6A.60002@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--RNYIsZSUNfbU4BwD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 01, 2008 at 03:17:46PM +0300, Andriy Gapon wrote: > on 01/09/2008 14:12 Kostik Belousov said the following: > > On Mon, Sep 01, 2008 at 01:53:23PM +0300, Andriy Gapon wrote: =2E.. > >>>>> The following silly patch fixes the problem Andriy encountered: > >>>> I can confirm - this fixed the issue for me. > >>>> David, thanks! > >>> Does libc_r still work with patch applied ? > >> In what sense? > >> The test program that I posted seems to hang in both cases (patched an= d=20 > >> unpatched rtld). > >=20 > > The David' patch changes the code used to support libc_r operations. > > Even on CURRENT, if you run 4.x-compiled binary with the support of > > compat-4x libraries, this code from /libexec/ld-elf.so.1 (installed > > by CURRENT buildworld) provides locking for rtld. >=20 > I understand, but I am not sure what exactly needs to be tested. > "Still works" is too broad in this context. I am not sure too. As I said, this one of the reason I prefered to not touch that code. --RNYIsZSUNfbU4BwD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAki762MACgkQC3+MBN1Mb4jjMgCgvWiorSf327afcIY4RM3VcqxC 6HkAni0iXfBlQ7pnrrOnwCE7HJjcjgp8 =ss2O -----END PGP SIGNATURE----- --RNYIsZSUNfbU4BwD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080901131724.GT2038>