[MPlayer-DOCS] CVS: main/DOCS/xml/en faq.xml,1.31,1.32

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Mar 15 03:47:30 CET 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/DOCS/xml/en
In directory mail:/var2/tmp/cvs-serv28044/en

Modified Files:
	faq.xml 
Log Message:
How to make MPlayer work on Fedora core.
Based on a patch sent by Alex Eskin <alexeskin at yahoo.com>


Index: faq.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/faq.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- faq.xml	23 Feb 2004 09:30:06 -0000	1.31
+++ faq.xml	15 Mar 2004 02:47:28 -0000	1.32
@@ -626,6 +626,64 @@
 
 <qandaentry>
 <question><para>
+Why doesn't <application>MPlayer</application> work on Fedora Core?
+</para></question>
+<answer><para>
+There is a bad interaction on Fedora between exec-shield,
+prelink, and any applications which use Windows DLLs
+(such as <application>MPlayer</application>).
+</para>
+<para>
+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).
+</para>
+<para>
+When <application>MPlayer</application> 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.)
+</para>
+<para>
+If you run into this problem you have two options:
+<itemizedlist>
+<listitem><para>Wait two weeks. It might start working again.</para></listitem>
+<listitem><para>Relink all the binaries on the system with different
+prelink options. Here are step by step instructions:</para>
+<para>
+<orderedlist>
+<listitem><para>Edit <filename>/etc/syconfig/prelink</filename> and change</para>
+<para>
+<programlisting>
+PRELINK_OPTS=-mR
+</programlisting>
+</para>
+<para>
+to
+<programlisting>
+PRELINK_OPTS="-mR --no-exec-shield"
+</programlisting>
+</para>
+</listitem>
+<listitem><para><command>touch /var/lib/misc/prelink.force</command></para></listitem>
+<listitem><para><command>/etc/cron.daily/prelink</command>
+(This relinks all the applications, and it takes
+quite a while.)</para></listitem>
+<listitem>
+<para><command>execstack -s <replaceable>/path/to/</replaceable>mplayer</command>
+(This turns off execshield for the <application>MPlayer</application> binary.)
+</para>
+</listitem>
+</orderedlist>
+</para>
+</listitem>
+</itemizedlist>
+</para></answer>
+</qandaentry>
+
+<qandaentry>
+<question><para>
 ... works with <application>xine/avifile/...</application> but doesn't with
 <application>MPlayer</application>.
 </para></question>




More information about the MPlayer-DOCS mailing list