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