workaround for glibc bug

Matthias Kretz kretz at kde.org
Thu Sep 27 20:07:32 BST 2007


Hi,

with phonon-xine one can hit a bug 
(https://bugzilla.redhat.com/show_bug.cgi?id=284171) in glibc rather easily. 
The short version of the bug: lazy symbol resolving in glibc is not 
threadsafe and can deadlock.

The fix for the bug was posted on Tue, 18 Sep 2007 so we can not really expect 
all systems to have the bug fixed when we release 4.0.

Tom Albers wrote:
> The debian-team thinks we should not 'depend' on it, only make a note in
> the requirements as in 'because of bug 897 we advise glibc version',
> where 897 is the bugreport from glibc.

If we can not require a fixed glibc perhaps I can put a workaround in 
phonon-xine, i.e. set LD_BIND_NOW to 1? Setting the RTLD_NOW flag for dlopen 
won't really help much because xine-lib loads a lot of plugins itself.

Opinions? People that know that this won't change a thing? :-)

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070927/9606a450/attachment.sig>


More information about the kde-core-devel mailing list