extending the dl-fini.c fix

Jerome Borsboom j.borsboom@erasmusmc.nl
Thu Jul 8 15:28:00 GMT 2004


Hi,

The fix for the deadlock on dl_load_lock in dl-fini.c looks very 
valid to me. Xmms-jack is still hanging on the pthread_join 
function, though. Some debugging showed me that the destructor 
there is not called from _dl_fini, but from _dl_close. This 
code, however, is still entirely guarded by the dl_load_lock, 
which would explain the hang. Maybe the same must be done here 
as in _dl_fini.

I am not at all into hacking the glibc library so I cannot do it 
myself. Hope this helps.

Greetz,
Jerome



More information about the Libc-alpha mailing list