Appendix C - How to report bugs
How to report bugs?
First read Appendix D, and other docs. If your problem isn't known or isn't solved by our instructions, then report the bug:
Where?
Subscribe to the mplayer-users mailing list:
http://lists.sourceforge.net/lists/listinfo/mplayer-users
and send your bugreport to:
mplayer-users@lists.sourceforge.net
We won't CC: so please subscribe!!!
Don't send bugreports private, directly to author's address!!! We are working together on code, so everyone is interested in it. BTW many times other users know the solution (system config probs, bad drivers etc), even when we think it's a bug in our code. The language of this list is ENGLISH!
Please describe your problem in details, examples etc, and don't forget to include these:
What?
1. The system info what we always want:
uname -a
ls -l /lib/libc[.-]*
X -version
gcc -v
ld -v
as --version
2. Hardware & drivers:
cat /proc/cpuinfo
For compiling problems/errors
3. output of configure/make:
make distclean
./configure &>config.log
./make &>make.log
4. these files:
For playback problems:
3. Output of mplayer at verbose level 1 (-v)
mplayer -v [options] filename &> mplayer.log
4. If the problem is specific to one or a few files, then please upload that file to:
ftp://mplayerhq.hu/MPlayer/incoming/
dd if=yourfile of=smallfile bs=1k count=1024
5. For crashes (segfault, SIGILL, signal 4 etc):
If you have coredump of the crash, see 5.a, else see 5.b:
5.a: Please print us coredump (if it was created).
Howto: please create following command file:
disass $eip-32 $eip+32
printf "eax=%08lX\n",$eax
printf "ebx=%08lX\n",$ebx
printf "ecx=%08lX\n",$ecx
printf "edx=%08lX\n",$edx
printf "esp=%08lX\n",$esp
printf "ebp=%08lX\n",$ebp
printf "edi=%08lX\n",$edi
printf "esi=%08lX\n",$esi
Then simply execute following command line:
gdb mplayer --core=core -batch --command=command_file >mplayer.bug
5.b.: run MPlayer in gdb:
Re-compile mplayer with debugging code enabled:
./configure --enable-debug
make
[at root/user shell prompt:]
# gdb mplayer
[at gdb prompt:]
> run -v [options-to-mplayer] filename
... (wait until it will crash)
> bt
> disass $eip-32 $eip+32
Send us the full output of the above things!
In general:
If something is big (logs etc) then it's better to upload to the ftp (gzipped), and include only path/filename in the bugreport!