Bug#841068: hurd: system() is broken if exe/lib which links to pthread calls dlclose() of SO which links to curl-gnutls

2016-10-20 Thread Eugene V. Lyubimkin
Hi,

On 19.10.2016 23:34, Samuel Thibault wrote:
> Samuel Thibault, on Wed 19 Oct 2016 18:15:03 +0200, wrote:
>> Eugene V. Lyubimkin, on Mon 17 Oct 2016 13:26:58 +0200, wrote:
>>> Unfortunately, it was not enough for Cupt test suite on Hurd, since the
>>> bug still happens under another circumstances - namely, if the
>>> caller itself (executable or shared library) links to pthread.
>>
>> A fix has been uploaded in libc0.3 2.24-5. We however now need to wait
>> for p11-kit to be rebuilt with that libc in order to get the fix in (you
>> don't want to know why).
> 
> Yep, cupt now built fine!

Cool, thanks :)



Bug#841068: hurd: system() is broken if exe/lib which links to pthread calls dlclose() of SO which links to curl-gnutls

2016-10-19 Thread Samuel Thibault
Samuel Thibault, on Wed 19 Oct 2016 18:15:03 +0200, wrote:
> Eugene V. Lyubimkin, on Mon 17 Oct 2016 13:26:58 +0200, wrote:
> > Unfortunately, it was not enough for Cupt test suite on Hurd, since the
> > bug still happens under another circumstances - namely, if the
> > caller itself (executable or shared library) links to pthread.
> 
> A fix has been uploaded in libc0.3 2.24-5. We however now need to wait
> for p11-kit to be rebuilt with that libc in order to get the fix in (you
> don't want to know why).

Yep, cupt now built fine!

Thanks,
Samuel



Bug#841068: hurd: system() is broken if exe/lib which links to pthread calls dlclose() of SO which links to curl-gnutls

2016-10-19 Thread Samuel Thibault
Hello,

Eugene V. Lyubimkin, on Mon 17 Oct 2016 13:26:58 +0200, wrote:
> Unfortunately, it was not enough for Cupt test suite on Hurd, since the
> bug still happens under another circumstances - namely, if the
> caller itself (executable or shared library) links to pthread.

A fix has been uploaded in libc0.3 2.24-5. We however now need to wait
for p11-kit to be rebuilt with that libc in order to get the fix in (you
don't want to know why).

Thanks for the investigation!
Samuel



Bug#841068: hurd: system() is broken if exe/lib which links to pthread calls dlclose() of SO which links to curl-gnutls

2016-10-17 Thread Eugene V. Lyubimkin
Package: libc0.3
Version: 2.24-4
Severity: normal
Control: affects -1 cupt

Hello Samuel and all,

Thank you for fixing #839742, the original test case now passes.

Unfortunately, it was not enough for Cupt test suite on Hurd, since the
bug still happens under another circumstances - namely, if the
caller itself (executable or shared library) links to pthread.

Updated test case attached.

-- System Information:
Debian Release: 8.0
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)


dlclose.tar
Description: Unix tar archive