Mercurial > mplayer.hg
annotate DOCS/bugreports.html @ 7100:9e641d749832
Cosmetics: Indented code and inserted empty lines.
author | diego |
---|---|
date | Tue, 27 Aug 2002 21:00:39 +0000 |
parents | 3274d0725fde |
children | ed54a7bba268 |
rev | line source |
---|---|
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1612 | 2 <HTML> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4058
diff
changeset
|
3 |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4058
diff
changeset
|
4 <HEAD> |
6882
f3f87f6bf5cf
Added a uniform title: something - MPlayer - The Movie Player for Linux.
diego
parents:
6866
diff
changeset
|
5 <TITLE>Bug reporting - MPlayer - The Movie Player for Linux</TITLE> |
6391 | 6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css"> |
6409 | 7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4058
diff
changeset
|
8 </HEAD> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4058
diff
changeset
|
9 |
6409 | 10 <BODY> |
1704 | 11 |
1612 | 12 |
1682 | 13 <P><B><A NAME=C>Appendix C - How to report bugs</A></B></P> |
1612 | 14 |
6866
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
15 <P><B>How to fix bugs</B></P> |
1612 | 16 |
6445 | 17 <P>If you feel have the necessary skills you are invited to have a go at fixing |
7100 | 18 the bug yourself. Or maybe you already did that? Please read |
19 <A HREF="tech/patches.txt">this short document</A> to find out how to get | |
20 your code included in <B>MPlayer</B>. The people on the | |
21 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">mplayer-dev-eng</A> | |
22 mailing list will assist you if you have questions.</P> | |
6866
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
23 |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
24 <P><B>How to report bugs</B></P> |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
25 |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
26 <P>First of all please try the latest CVS version of <B>MPlayer</B> as your bug |
7100 | 27 might already be fixed there. CVS instructions can be found at the bottom of |
28 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">this page</A> or in the | |
29 README. If this did not help please refer to | |
30 <A HREF="documentation.html#known_bugs">the list of known bugs</A> and the | |
31 rest of the documentation. If your problem is not known or not solvable by our | |
32 instructions, then please report the bug.</P> | |
6866
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
33 |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
34 <P>Please do not send bug reports privately to individual developers. This is |
7100 | 35 community work and thus there might be several people interested in it. |
36 Sometimes other users already experienced your troubles and know how to | |
37 circumvent a problem even if it is a bug in <B>MPlayer</B> code.</P> | |
6866
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
38 |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
39 <P>Please describe your problem in as much detail as possible. Do a little |
7100 | 40 detective work to narrow down the circumstances under which the problem |
41 occurs. Does the bug only show up in certain situations? Is it specific to | |
42 certain files or file types? Does it occur with only one codec or is it codec | |
43 independent? Can you reproduce it with all output drivers? The more | |
44 information you provide the better are our chances at fixing your problem. | |
45 Please do not forget to also include the valuable information requested below, | |
46 we will be unable to properly diagnose your problem otherwise.</P> | |
6866
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
47 |
1a5858256659
The endless quest to force people into writing good bug reports part 2342:
diego
parents:
6783
diff
changeset
|
48 <P>An excellent and well written guide to asking questions in public forums is |
7100 | 49 <A HREF="http://www.tuxedo.org/~esr/faqs/smart-questions.html">How To Ask |
50 Questions The Smart Way</A> by Eric S. Raymond. If you follow these guidelines | |
51 you should be safe. But please understand that we all follow the mailing lists | |
52 voluntarily in our free time. We are very busy and cannot guarantee that you | |
53 will get a solution for your problem or even an answer.</P> | |
6445 | 54 |
5237 | 55 <P><B>Where to report bugs?</B></P> |
1612 | 56 |
1682 | 57 <P>Subscribe to the mplayer-users mailing list:<BR> |
7100 | 58 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR> |
59 and send your bug report to:<BR> | |
60 <A HREF="mailto:mplayer-users@mplayerhq.hu">mplayer-users@mplayerhq.hu</A></P> | |
6470 | 61 |
62 <P>The language of this list is <B>English</B>. Please follow the standard | |
7100 | 63 <A HREF="http://www.ietf.org/rfc/rfc1855.txt">Netiquette Guidelines</A> and |
64 <B>do not send HTML mail</B> to any of our mailing lists. You will only get | |
65 ignored or banned. Also note that we will not individually CC (carbon-copy) | |
66 people so it is a good idea to subscribe to actually receive your answer.</P> | |
1682 | 67 |
5237 | 68 <P><B>What to report?</B></P> |
1682 | 69 |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
70 <P><B>System Information</B></P> |
1612 | 71 |
1682 | 72 <UL> |
7100 | 73 <LI>Your Linux distribution or operating system e.g.: |
5237 | 74 <UL> |
7100 | 75 <LI>Red Hat 7.1</LI> |
76 <LI>Slackware 7.0 + devel packs from 7.1 ...</LI> | |
5237 | 77 </UL> |
7100 | 78 </LI> |
79 <LI>kernel version:<BR> | |
80 <CODE>uname -a</CODE></LI> | |
81 <LI>libc version:<BR> | |
82 <CODE>ls -l /lib/libc[.-]*</CODE></LI> | |
83 <LI>X version:<BR> | |
84 <CODE>X -version</CODE></LI> | |
85 <LI>gcc and ld versions:<BR> | |
86 <CODE>gcc -v<BR> | |
87 ld -v</CODE></LI> | |
88 <LI>binutils version:<BR> | |
89 <CODE>as --version</CODE></LI> | |
90 <LI>If you have problems with fullscreen mode: | |
91 <UL> | |
92 <LI>Window manager type and version</LI> | |
93 </UL> | |
94 </LI> | |
95 <LI>If only the GUI is buggy: | |
96 <UL> | |
97 <LI>GTK version</LI> | |
98 <LI>GLIB version</LI> | |
99 <LI>libpng version</LI> | |
100 <LI>GUI situation in which the bug occurs</LI> | |
101 </UL> | |
102 </LI> | |
1682 | 103 </UL> |
104 | |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
105 <P><B>Hardware & drivers</B></P> |
1612 | 106 |
1682 | 107 <UL> |
7100 | 108 <LI>CPU info (this works on Linux only):<BR> |
6055 | 109 <CODE>cat /proc/cpuinfo</CODE></LI> |
7100 | 110 <LI>Video card manufacturer and model, e.g.: |
5237 | 111 <UL> |
7100 | 112 <LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM</LI> |
113 <LI>Matrox G400 DH 32MB SGRAM</LI> | |
5237 | 114 </UL> |
7100 | 115 </LI> |
116 <LI>Video driver type & version, e.g.: | |
5237 | 117 <UL> |
7100 | 118 <LI>X built-in driver</LI> |
119 <LI>nVidia 0.9.623</LI> | |
120 <LI>Utah-GLX CVS 2001-02-17</LI> | |
121 <LI>DRI from X 4.0.3</LI> | |
5237 | 122 </UL> |
7100 | 123 </LI> |
124 <LI>Sound card type & driver, e.g.: | |
5237 | 125 <UL> |
7100 | 126 <LI>Creative SBLive! Gold with OSS driver from oss.creative.com</LI> |
127 <LI>Creative SB16 with kernel OSS drivers</LI> | |
128 <LI>GUS PnP with ALSA OSS emulation</LI> | |
5237 | 129 </UL> |
7100 | 130 </LI> |
131 <LI>If in doubt include <CODE>lspci -vv</CODE> output on Linux systems.</LI> | |
1682 | 132 </UL> |
1612 | 133 |
5237 | 134 <P><B>For compilation problems/errors</B></P> |
1682 | 135 |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
136 <P><B>Please include these files:</B></P> |
6055 | 137 <UL> |
138 <LI>configure.log</LI> | |
139 <LI>config.h</LI> | |
140 <LI>config.mak</LI> | |
141 <LI>libvo/config.mak</LI> | |
1682 | 142 </UL> |
143 | |
5237 | 144 <P><B>For playback problems</B></P> |
1682 | 145 |
6470 | 146 <P>Please include the output of <B>MPlayer</B> at verbosity level 1, but |
147 remember to <B>not truncate the output</B> when you paste it into your mail. The | |
148 developers need all of the messages to properly diagnose a problem. You can | |
149 direct the output into a file like this:</P> | |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
150 |
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
151 <P><CODE> mplayer -v [options] [filename] &> mplayer.log</CODE></P> |
5237 | 152 |
153 <P>If your problem is specific to one or more files, then please upload the | |
154 offender(s) to:</P> | |
155 | |
156 <P> <A HREF="ftp://mplayerhq.hu/MPlayer/incoming/">ftp://mplayerhq.hu/MPlayer/incoming/</A></P> | |
157 | |
158 <P>Also upload a small text file having the same base name as your file | |
159 with a .txt extension. Describe the problem you are having with the | |
160 particular file there and include your email address as well as the output | |
6470 | 161 of <B>MPlayer</B> at verbosity level 1.<BR> |
5237 | 162 Usually the first 1-5 MB of a file are enough to reproduce the problem, |
163 but to be sure we ask you to: | |
7100 | 164 |
5237 | 165 <P><CODE> dd if=yourfile of=smallfile bs=1024k count=5</CODE></P> |
1612 | 166 |
5237 | 167 <P>It will take the first five megabytes of <STRONG>'your-file'</STRONG> and |
7100 | 168 write it to <STRONG>'small-file'</STRONG>.<BR> |
169 Then try again on this small file and if the bug still shows up | |
170 your sample is sufficient for us.<BR> | |
171 Please <STRONG>do not ever</STRONG> send such files via mail! Upload it, | |
172 and send only the path/filename of the file on the FTP-server.<BR> | |
173 If the file is accessible on the net, then sending the | |
174 <STRONG>exact</STRONG> URL is sufficient.</P> | |
1612 | 175 |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
176 <P><B>For crashes</B></P> |
5237 | 177 |
6470 | 178 <P>If you have a core dump of the crash continue reading the next paragraph, |
7100 | 179 otherwise skip it.</P> |
1682 | 180 |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
181 <P><B>How to extract meaningful information from a core dump</B></P> |
5237 | 182 |
183 <P>Please create following command file:</P> | |
1612 | 184 |
1682 | 185 <P><CODE>disass $eip-32 $eip+32<BR> |
7100 | 186 printf "eax=%08lX\n",$eax<BR> |
187 printf "ebx=%08lX\n",$ebx<BR> | |
188 printf "ecx=%08lX\n",$ecx<BR> | |
189 printf "edx=%08lX\n",$edx<BR> | |
190 printf "esp=%08lX\n",$esp<BR> | |
191 printf "ebp=%08lX\n",$ebp<BR> | |
192 printf "edi=%08lX\n",$edi<BR> | |
193 printf "esi=%08lX\n",$esi<BR> | |
194 </CODE></P> | |
1612 | 195 |
5237 | 196 <P>Then simply execute the following on your command line:</P> |
7100 | 197 |
5237 | 198 <P> <CODE>gdb mplayer --core=core -batch --command=command_file > mplayer.bug</CODE></P> |
199 | |
6387
26c35aa7e1d8
Remind people to NOT cut mplayer output, removed italics that make text
diego
parents:
6055
diff
changeset
|
200 <P><B>How to conserve information about a reproducible crash</B></P> |
7100 | 201 |
6470 | 202 <P>Recompile <B>MPlayer</B> with debugging code enabled:</P> |
7100 | 203 |
5347 | 204 <P><CODE> ./configure --enable-debug=3<BR> |
7100 | 205 make</CODE></P> |
206 | |
6470 | 207 and then run <B>MPlayer</B> within gdb using: |
5237 | 208 <P><CODE> gdb mplayer</CODE></P> |
1612 | 209 |
5237 | 210 <P>You are now within gdb. Type:</P> |
7100 | 211 |
5237 | 212 <P><CODE> run -v [options-to-mplayer] filename</code></P> |
7100 | 213 |
5237 | 214 and reproduce your crash. As soon as you did it, gdb will |
215 return you to the command line prompt where you have to enter | |
7100 | 216 |
5237 | 217 <P><CODE> bt<BR> |
7100 | 218 disass $eip-32 $eip+32</CODE></P> |
219 | |
5237 | 220 and send the complete output to us. |
221 | |
222 <P><B>General note</B></P> | |
1612 | 223 |
5237 | 224 <P>If something is quite big (logs for instance) then it is better to upload |
7100 | 225 it to the FTP server in a compressed format (gzip and bzip preferred) and |
226 include only the path and filename in your bug report.</P> | |
1612 | 227 |
5237 | 228 <P><B>I know what I am doing...</B></P> |
3228 | 229 |
5237 | 230 <P>If you created a proper bug report following the steps above and you are |
7100 | 231 confident it is a bug in <B>MPlayer</B>, not a compiler problem or broken |
232 file, you have already read the documentation and you could not find a | |
233 solution, your sound drivers are OK, then you might want to subscribe to the | |
234 mplayer-advusers list and send your bug report there to get a better and | |
235 faster answer.<BR><BR> | |
236 Please be advised that if you post newbie questions or questions answered | |
237 in the manual there, you will be ignored or flamed instead of getting an | |
238 appropriate answer.<BR> | |
239 So do not flame us and subscribe to -advusers only if you really know | |
240 what you are doing and feel like being an advanced <B>MPlayer</B> user or | |
241 developer. If you meet these criteria it should not be difficult to find | |
242 out how to subscribe...</P> | |
3228 | 243 |
1612 | 244 </BODY> |
245 </HTML> |