[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#839742: hurd: system() is broken after dlclose() of SO which links to curl-gnutls



Hi Samuel,

On 09.10.2016 13:23, Samuel Thibault wrote:
> Samuel Thibault, on Tue 04 Oct 2016 15:33:58 +0200, wrote:
>> Eugene V. Lyubimkin, on Tue 04 Oct 2016 14:37:58 +0200, wrote:
>>> On Hurd, if one loads and unloads the shared object which was linked to
>>> curl-gnutls library, system() stops to work.
>>
>> It looks like gnutls calls pthread_atfork(), and thus on unload the
>> registered hook points to nowhere. glibc seems to have support to avoid
>> the issue, I had started to put the infrastructure for using it on
>> hurd-i386 but didn't finish. I'll see how easy it'll be to finish it :)
> 
> It's easy, will commit the fix :)

Cool, thanks :)


Reply to: