This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
extending the dl-fini.c fix
- From: "Jerome Borsboom" <j dot borsboom at erasmusmc dot nl>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 08 Jul 2004 17:28:27 +0200
- Subject: extending the dl-fini.c fix
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