Red Hat Bugzilla – Bug 480504
RTLD_DEEPBIND may crash pulseaudio
Last modified: 2009-01-26 20:50:20 EST
Created attachment 329291 [details]
Testcase for RTLD_DEEPBIND unrealted to xine-lib.
Description of problem:
Filing here a Bug originally reported by Gregory Hosler.
xine-lib can crash in pulseaudio due to its (upstream fixed) Bug
But this Bug would not occur if xine-lib would not use RTLD_DEEPBIND in its patch `xine-lib-1.1.1-deepbind-939.patch' (cannot find any Bug number 939).
While I did not try xine-lib myself without this patch there are given no reasons in the .spec file for it. Could be this patch removed?
This Bug occurs as RTLD_DEEPBIND makes the `environ' variable NULL. Without RTLD_DEEPBIND such unusual (despite valid) state would not occur.
Version-Release number of selected component (if applicable):
Attaching a bit unrelated testcase (deepbind-environ) showing `environ' gets cleared due to RTLD_DEEPBIND.
I'm unfamiliar with the history too, but this seems to be it:
Looks like the right fix there would be to get xine-lib-extras-freeworld to also use the system libfaad, if this isn't already done. Then we can get rid of that hack.
Yup, beat me to it.
Just committed changes doing just that (for rawhide/f11 anyway). Provided the builds complete and nothing blows up, we'll consider doing so for other branches as well.
Nice it found a library duplicity, thanks.
xine-lib-220.127.116.11-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update xine-lib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0884
xine-lib-18.104.22.168-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.