comparison DOCS/bugreports.html @ 8758:ed6cf8b95138

More bug reporting HOWTO links, crash section reordered, compilation section extended, configure section added.
author diego
date Sat, 04 Jan 2003 02:33:09 +0000
parents 8ceb8a8b7244
children 246a4b986d44
comparison
equal deleted inserted replaced
8757:52088761d77e 8758:ed6cf8b95138
56 information you provide the better are our chances at fixing your problem. 56 information you provide the better are our chances at fixing your problem.
57 Please do not forget to also include the valuable information requested below, 57 Please do not forget to also include the valuable information requested below,
58 we will be unable to properly diagnose your problem otherwise.</P> 58 we will be unable to properly diagnose your problem otherwise.</P>
59 59
60 <P>An excellent and well written guide to asking questions in public forums is 60 <P>An excellent and well written guide to asking questions in public forums is
61 <A HREF="http://www.tuxedo.org/~esr/faqs/smart-questions.html">How To Ask 61 <A HREF="http://www.tuxedo.org/~esr/faqs/smart-questions.html">How To Ask Questions The Smart Way</A>
62 Questions The Smart Way</A> by Eric S. Raymond. If you follow these guidelines 62 by <A HREF="http://www.tuxedo.org/~esr/">Eric S. Raymond</A>. There is another
63 you should be safe. But please understand that we all follow the mailing lists 63 called
64 voluntarily in our free time. We are very busy and cannot guarantee that you 64 <A HREF="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</A>
65 will get a solution for your problem or even an answer.</P> 65 by <A HREF="http://www.chiark.greenend.org.uk/~sgtatham/">Simon Tatham</A>. If
66 you follow these guidelines you should be able to get help. But please
67 understand that we all follow the mailing lists voluntarily in our free time.
68 We are very busy and cannot guarantee that you will get a solution for your
69 problem or even an answer.</P>
66 70
67 71
68 <H3>Where to report bugs?</H3> 72 <H3>Where to report bugs?</H3>
69 73
70 <P>Subscribe to the mplayer-users mailing list:<BR> 74 <P>Subscribe to the mplayer-users mailing list:<BR>
85 <H3>What to report?</H3> 89 <H3>What to report?</H3>
86 90
87 <H4>System Information:</H4> 91 <H4>System Information:</H4>
88 92
89 <UL> 93 <UL>
90 <LI>Your Linux distribution or operating system e.g.: 94 <LI>Your Linux distribution or operating system and version e.g.:
91 <UL> 95 <UL>
92 <LI>Red Hat 7.1</LI> 96 <LI>Red Hat 7.1</LI>
93 <LI>Slackware 7.0 + devel packs from 7.1 ...</LI> 97 <LI>Slackware 7.0 + devel packs from 7.1 ...</LI>
94 </UL> 98 </UL>
95 </LI> 99 </LI>
153 <H4>For compilation problems/errors</H4> 157 <H4>For compilation problems/errors</H4>
154 158
155 Please include these files: 159 Please include these files:
156 160
157 <UL> 161 <UL>
158 <LI>configure.log</LI> 162 <LI><CODE>config.h</CODE></LI>
159 <LI>config.h</LI> 163 <LI><CODE>config.mak</CODE></LI>
160 <LI>config.mak</LI> 164 </UL>
161 <LI>libvo/config.mak</LI> 165
162 </UL> 166 Only if compilation fails below one of these directories, include these files:
167
168 <UL>
169 <LI><CODE>Gui/config.mak</CODE></LI>
170 <LI><CODE>libvo/config.mak</CODE></LI>
171 <LI><CODE>libao2/config.mak</CODE></LI>
172 </UL>
173
174
175 <H4>For configure problems</H4>
176
177 Include <CODE>configure.log</CODE>.
163 178
164 179
165 <H4>For playback problems</H4> 180 <H4>For playback problems</H4>
166 181
167 <P>Please include the output of MPlayer at verbosity level 1, but 182 <P>Please include the output of MPlayer at verbosity level 1, but
193 sufficient.</P> 208 sufficient.</P>
194 209
195 210
196 <H4>For crashes</H4> 211 <H4>For crashes</H4>
197 212
198 <P>If you have a core dump of the crash continue reading the next paragraph, 213 <P>You have to run MPlayer inside <CODE>gdb</CODE> and send us the complete
199 otherwise skip it.</P> 214 output or if you have a core dump of the crash you can extract useful
215 information from the <CODE>Core</CODE> file. Here's how:</P>
216
217 <H4>How to conserve information about a reproducible crash</H4>
218
219 Recompile MPlayer with debugging code enabled:
220
221 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;./configure --enable-debug=3<BR>
222 &nbsp;&nbsp;&nbsp;&nbsp;make</CODE></P>
223
224 and then run MPlayer within gdb using:
225
226 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;gdb ./mplayer</CODE></P>
227
228 You are now within gdb. Type:
229
230 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;run -v [options-to-mplayer] filename</code></P>
231
232 and reproduce your crash. As soon as you did it, gdb will
233 return you to the command line prompt where you have to enter
234
235 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;bt<BR>
236 &nbsp;&nbsp;&nbsp;&nbsp;disass $pc-32 $pc+32</CODE></P>
200 237
201 238
202 <H4>How to extract meaningful information from a core dump</H4> 239 <H4>How to extract meaningful information from a core dump</H4>
203 240
204 <P>Please create the following command file:</P> 241 <P>Please create the following command file:</P>
207 info all-registers</CODE></P> 244 info all-registers</CODE></P>
208 245
209 <P>Then simply execute the following on your command line:</P> 246 <P>Then simply execute the following on your command line:</P>
210 247
211 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>gdb mplayer --core=core -batch --command=command_file &gt; mplayer.bug</CODE></P> 248 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>gdb mplayer --core=core -batch --command=command_file &gt; mplayer.bug</CODE></P>
212
213
214 <H4>How to conserve information about a reproducible crash</H4>
215
216 Recompile MPlayer with debugging code enabled:
217
218 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;./configure --enable-debug=3<BR>
219 &nbsp;&nbsp;&nbsp;&nbsp;make</CODE></P>
220
221 and then run MPlayer within gdb using:
222
223 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;gdb ./mplayer</CODE></P>
224
225 You are now within gdb. Type:
226
227 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;run -v [options-to-mplayer] filename</code></P>
228
229 and reproduce your crash. As soon as you did it, gdb will
230 return you to the command line prompt where you have to enter
231
232 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;bt<BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;disass $pc-32 $pc+32</CODE></P>
234
235 and send the complete output to us.
236 249
237 250
238 <H3>General note</H3> 251 <H3>General note</H3>
239 252
240 <P>If something is quite big (logs for instance) then it is better to upload 253 <P>If something is quite big (logs for instance) then it is better to upload