# HG changeset patch # User diego # Date 1079318848 0 # Node ID 252b9e2f7417e8d3176da3ca1284c02296d3150f # Parent 124734dc7c66c4bdbd93eeb4f9700d155a84ba9e How to make MPlayer work on Fedora core. Based on a patch sent by Alex Eskin diff -r 124734dc7c66 -r 252b9e2f7417 DOCS/xml/en/faq.xml --- a/DOCS/xml/en/faq.xml Mon Mar 15 01:46:03 2004 +0000 +++ b/DOCS/xml/en/faq.xml Mon Mar 15 02:47:28 2004 +0000 @@ -626,6 +626,64 @@ +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 MPlayer.