From 8a72cec9e1d3d21ef73c308bf46688eca8f9a1d7 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 15 Mar 2004 02:47:28 +0000 Subject: How to make MPlayer work on Fedora core. Based on a patch sent by Alex Eskin git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12027 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/faq.xml | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'DOCS/xml') diff --git a/DOCS/xml/en/faq.xml b/DOCS/xml/en/faq.xml index e6ed6c2e59..d4b57e6fa6 100644 --- a/DOCS/xml/en/faq.xml +++ b/DOCS/xml/en/faq.xml @@ -624,6 +624,64 @@ problems. MPlayer will use its builtin one instead. + + +Why doesn't MPlayer work on Fedora Core? + + +There is a bad interaction on Fedora between exec-shield, +prelink, and any applications which use Windows DLLs +(such as MPlayer). + + +The problem is that exec-shield randomizes the load addresses of all the +system libraries. This randomization happens at prelink time (once every +two weeks). + + +When MPlayer tries to load a Windows DLL it +wants to put it at a specific address (0x400000). If an important system +library happens to be there already, MPlayer will crash. +(A typical symptom would be a segmentation fault when trying +to play Windows Media 9 files.) + + +If you run into this problem you have two options: + +Wait two weeks. It might start working again. +Relink all the binaries on the system with different +prelink options. Here are step by step instructions: + + +Edit /etc/syconfig/prelink and change + + +PRELINK_OPTS=-mR + + + +to + +PRELINK_OPTS="-mR --no-exec-shield" + + + +touch /var/lib/misc/prelink.force +/etc/cron.daily/prelink +(This relinks all the applications, and it takes +quite a while.) + +execstack -s /path/to/mplayer +(This turns off execshield for the MPlayer binary.) + + + + + + + + + ... works with xine/avifile/... but doesn't with -- cgit v1.2.3