Mercurial > mplayer.hg
comparison DOCS/bugreports.html @ 5237:99aee378e507
wording patch by Diego & Egger
author | gabucino |
---|---|
date | Thu, 21 Mar 2002 06:32:13 +0000 |
parents | f70791118f90 |
children | 0ba8c5086d11 |
comparison
equal
deleted
inserted
replaced
5236:f8a00b2c9c39 | 5237:99aee378e507 |
---|---|
14 | 14 |
15 <P><B><A NAME=C>Appendix C - How to report bugs</A></B></P> | 15 <P><B><A NAME=C>Appendix C - How to report bugs</A></B></P> |
16 | 16 |
17 <P><B>How to report bugs?</B></P> | 17 <P><B>How to report bugs?</B></P> |
18 | 18 |
19 <P>First, try the latest CVS, maybe your bug is already fixed. CVS download | 19 <P>First of all please try the latest CVS version of mplayer as your bug might |
20 instructions (easy) can be found on our homepage.</P> | 20 already be fixed there. CVS instructions can be found at the bottom of |
21 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">this page</A>.</P> | |
21 | 22 |
22 <P>If it didn't help: read <A HREF="documentation.html#D">Appendix D</A>, and other docs. If your problem isn't | 23 <P>If this did not help please refer to <A HREF="documentation.html#D">Appendix D</A> |
23 known or isn't solved by our instructions, then report the bug:</P> | 24 and the rest of the documentation. If your problem is not known or not solvable by |
25 our instructions, then please report the bug.</P> | |
24 | 26 |
25 <P><B>Where?</B></P> | 27 <P><B>Where to report bugs?</B></P> |
26 | 28 |
27 <P>Subscribe to the mplayer-users mailing list:<BR> | 29 <P>Subscribe to the mplayer-users mailing list:<BR> |
28 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR> | 30 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR> |
29 and send your bugreport to:<BR> | 31 and send your bug report to:<BR> |
30 <A HREF="mailto:mplayer-users@mplayerhq.hu">mplayer-users@mplayerhq.hu</A><BR> | 32 <A HREF="mailto:mplayer-users@mplayerhq.hu">mplayer-users@mplayerhq.hu</A><BR> |
31 We won't CC: so please subscribe!!!</P> | 33 Please note that we will not individually CC (carbon-copy) people so it is a good |
34 idea to subscribe to actually receive your answer.</P> | |
32 | 35 |
33 <P>Don't send bugreports private, directly to author's address!!! | 36 <P>Please do not send bug reports privately to individual developers. This is |
34 We are working together on code, so everyone is interested in it. | 37 community work and thus there might be several people interested in it. |
35 BTW many times other users know the solution (system config probs, | 38 Also sometimes other users already experienced your troubles and have a |
36 bad drivers etc), even when we think it's a bug in our code. | 39 solution in hand how to circumvent a problem even if it is a bug in mplayer |
37 The language of this list is ENGLISH!</P> | 40 code.<BR> |
41 The language of this list is <strong>English</strong>.</P> | |
38 | 42 |
39 <P>Please describe your problem in details, examples etc, and don't | 43 <P>Please describe your problem as detailed as possible with examples etc. |
40 forget to include these:</P> | 44 and do not forget to include this valuable information:</P> |
41 | 45 |
42 <P><B>What?</B></P> | 46 <P><B>What to report?</B></P> |
43 | 47 |
44 <P><B><I>1. The system info what we always want:</I></B></P> | 48 <P><B><I>System Information</I></B></P> |
45 | 49 |
46 <UL> | 50 <UL> |
47 <LI>linux distribution<BR> | 51 <LI>Your Linux distribution or operating system e.g.: |
48 examples:<UL> | 52 <UL> |
49 <LI>RedHat 7.1 | 53 <LI>Red Hat 7.1 |
50 <LI>Slackware 7.0 + devel packs from 7.1 ...</UL> | 54 <LI>Slackware 7.0 + devel packs from 7.1 ... |
55 </UL> | |
51 <LI>kernel version:<BR> | 56 <LI>kernel version:<BR> |
52 <CODE>uname -a</CODE> | 57 <CODE>uname -a</CODE> |
53 <LI>libc version:<BR> | 58 <LI>libc version:<BR> |
54 <CODE>ls -l /lib/libc[.-]*</CODE> | 59 <CODE>ls -l /lib/libc[.-]*</CODE> |
55 <LI>X version:<BR> | 60 <LI>X version:<BR> |
56 <CODE>X -version</CODE> | 61 <CODE>X -version</CODE> |
57 <LI>gcc and ld version:<BR> | 62 <LI>gcc and ld versions:<BR> |
58 <CODE>gcc -v<BR> | 63 <CODE>gcc -v<BR> |
59 ld -v</CODE> | 64 ld -v</CODE> |
60 <LI>binutils version:<BR> | 65 <LI>binutils version:<BR> |
61 <CODE>as --version</CODE> | 66 <CODE>as --version</CODE> |
62 </UL> | 67 </UL> |
63 | 68 |
64 <P><B><I>2. Hardware & drivers:</I></B></P> | 69 <P><B><I>Hardware & drivers</I></B></P> |
65 | 70 |
66 <UL> | 71 <UL> |
67 <LI>CPU info:<BR> | 72 <LI>CPU info (this works on Linux only):<BR> |
68 <CODE>cat /proc/cpuinfo</CODE> | 73 <CODE>cat /proc/cpuinfo</CODE> |
69 <LI>video card manufacturer and model<BR> | 74 <LI>Video card manufacturer and model, e.g.:<BR> |
70 examples:<BR><UL> | 75 <UL> |
71 <LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM | 76 <LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM |
72 <LI>Matrox G400 DH 32MB SGRAM</UL> | 77 <LI>Matrox G400 DH 32MB SGRAM |
73 <LI>video driver type&version<BR> | 78 </UL> |
74 examples:<UL> | 79 <LI>Video driver type & version, e.g.:<BR> |
75 <LI>X built-in driver | 80 <UL> |
76 <LI>nvidia 0.9.623 | 81 <LI>X built-in driver |
77 <LI>Utah-GLX CVS 2001-02-17 | 82 <LI>nVidia 0.9.623 |
78 <LI>DRI from X 4.0.3</UL> | 83 <LI>Utah-GLX CVS 2001-02-17 |
79 <LI>sound card type & driver<BR> | 84 <LI>DRI from X 4.0.3 |
80 examples:<BR><UL> | 85 </UL> |
81 <LI>Creative SBLive! Gold with OSS driver from oss.creative.com | 86 <LI>Sound card type & driver, e.g.:<BR> |
82 <LI>Creative SB16 with OSS drivers of kernel | 87 <UL> |
83 <LI>GUS PnP with ALSA OSS emulation</UL> | 88 <LI>Creative SBLive! Gold with OSS driver from oss.creative.com |
84 <LI>if you are unsure, attach output of lspci -v | 89 <LI>Creative SB16 with kernel OSS drivers |
90 <LI>GUS PnP with ALSA OSS emulation | |
91 </UL> | |
92 <LI>if in doubt include <CODE>lspci -vv</CODE> output on Linux systems | |
85 </UL> | 93 </UL> |
86 | 94 |
87 <P><B>For compiling problems/errors</B></P> | 95 <P><B>For compilation problems/errors</B></P> |
88 | 96 |
89 <P><B><I>3. these files:</I></B></P> | 97 <P><B><I>Please include these files:</I></B></P> |
90 <UL><LI>configure.log | 98 <UL><LI>configure.log |
91 <LI>config.h | 99 <LI>config.h |
92 <LI>config.mak | 100 <LI>config.mak |
93 <LI>libvo/config.mak | 101 <LI>libvo/config.mak |
94 </UL> | 102 </UL> |
95 | 103 |
96 <P><B>For playback problems:</B></P> | 104 <P><B>For playback problems</B></P> |
97 | 105 |
98 <P><B><I>3. Output of mplayer at verbose level 1 (-v)</I></B></P> | 106 <P><B><I>Please include the output of mplayer at verbosity level 1</I></B></P> |
99 <P><CODE> mplayer -v [options] filename &> mplayer.log</CODE></P> | 107 <P><CODE> mplayer -v [options] filename &> mplayer.log</CODE></P> |
100 | |
101 <P><B><I>4. If the problem is specific to one or a few files, | |
102 then please upload that file to:</I></B></P> | |
103 <P><CODE> ftp://mplayerhq.hu/MPlayer/incoming/</CODE></P> | |
104 Also upload a small .txt file with the same name as your file (+ .txt extension), | |
105 containing problem description, mplayer -v file output, and your email address!<BR> | |
106 Usually first 1-5 MB of the file is enough to reproduce | |
107 the problem, but first you should try it: | |
108 <P><CODE> dd if=yourfile of=smallfile bs=1024k count=5</CODE></P> | |
109 (it will cut first 5 MB of 'yourfile' and save to 'smallfile') | |
110 Then try again on this small file, and if bug still exists | |
111 then it's enough to upload this small file.<BR> | |
112 NEVER send such files via mail! Upload it, and send only | |
113 the path/filename of the file on the FTP. | |
114 If the file is accessible on the net, then sending the | |
115 _exact_ URL is enough! | |
116 | 108 |
117 <P><B><I>5. For crashes (segfault, SIGILL, signal 4 etc):</I></B></P> | 109 <P>If your problem is specific to one or more files, then please upload the |
110 offender(s) to:</P> | |
118 | 111 |
119 <P><I>If you have coredump of the crash, see 5.a, else see 5.b:</I></P> | 112 <P> <A HREF="ftp://mplayerhq.hu/MPlayer/incoming/">ftp://mplayerhq.hu/MPlayer/incoming/</A></P> |
120 | 113 |
121 <P><B><I>5.a: Please print us coredump (if it was created).</I></B></P> | 114 <P>Also upload a small text file having the same base name as your file |
115 with a .txt extension. Describe the problem you are having with the | |
116 particular file there and include your email address as well as the output | |
117 of mplayer at verbosity level 1.<BR> | |
118 Usually the first 1-5 MB of a file are enough to reproduce the problem, | |
119 but to be sure we ask you to: | |
120 <P><CODE> dd if=yourfile of=smallfile bs=1024k count=5</CODE></P> | |
122 | 121 |
123 <P>Howto: | 122 <P>It will take the first five megabytes of <STRONG>'your-file'</STRONG> and |
124 please create following command file:</P> | 123 write it to <STRONG>'small-file'</STRONG>.<BR> |
124 Then try again on this small file and if the bug still shows up | |
125 your sample is sufficient for us.<BR> | |
126 Please <STRONG>do not ever</STRONG> send such files via mail! Upload it, | |
127 and send only the path/filename of the file on the FTP-server.<BR> | |
128 If the file is accessible on the net, then sending the | |
129 <STRONG>exact</STRONG> URL is sufficient.</P> | |
130 | |
131 <P><B><I>For crashes</I></B></P> | |
132 | |
133 <P><I>If you have a core dump of the crash continue reading the next paragraph, otherwise skip it.</I></P> | |
134 | |
135 <P><B><I>How to extract meaningful information from a core dump</I></B></P> | |
136 | |
137 <P>Please create following command file:</P> | |
125 | 138 |
126 <P><CODE>disass $eip-32 $eip+32<BR> | 139 <P><CODE>disass $eip-32 $eip+32<BR> |
127 printf "eax=%08lX\n",$eax<BR> | 140 printf "eax=%08lX\n",$eax<BR> |
128 printf "ebx=%08lX\n",$ebx<BR> | 141 printf "ebx=%08lX\n",$ebx<BR> |
129 printf "ecx=%08lX\n",$ecx<BR> | 142 printf "ecx=%08lX\n",$ecx<BR> |
132 printf "ebp=%08lX\n",$ebp<BR> | 145 printf "ebp=%08lX\n",$ebp<BR> |
133 printf "edi=%08lX\n",$edi<BR> | 146 printf "edi=%08lX\n",$edi<BR> |
134 printf "esi=%08lX\n",$esi<BR> | 147 printf "esi=%08lX\n",$esi<BR> |
135 </CODE></P> | 148 </CODE></P> |
136 | 149 |
137 <P>Then simply execute following command line:</P> | 150 <P>Then simply execute the following on your command line:</P> |
138 <P> <CODE>gdb mplayer --core=core -batch --command=command_file >mplayer.bug</CODE></P> | 151 <P> <CODE>gdb mplayer --core=core -batch --command=command_file > mplayer.bug</CODE></P> |
139 | 152 |
140 <P><B><I>5.b.: run MPlayer in gdb:</I></B></P> | 153 <P><B><I>How to conserve information about a reproducible crash</I></B></P> |
141 <P>Re-compile mplayer with debugging code enabled:<BR> | 154 <P>Re-compile mplayer with debugging code enabled:</P> |
142 ./configure --enable-debug<BR> | 155 <P><CODE> ./configure --enable-debug<BR> |
143 make | 156 make</CODE></P> |
144 </P> | 157 and then run mplayer within gdb using: |
145 <P>[at root/user shell prompt:]<BR> | 158 <P><CODE> gdb mplayer</CODE></P> |
146 <CODE># gdb mplayer</CODE><BR> | |
147 [at gdb prompt:]<BR> | |
148 <CODE>> run -v [options-to-mplayer] filename</CODE><BR> | |
149 ... (wait until it will crash)<BR> | |
150 <CODE>> bt</CODE><BR> | |
151 <CODE>> disass $eip-32 $eip+32</CODE><BR> | |
152 Send us the full output of the above things! | |
153 </P> | |
154 | 159 |
155 <P><B>In general:</B></P> | 160 <P>You are now within gdb. Type:</P> |
161 <P><CODE> run -v [options-to-mplayer] filename</code></P> | |
162 and reproduce your crash. As soon as you did it, gdb will | |
163 return you to the command line prompt where you have to enter | |
164 <P><CODE> bt<BR> | |
165 disass $eip-32 $eip+32</CODE></P> | |
166 and send the complete output to us. | |
156 | 167 |
157 <P>If something is big (logs etc) then it's better to upload to the ftp | 168 <P><B>General note</B></P> |
158 (gzipped), and include only path/filename in the bugreport!</P> | |
159 | 169 |
160 <P><B>I know what am I doing...</B></P> | 170 <P>If something is quite big (logs for instance) then it is better to upload |
171 it to the FTP-server in a compressed format (gzip and bzip preferred) and | |
172 include only the path and filename in your bug report.</P> | |
161 | 173 |
162 <P>If you created a proper bugreport following the above steps, and you are | 174 <P><B>I know what I am doing...</B></P> |
163 sure it's mplayer bug, not compiler's problem or broken file, you've already | 175 |
164 readed through docs and you didn't find the solution, your sound drivers are ok, | 176 <P>If you created a proper bug report following the steps above and you are |
165 then you may want to subscribe to the mplayer-advusers list and send your | 177 confident it is a bug in mplayer, not a compiler problem or broken file, |
166 bugreport there to get better and faster answer. But BE WARNED: if you post | 178 you have already read the documentation and you could not find a solution, |
167 newbie or rtfm-type questions there, you'll be immediatelly banned, instead or | 179 your sound drivers are OK, then you might want to subscribe to the |
168 getting answered!!! So don't flame us, subscribe -advusers only if you really | 180 mplayer-advusers list and send your bug report there to get a better and |
169 know what are you doing and you feel you as advanced mplayer user or developer. | 181 faster answer.<BR><BR> |
170 (and about how to subscribe: find it out! if you're really an advanced user, | 182 Please be advised that if you post newbie questions or questions answered |
171 it shouldn't be a problem for you...) | 183 in the manual there, you will be ignored or flamed instead of getting an |
184 appropriate answer.<BR> | |
185 So do not flame us and subscribe to -advusers only if you really know | |
186 what you are doing and feel like being an advanced mplayer user or | |
187 developer. If you meet these criteria it should not be difficult to find | |
188 out how to subscribe... | |
172 </P> | 189 </P> |
173 | 190 |
174 </BODY> | 191 </BODY> |
175 </HTML> | 192 </HTML> |