annotate DOCS/bugreports.html @ 1668:a5cb1b1d47a8

*** empty log message ***
author gabucino
date Thu, 23 Aug 2001 17:08:46 +0000
parents 1b011d6150c7
children dba45a1aafad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1 <HTML>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
2
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
3 <BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
4
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
5 <PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
6
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
7 <A NAME=C>Appendix C - How to report bugs</A>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
8
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
9 How to report bugs?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
10 ~~~~~~~~~~~~~~~~~~~
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
11 First read DOCS/BUGS, and other docs. If your problem isn't
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
12 known or isn't solved by our instructions, then report the bug:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
13
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
14 Where?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15 ======
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
16 Subscribe to the mplayer-users mailing list:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
17 http://lists.sourceforge.net/lists/listinfo/mplayer-users
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
18 and send your bugreport to:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
19 mplayer-users@lists.sourceforge.net
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
20 We won't CC: so please subscribe!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
21
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
22 Don't send bugreports private, directly to author's address!!!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
23 We are working together on code, so everyone is interested in it.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
24 BTW many times other users know the solution (system config probs,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
25 bad drivers etc), even when we think it's a bug in our code.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
26 The language of this list is ENGLISH !
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
27
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
28 Please describe your problem in details, examples etc, and don't
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
29 forget to include these:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
30
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
31 What?
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
32 =====
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
33
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
34 1. The system info what we always want:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
35 - linux distribution
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
36 examples:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
37 RedHat 7.1
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
38 Slackware 7.0 + devel packs from 7.1 ...
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
39 - kernel version:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
40 uname -a
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
41 - libc version:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
42 ls -l /lib/libc[.-]*
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
43 - X version:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
44 X -version
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
45 - gcc and ld version:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
46 gcc -v
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
47 ld -v
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
48 - binutils version:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
49 as --version
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
50
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
51 2. Hardware &amp; drivers:
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
52 - CPU info:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
53 cat /proc/cpuinfo
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
54 - video card manufacturer and model
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
55 examples:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
56 ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
57 Matrox G400 DH 32MB SGRAM
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
58 - video driver type &amp; version
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
59 examples:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
60 X built-in driver
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
61 nvidia 0.9.623
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
62 Utah-GLX CVS 2001-02-17
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
63 DRI from X 4.0.3
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
64 - sound card type &amp; driver
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
65 examples:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
66 Creative SBLive! Gold with OSS driver from oss.creative.com
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
67 Creative SB16 with OSS drivers of kernel
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
68 GUS PnP with ALSA OSS emulation
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
69 - if you are unsure, attach output of lspci -v
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
70
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
71 For compiling problems/errors:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
72 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
73 3. output of configure/make:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
74 make distclean
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
75 ./configure &amp;>config.log
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
76 ./make &amp;>make.log
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
77 4. these files:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
78 config.h
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
79 config.mak
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
80 libvo/config.mak
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
81
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
82 For playback problems:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
83 ~~~~~~~~~~~~~~~~~~~~~~
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
84 3. Output of mplayer at verbose level 1 (-v)
1668
a5cb1b1d47a8 *** empty log message ***
gabucino
parents: 1612
diff changeset
85 mplayer -v [options] filename &amp;> mplayer.log
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
86
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
87 4. If the problem is specific to one or a few files,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
88 then please upload that file to:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
89 ftp://mplayerhq.hu/MPlayer/incoming/
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
90 Usually first 1-5 MB of the file is enough to reproduce
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
91 the problem, but first you should try it:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
92 dd if=yourfile of=smallfile bs=1k count=1024
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
93 (it will cut first 1MB of 'yourfile' and save to 'smallfile')
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
94 Then try again on this small file, and if bug still exists
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
95 then it's enough to upload this small file.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
96 NEVER send such files via mail! Upload it, and send only
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
97 the path/filename of the file on the FTP.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
98 If the file is accessible on the net, then sending the
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
99 _exact_ URL is enough!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
100
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
101 5. For crashes (segfault, SIGILL, signal 4 etc):
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
102
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
103 If you have coredump of the crash, see 5.a, else see 5.b:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
104
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
105 5.a: Please print us coredump (if it was created).
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
106 Howto:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
107 please create following command file:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
108
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
109 disass $eip-32 $eip+32
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
110 printf "eax=%08lX\n",$eax
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
111 printf "ebx=%08lX\n",$ebx
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
112 printf "ecx=%08lX\n",$ecx
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
113 printf "edx=%08lX\n",$edx
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
114 printf "esp=%08lX\n",$esp
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
115 printf "ebp=%08lX\n",$ebp
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
116 printf "edi=%08lX\n",$edi
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
117 printf "esi=%08lX\n",$esi
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
118
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
119 Then simply execute following command line:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
120 gdb mplayer --core=core -batch --command=command_file >mplayer.bug
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
121
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
122 5.b.: run <B>MPlayer</B> in gdb:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
123 [at root/user shell prompt:]
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
124 # gdb mplayer
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
125 [at gdb prompt:]
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
126 > run -v [options-to-mplayer] filename
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
127 ... (wait until it will crash)
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
128 > bt
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
129 > disass $eip-32 $eip+32
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
130 Send us the full output of the above things!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
131
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
132 In general:
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
133 ~~~~~~~~~~~
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
134 If something is big (logs etc) then it's better to upload to the ftp
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
135 (gzipped), and include only path/filename in the bugreport!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
136
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
137 </PRE>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
138
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
139 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
140
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
141 </HTML>