mysterious hang in pthread_create

Kostik Belousov kostikbel at gmail.com
Mon Sep 1 13:17:32 UTC 2008


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:
...
> >>>>> 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 and 
> >> unpatched rtld).
> > 
> > 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.
> 
> 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.
-------------- 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/47675f4d/attachment.pgp


More information about the freebsd-threads mailing list