Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2008 11:45:48 +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:  <20080901084548.GQ2038@deviant.kiev.zoral.com.ua>
In-Reply-To: <48BBA925.1000303@icyb.net.ua>
References:  <48B8052A.6070908@icyb.net.ua> <20080829143645.GY2038@deviant.kiev.zoral.com.ua> <Pine.GSO.4.64.0808291223240.5086@sea.ntplx.net> <20080829190506.GA2038@deviant.kiev.zoral.com.ua> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--6JKsAUbrJhuSllgx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 01, 2008 at 11:34:45AM +0300, Andriy Gapon wrote:
> on 01/09/2008 11:10 David Xu said the following:
> >The ancient bug is in rtld, rlock_acquire() and wlock_acquire() test
> >thread_flag as a boolean value, because pt_iterate_phdr() tries to
> >lock two locks at same time, this test will always fail once it
> >acquired first lock.
> >
> >The following silly patch fixes the problem Andriy encountered:
>=20
> I can confirm - this fixed the issue for me.
> David, thanks!

Does libc_r still work with patch applied ?

--6JKsAUbrJhuSllgx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAki7q7wACgkQC3+MBN1Mb4jhFwCdGzyV29sMIpopIOnKA5LvwGm6
FQgAn15mucMAsvCvJpUFaBODgLD+i7st
=7CUE
-----END PGP SIGNATURE-----

--6JKsAUbrJhuSllgx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080901084548.GQ2038>