2002-06-11 18:57:47 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2001-08-21 21:01:54 +00:00
|
|
|
<HTML>
|
2002-03-07 17:55:34 +00:00
|
|
|
|
|
|
|
<HEAD>
|
2002-08-04 00:07:55 +00:00
|
|
|
<TITLE>Bug reporting - MPlayer - The Movie Player for Linux</TITLE>
|
2002-06-12 09:14:08 +00:00
|
|
|
<LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
|
2002-06-13 00:33:54 +00:00
|
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
2002-03-07 17:55:34 +00:00
|
|
|
</HEAD>
|
|
|
|
|
2002-06-13 00:33:54 +00:00
|
|
|
<BODY>
|
2001-08-26 17:28:49 +00:00
|
|
|
|
2001-08-21 21:01:54 +00:00
|
|
|
|
2002-09-10 21:56:05 +00:00
|
|
|
<H1><A NAME="B">Appendix B - How to report bugs</A></H1>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
2002-08-27 22:28:03 +00:00
|
|
|
<P>Good bug reports are a very valuable contribution to the development of any
|
|
|
|
software project. But just like writing good software, good problem reports
|
|
|
|
involve some work. Please realize that most developers are extremely busy and
|
|
|
|
receive obscene amounts of email. So while your feedback is crucial in
|
|
|
|
improving <B>MPlayer</B> and very much appreciated, please understand that you
|
|
|
|
have to provide <B>all</B> of the information we request and follow the
|
|
|
|
instructions in this document closely.</P>
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H2>How to fix bugs</H2>
|
2001-08-21 21:01:54 +00:00
|
|
|
|
2002-06-16 10:50:30 +00:00
|
|
|
<P>If you feel have the necessary skills you are invited to have a go at fixing
|
2002-08-27 21:00:39 +00:00
|
|
|
the bug yourself. Or maybe you already did that? Please read
|
|
|
|
<A HREF="tech/patches.txt">this short document</A> to find out how to get
|
|
|
|
your code included in <B>MPlayer</B>. The people on the
|
|
|
|
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</A>
|
|
|
|
mailing list will assist you if you have questions.</P>
|
2002-08-02 00:59:35 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H2>How to report bugs</H2>
|
2002-08-02 00:59:35 +00:00
|
|
|
|
|
|
|
<P>First of all please try the latest CVS version of <B>MPlayer</B> as your bug
|
2002-08-27 22:28:03 +00:00
|
|
|
might already be fixed there. Development moves extremely fast, most problems
|
|
|
|
in official releases are reported within days or even hours, so please use
|
|
|
|
<B>only CVS</B> to report bugs. CVS instructions can be found at the bottom of
|
2002-08-27 21:00:39 +00:00
|
|
|
<A HREF="http://www.mplayerhq.hu/homepage/dload.html">this page</A> or in the
|
|
|
|
README. If this did not help please refer to
|
|
|
|
<A HREF="documentation.html#known_bugs">the list of known bugs</A> and the
|
|
|
|
rest of the documentation. If your problem is not known or not solvable by our
|
|
|
|
instructions, then please report the bug.</P>
|
2002-08-02 00:59:35 +00:00
|
|
|
|
|
|
|
<P>Please do not send bug reports privately to individual developers. This is
|
2002-08-27 21:00:39 +00:00
|
|
|
community work and thus there might be several people interested in it.
|
|
|
|
Sometimes other users already experienced your troubles and know how to
|
|
|
|
circumvent a problem even if it is a bug in <B>MPlayer</B> code.</P>
|
2002-08-02 00:59:35 +00:00
|
|
|
|
|
|
|
<P>Please describe your problem in as much detail as possible. Do a little
|
2002-08-27 21:00:39 +00:00
|
|
|
detective work to narrow down the circumstances under which the problem
|
|
|
|
occurs. Does the bug only show up in certain situations? Is it specific to
|
|
|
|
certain files or file types? Does it occur with only one codec or is it codec
|
|
|
|
independent? Can you reproduce it with all output drivers? The more
|
|
|
|
information you provide the better are our chances at fixing your problem.
|
|
|
|
Please do not forget to also include the valuable information requested below,
|
|
|
|
we will be unable to properly diagnose your problem otherwise.</P>
|
2002-08-02 00:59:35 +00:00
|
|
|
|
|
|
|
<P>An excellent and well written guide to asking questions in public forums is
|
2002-08-27 21:00:39 +00:00
|
|
|
<A HREF="http://www.tuxedo.org/~esr/faqs/smart-questions.html">How To Ask
|
|
|
|
Questions The Smart Way</A> by Eric S. Raymond. If you follow these guidelines
|
|
|
|
you should be safe. But please understand that we all follow the mailing lists
|
|
|
|
voluntarily in our free time. We are very busy and cannot guarantee that you
|
|
|
|
will get a solution for your problem or even an answer.</P>
|
2002-06-16 10:50:30 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H3>Where to report bugs?</H3>
|
2001-08-21 21:01:54 +00:00
|
|
|
|
2001-08-24 18:48:13 +00:00
|
|
|
<P>Subscribe to the mplayer-users mailing list:<BR>
|
2002-08-27 21:00:39 +00:00
|
|
|
<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR>
|
|
|
|
and send your bug report to:<BR>
|
|
|
|
<A HREF="mailto:mplayer-users@mplayerhq.hu">mplayer-users@mplayerhq.hu</A></P>
|
2002-06-20 11:52:51 +00:00
|
|
|
|
|
|
|
<P>The language of this list is <B>English</B>. Please follow the standard
|
2002-08-27 21:00:39 +00:00
|
|
|
<A HREF="http://www.ietf.org/rfc/rfc1855.txt">Netiquette Guidelines</A> and
|
|
|
|
<B>do not send HTML mail</B> to any of our mailing lists. You will only get
|
2002-08-27 22:28:03 +00:00
|
|
|
ignored or banned. If you do not know what HTML mail is or why it is evil,
|
|
|
|
read this <A HREF="http://expita.com/nomime.html">fine document</A>. It
|
|
|
|
explains all the details and has instructions for turning HTML off. Also note
|
|
|
|
that we will not individually CC (carbon-copy) people so it is a good idea to
|
|
|
|
subscribe to actually receive your answer.</P>
|
2001-08-21 21:01:54 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H3>What to report?</H3>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>System Information:</H4>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>Your Linux distribution or operating system e.g.:
|
2002-03-21 06:32:13 +00:00
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>Red Hat 7.1</LI>
|
|
|
|
<LI>Slackware 7.0 + devel packs from 7.1 ...</LI>
|
2002-03-21 06:32:13 +00:00
|
|
|
</UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
</LI>
|
|
|
|
<LI>kernel version:<BR>
|
|
|
|
<CODE>uname -a</CODE></LI>
|
|
|
|
<LI>libc version:<BR>
|
|
|
|
<CODE>ls -l /lib/libc[.-]*</CODE></LI>
|
|
|
|
<LI>X version:<BR>
|
|
|
|
<CODE>X -version</CODE></LI>
|
|
|
|
<LI>gcc and ld versions:<BR>
|
|
|
|
<CODE>gcc -v<BR>
|
|
|
|
ld -v</CODE></LI>
|
|
|
|
<LI>binutils version:<BR>
|
|
|
|
<CODE>as --version</CODE></LI>
|
|
|
|
<LI>If you have problems with fullscreen mode:
|
|
|
|
<UL>
|
|
|
|
<LI>Window manager type and version</LI>
|
|
|
|
</UL>
|
|
|
|
</LI>
|
|
|
|
<LI>If only the GUI is buggy:
|
|
|
|
<UL>
|
|
|
|
<LI>GTK version</LI>
|
|
|
|
<LI>GLIB version</LI>
|
|
|
|
<LI>libpng version</LI>
|
|
|
|
<LI>GUI situation in which the bug occurs</LI>
|
|
|
|
</UL>
|
|
|
|
</LI>
|
2001-08-24 18:48:13 +00:00
|
|
|
</UL>
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>Hardware & drivers:</H4>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>CPU info (this works on Linux only):<BR>
|
2002-05-12 01:41:24 +00:00
|
|
|
<CODE>cat /proc/cpuinfo</CODE></LI>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>Video card manufacturer and model, e.g.:
|
2002-03-21 06:32:13 +00:00
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM</LI>
|
|
|
|
<LI>Matrox G400 DH 32MB SGRAM</LI>
|
2002-03-21 06:32:13 +00:00
|
|
|
</UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
</LI>
|
|
|
|
<LI>Video driver type & version, e.g.:
|
2002-03-21 06:32:13 +00:00
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>X built-in driver</LI>
|
|
|
|
<LI>nVidia 0.9.623</LI>
|
|
|
|
<LI>Utah-GLX CVS 2001-02-17</LI>
|
|
|
|
<LI>DRI from X 4.0.3</LI>
|
2002-03-21 06:32:13 +00:00
|
|
|
</UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
</LI>
|
|
|
|
<LI>Sound card type & driver, e.g.:
|
2002-03-21 06:32:13 +00:00
|
|
|
<UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
<LI>Creative SBLive! Gold with OSS driver from oss.creative.com</LI>
|
|
|
|
<LI>Creative SB16 with kernel OSS drivers</LI>
|
|
|
|
<LI>GUS PnP with ALSA OSS emulation</LI>
|
2002-03-21 06:32:13 +00:00
|
|
|
</UL>
|
2002-08-27 21:00:39 +00:00
|
|
|
</LI>
|
|
|
|
<LI>If in doubt include <CODE>lspci -vv</CODE> output on Linux systems.</LI>
|
2001-08-24 18:48:13 +00:00
|
|
|
</UL>
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>For compilation problems/errors</H4>
|
|
|
|
|
|
|
|
Please include these files:
|
2001-08-24 18:48:13 +00:00
|
|
|
|
2002-05-12 01:41:24 +00:00
|
|
|
<UL>
|
|
|
|
<LI>configure.log</LI>
|
|
|
|
<LI>config.h</LI>
|
|
|
|
<LI>config.mak</LI>
|
|
|
|
<LI>libvo/config.mak</LI>
|
2001-08-24 18:48:13 +00:00
|
|
|
</UL>
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>For playback problems</H4>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
2002-06-20 11:52:51 +00:00
|
|
|
<P>Please include the output of <B>MPlayer</B> at verbosity level 1, but
|
2002-08-27 21:19:30 +00:00
|
|
|
remember to <B>not truncate the output</B> when you paste it into your mail.
|
|
|
|
The developers need all of the messages to properly diagnose a problem. You
|
|
|
|
can direct the output into a file like this:</P>
|
2002-06-11 18:57:47 +00:00
|
|
|
|
|
|
|
<P><CODE> mplayer -v [options] [filename] &> mplayer.log</CODE></P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
|
|
|
<P>If your problem is specific to one or more files, then please upload the
|
2002-08-27 21:19:30 +00:00
|
|
|
offender(s) to:</P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
|
|
|
<P> <A HREF="ftp://mplayerhq.hu/MPlayer/incoming/">ftp://mplayerhq.hu/MPlayer/incoming/</A></P>
|
|
|
|
|
|
|
|
<P>Also upload a small text file having the same base name as your file
|
2002-08-27 21:19:30 +00:00
|
|
|
with a .txt extension. Describe the problem you are having with the
|
|
|
|
particular file there and include your email address as well as the output
|
2002-08-27 21:32:35 +00:00
|
|
|
of <B>MPlayer</B> at verbosity level 1. Usually the first 1-5 MB of a file are
|
|
|
|
enough to reproduce the problem, but to be sure we ask you to:</P>
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
<P><CODE> dd if=yourfile of=smallfile bs=1024k count=5</CODE></P>
|
|
|
|
|
|
|
|
<P>It will take the first five megabytes of <STRONG>'your-file'</STRONG> and
|
2002-08-27 21:32:35 +00:00
|
|
|
write it to <STRONG>'small-file'</STRONG>. Then try again on this small file
|
|
|
|
and if the bug still shows up your sample is sufficient for us. Please
|
|
|
|
<STRONG>do not ever</STRONG> send such files via mail! Upload it, and send
|
|
|
|
only the path/filename of the file on the FTP-server. If the file is
|
|
|
|
accessible on the net, then sending the <STRONG>exact</STRONG> URL is
|
|
|
|
sufficient.</P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>For crashes</H4>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-06-20 11:52:51 +00:00
|
|
|
<P>If you have a core dump of the crash continue reading the next paragraph,
|
2002-08-27 21:00:39 +00:00
|
|
|
otherwise skip it.</P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>How to extract meaningful information from a core dump</H4>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-08-27 22:28:03 +00:00
|
|
|
<P>Please create the following command file:</P>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
|
|
|
<P><CODE>disass $eip-32 $eip+32<BR>
|
2002-08-27 21:00:39 +00:00
|
|
|
printf "eax=%08lX\n",$eax<BR>
|
|
|
|
printf "ebx=%08lX\n",$ebx<BR>
|
|
|
|
printf "ecx=%08lX\n",$ecx<BR>
|
|
|
|
printf "edx=%08lX\n",$edx<BR>
|
|
|
|
printf "esp=%08lX\n",$esp<BR>
|
|
|
|
printf "ebp=%08lX\n",$ebp<BR>
|
|
|
|
printf "edi=%08lX\n",$edi<BR>
|
2002-08-27 21:32:35 +00:00
|
|
|
printf "esi=%08lX\n",$esi</CODE></P>
|
2001-08-24 18:48:13 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
<P>Then simply execute the following on your command line:</P>
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
<P> <CODE>gdb mplayer --core=core -batch --command=command_file > mplayer.bug</CODE></P>
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H4>How to conserve information about a reproducible crash</H4>
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
Recompile <B>MPlayer</B> with debugging code enabled:
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-26 02:38:58 +00:00
|
|
|
<P><CODE> ./configure --enable-debug=3<BR>
|
2002-08-27 21:00:39 +00:00
|
|
|
make</CODE></P>
|
|
|
|
|
2002-06-20 11:52:51 +00:00
|
|
|
and then run <B>MPlayer</B> within gdb using:
|
2002-08-27 21:32:35 +00:00
|
|
|
|
2002-10-06 20:55:38 +00:00
|
|
|
<P><CODE> gdb ./mplayer</CODE></P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
You are now within gdb. Type:
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
<P><CODE> run -v [options-to-mplayer] filename</code></P>
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
and reproduce your crash. As soon as you did it, gdb will
|
|
|
|
return you to the command line prompt where you have to enter
|
2002-08-27 21:00:39 +00:00
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
<P><CODE> bt<BR>
|
2002-08-27 21:00:39 +00:00
|
|
|
disass $eip-32 $eip+32</CODE></P>
|
|
|
|
|
2002-03-21 06:32:13 +00:00
|
|
|
and send the complete output to us.
|
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H3>General note</H3>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
|
|
|
<P>If something is quite big (logs for instance) then it is better to upload
|
2002-10-06 20:55:38 +00:00
|
|
|
it to the FTP server in a compressed format (gzip and bzip2 preferred) and
|
2002-10-10 03:32:23 +00:00
|
|
|
include only the path and filename in your bug report. Our mailing lists
|
|
|
|
have a message size limit of 80k, if you have something bigger you have to
|
|
|
|
compress or upload it.</P>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
2002-08-27 21:19:30 +00:00
|
|
|
|
2002-08-27 21:32:35 +00:00
|
|
|
<H2>I know what I am doing...</H2>
|
2002-03-21 06:32:13 +00:00
|
|
|
|
|
|
|
<P>If you created a proper bug report following the steps above and you are
|
2002-08-27 21:00:39 +00:00
|
|
|
confident it is a bug in <B>MPlayer</B>, not a compiler problem or broken
|
|
|
|
file, you have already read the documentation and you could not find a
|
|
|
|
solution, your sound drivers are OK, then you might want to subscribe to the
|
|
|
|
mplayer-advusers list and send your bug report there to get a better and
|
|
|
|
faster answer.<BR><BR>
|
|
|
|
Please be advised that if you post newbie questions or questions answered
|
|
|
|
in the manual there, you will be ignored or flamed instead of getting an
|
|
|
|
appropriate answer.<BR>
|
|
|
|
So do not flame us and subscribe to -advusers only if you really know
|
|
|
|
what you are doing and feel like being an advanced <B>MPlayer</B> user or
|
|
|
|
developer. If you meet these criteria it should not be difficult to find
|
|
|
|
out how to subscribe...</P>
|
2001-11-30 19:56:08 +00:00
|
|
|
|
2001-08-24 18:48:13 +00:00
|
|
|
</BODY>
|
2001-08-21 21:01:54 +00:00
|
|
|
</HTML>
|