mysterious hang in pthread_create

Kostik Belousov kostikbel at gmail.com
Mon Sep 1 08:45:54 UTC 2008


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:
> 
> I can confirm - this fixed the issue for me.
> David, thanks!

Does libc_r still work with patch applied ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20080901/088cccea/attachment.pgp


More information about the freebsd-threads mailing list