annotate DOCS/xml/en/bugreports.xml @ 18467:1f956f8f881e

remove useless cruft (caused error tz undefined)
author rfelker
date Sat, 13 May 2006 05:56:40 +0000
parents 38e5974fa140
children 18746d502ce2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10111
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <appendix id="bugreports">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>How to report bugs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 Good bug reports are a very valuable contribution to the development of any
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 software project. But just like writing good software, good problem reports
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 involve some work. Please realize that most developers are extremely busy and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 receive obscene amounts of email. So while your feedback is crucial in improving
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
10 <application>MPlayer</application> and very much appreciated, please understand
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
11 that you have to provide <emphasis role="bold">all</emphasis> of the information
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
12 we request and follow the instructions in this document closely.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 </para>
18061
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
14 <sect1 id="bugreports_security">
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
15 <title>Report security releated bugs</title>
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
16 <para>
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
17 In case you have found an exploitable bug and you would like to do the
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
18 right thing and let us fix it before you disclose it, we would be happy
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
19 to get your security advisory at
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
20 <ulink url="mailto:&#115;&#101;&#99;&#117;&#114;&#105;&#116;&#121;&#64;&#109;&#112;&#108;&#97;&#121;&#101;&#114;&#104;&#113;&#46;&#104;&#117;">&#115;&#101;&#99;&#117;&#114;&#105;&#116;&#121;&#64;&#109;&#112;&#108;&#97;&#121;&#101;&#114;&#104;&#113;&#46;&#104;&#117;</ulink>.
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
21 Please add [SECURITY] or [ADVISORY] in the subject.
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
22 Be sure that your report contains complete and detailed analysis of the bug.
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
23 Sending a fix is highly appreciated.
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
24 Please don't delay your report to write proof-of-concept exploit, you can
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
25 send that one with another mail.
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
26 </para>
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
27 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <sect1 id="bugreports_fix">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 <title>How to fix bugs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 If you feel have the necessary skills you are invited to have a go at fixing the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 bug yourself. Or maybe you already did that? Please read
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <ulink url="../../tech/patches.txt">this short document</ulink> to find out how to
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
34 get your code included in <application>MPlayer</application>. The people on the
15029
b0dd473ed38a correct spelling for mailing list names
diego
parents: 12695
diff changeset
35 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">MPlayer-dev-eng</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 mailing list will assist you if you have questions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
38 </sect1>
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
39 <sect1 id="bugreports_regression_test">
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
40 <title>How to do regression testing using CVS</title>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
41 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
42 A problem that can happen sometimes is 'it used to work before, now it
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
43 doesn't anymore...'.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
44 Here is a step by step procedure to try to pinpoint when the problem
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
45 occurred. This is <emphasis role="bold">not</emphasis> for casual users.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
46 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
47 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
48 First, you'd need to fetch MPlayer's source tree from CVS.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
49 Instructions can be found at the bottom of
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17055
diff changeset
50 <ulink url="http://www.mplayerhq.hu/dload.html">this page</ulink>.
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
51 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
52 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
53 You will have now in the main/ directory an image of the CVS tree, on the
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
54 client side.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
55 Now update this image to the date you want:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
56 <screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
57 cd main/
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
58 cvs update -PAd -D "2004-08-23"
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
59 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
60 The date format is YYYY-MM-DD HH:MM:SS.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
61 Using this date format ensure that you will be able to extract patches
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
62 according to the date at which they were committed, as in the
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
63 <ulink url="http://mplayerhq.hu/pipermail/mplayer-cvslog/">MPlayer-cvslog archive</ulink>.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
64 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
65 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
66 Now proceed as for a normal update:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
67 <screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
68 ./configure
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
69 make
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
70 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
71 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
72 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
73 If any non-programmer reads this, the fastest method to get at the point
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
74 where the problem occurred is to use a binary search &mdash; that is,
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
75 search the date of the breackage by repeatedly dividing the search
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
76 interval in half.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
77 For example, if the problem occurred in 2003, start at mid-year, then ask
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
78 "Is the problem already here?".
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
79 If yes, go back to the first of April; if not, go to the first of October,
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
80 and so on.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
81 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
82 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
83 If you have lot of free hard disk space (a full compile currently takes
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
84 100 MB, and around 300-350 MB if debugging symbols are enabled), copy the
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
85 oldest known working version before updating it; this will save time if
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
86 you need to go back.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
87 (It is usually necessary to run 'make distclean' before recompiling an
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
88 earlier version, so if you do not make a backup copy of your original
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
89 source tree, you will have to recompile everything in it when you come
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
90 back to the present.)
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
91 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
92 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
93 When you have found the day where the problem happened, continue the search
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
94 using the mplayer-cvslog archive (sorted by date) and a more precise cvs
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
95 update including hour, minute and second:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
96 <screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
97 cvs update -PAd -D "2004-08-23 15:17:25"
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
98 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
99 This will allow you to easily find the exact patch that did it.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
100 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
101 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
102 If you find the patch that is the cause of the problem, you have almost won;
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
103 report about it to the
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
104 <ulink url="http://bugzilla.mplayerhq.hu/">MPlayer Bugzilla</ulink> or
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
105 subscribe to
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
106 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-users">MPlayer-users</ulink>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
107 and post it there.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
108 There is a chance that the author will jump in to suggest a fix.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
109 You may also look hard at the patch until it is coerced to reveal where
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
110 the bug is :-).
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
111 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
112 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <sect1 id="bugreports_report">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <title>How to report bugs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
116 First of all please try the latest CVS version of <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
117 as your bug might already be fixed there. Development moves extremely fast,
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
118 most problems in official releases are reported within days or even hours, so
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
119 please use <emphasis role="bold">only CVS</emphasis> to report bugs. This
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
120 includes binary packages of <application>MPlayer</application>. CVS
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
121 instructions can be found at the bottom of
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17055
diff changeset
122 <ulink url="http://www.mplayerhq.hu/dload.html">this page</ulink> or in
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 the README. If this did not help please refer to the list of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 <link linkend="bugs">known bugs</link> and the rest of the documentation. If your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 problem is not known or not solvable by our instructions, then please report the bug.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
126 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 Please do not send bug reports privately to individual developers. This is
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 community work and thus there might be several people interested in it. Sometimes
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 other users already experienced your troubles and know how to circumvent a problem
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
132 even if it is a bug in <application>MPlayer</application> code.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
134
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
135 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 Please describe your problem in as much detail as possible. Do a little detective
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 work to narrow down the circumstances under which the problem occurs. Does the bug
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 only show up in certain situations? Is it specific to certain files or file types?
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 Does it occur with only one codec or is it codec independent? Can you reproduce it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 with all output drivers? The more information you provide the better are our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141 chances at fixing your problem. Please do not forget to also include the valuable
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142 information requested below, we will be unable to properly diagnose your problem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 otherwise.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 An excellent and well written guide to asking questions in public forums is
9740
7412751211e0 link fixed
diego
parents: 9675
diff changeset
148 <ulink url="http://www.catb.org/~esr/faqs/smart-questions.html">How To Ask
7412751211e0 link fixed
diego
parents: 9675
diff changeset
149 Questions The Smart Way</ulink> by <ulink url="http://www.catb.org/~esr/">Eric S. Raymond</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 There is another called
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 <ulink url="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152 Bugs Effectively</ulink> by <ulink url="http://www.chiark.greenend.org.uk/~sgtatham/">Simon Tatham</ulink>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 If you follow these guidelines you should be able to get help. But please
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 understand that we all follow the mailing lists voluntarily in our free time. We
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 are very busy and cannot guarantee that you will get a solution for your problem
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 or even an answer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 <sect1 id="bugreports_where">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 <title>Where to report bugs</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 <para>
15029
b0dd473ed38a correct spelling for mailing list names
diego
parents: 12695
diff changeset
164 Subscribe to the MPlayer-users mailing list:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
165 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-users"/>
12622
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
166 and send your bug report to
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
167 <ulink url="mailto:mplayer-users@mplayerhq.hu"/> where you can discuss it.
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
168 </para>
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
169 <para>
12695
845882906af0 grammar/typos pointed out by the Wanderer
diego
parents: 12664
diff changeset
170 If you prefer, you can use our brand-new
12664
a27908f9ddbc shorten description, typo
diego
parents: 12626
diff changeset
171 <ulink url="http://bugzilla.mplayerhq.hu/">Bugzilla</ulink> instead.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
172 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 <para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
174 The language of this list is <emphasis role="bold">English</emphasis>. Please follow the standard
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 <ulink url="http://www.ietf.org/rfc/rfc1855.txt">Netiquette Guidelines</ulink> and
10111
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
176 <emphasis role="bold">do not send HTML mail</emphasis> to any of our mailing lists. You will only get ignored or
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 banned. If you do not know what HTML mail is or why it is evil, read this
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 <ulink url="http://expita.com/nomime.html">fine document</ulink>. It explains all
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 the details and has instructions for turning HTML off. Also note that we will not
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 individually CC (carbon-copy) people so it is a good idea to subscribe to actually
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 receive your answer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
185 <sect1 id="bugreports_what">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 <title>What to report</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 You may need to include log, configuration or sample files in your bug report.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 If some of them are quite big then it is better to upload them to our
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
190 <ulink url="ftp://mplayerhq.hu/MPlayer/incoming/">FTP server</ulink> in a
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
191 compressed format (gzip and bzip2 preferred) and include only the path and file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192 name in your bug report. Our mailing lists have a message size limit of 80k, if
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 you have something bigger you have to compress or upload it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 <sect2 id="bugreports_system">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 <title>System Information</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 Your Linux distribution or operating system and version e.g.:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
202 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <listitem><para>Red Hat 7.1</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
204 <listitem><para>Slackware 7.0 + devel packs from 7.1 ...</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
206 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 kernel version:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
209 <screen>uname -a</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
212 libc version:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 <screen>ls -l /lib/libc[.-]*</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 gcc and ld versions:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
218 gcc -v
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 ld -v
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
220 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 <listitem><para>
10111
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
223 binutils version:
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
224 <screen>
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
225 as --version
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
226 </screen>
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
227 </para></listitem>
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
228 <listitem><para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 If you have problems with fullscreen mode:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
230 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
231 <listitem><para>Window manager type and version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
232 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 If you have problems with XVIDIX:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 <listitem><para>X colour depth:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
238 <screen>xdpyinfo | grep &quot;depth of root&quot;</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
239 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
242 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 If only the GUI is buggy:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
245 <listitem><para>GTK version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
246 <listitem><para>GLIB version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 <listitem><para>libpng version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 <listitem><para>GUI situation in which the bug occurs</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 <sect2 id="bugreports_hardware">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 <title>Hardware and drivers</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 CPU info (this works on Linux only):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 <screen>cat /proc/cpuinfo</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 Video card manufacturer and model, e.g.:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
265 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 <listitem><para>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 <listitem><para>Matrox G400 DH 32MB SGRAM</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
269 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 Video driver type &amp; version, e.g.:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 <listitem><para>X built-in driver</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <listitem><para>nVidia 0.9.623</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 <listitem><para>Utah-GLX CVS 2001-02-17</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 <listitem><para>DRI from X 4.0.3</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 Sound card type &amp; driver, e.g.:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 <listitem><para>Creative SBLive! Gold with OSS driver from oss.creative.com</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 <listitem><para>Creative SB16 with kernel OSS drivers</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 <listitem><para>GUS PnP with ALSA OSS emulation</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 If in doubt include <command>lspci -vv</command> output on Linux systems.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
289 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <sect2 id="bugreports_configure">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 <title>Configure problems</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 If you get errors while running <command>./configure</command>, or autodetection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 of something fails, read <filename>configure.log</filename>. You may find the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 answer there, for example multiple versions of the same library mixed on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 system, or you forgot to install the development package (those with the -dev
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 suffix). If you think there is a bug, include <filename>configure.log</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 in your bug report.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
305
18059
b0cff0860fb9 co_N_pilation to compilation
iive
parents: 17706
diff changeset
306 <sect2 id="bugreports_compilation">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 <title>Compilation problems</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 Please include these files:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <listitem><para>config.h</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312 <listitem><para>config.mak</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
314 Only if compilation fails below one of these directories, include these files:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <listitem><para>Gui/config.mak</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 <listitem><para>libvo/config.mak</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 <listitem><para>libao2/config.mak</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 <sect2 id="bugreports_playback">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
324 <title>Playback problems</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 Please include the output of <application>MPlayer</application> at verbosity level
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 1, but remember to <emphasis role="bold">not truncate the output</emphasis> when
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 you paste it into your mail. The developers need all of the messages to properly
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 diagnose a problem. You can direct the output into a file like this:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 <screen>mplayer -v <replaceable>options</replaceable> <replaceable>filename</replaceable> &gt; mplayer.log 2&gt;&amp;1</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 If your problem is specific to one or more files, then please upload the offender(s) to:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 <ulink url="ftp://mplayerhq.hu/MPlayer/incoming/"/>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 Also upload a small text file having the same base name as your file with a .txt
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 extension. Describe the problem you are having with the particular file there and
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
341 include your email address as well as the output of <application>MPlayer</application>
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
342 at verbosity level 1. Usually the first 1-5 MB of a file are enough to reproduce
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
343 the problem, but to be sure we ask you to:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 <screen>dd if=<replaceable>yourfile</replaceable> of=<replaceable>smallfile</replaceable> bs=1024k count=5</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345 It will take the first five megabytes of '<emphasis role="bold">your-file</emphasis>'
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 and write it to '<emphasis role="bold">small-file</emphasis>'. Then try again on
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
347 this small file and if the bug still shows up your sample is sufficient for us.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348 Please <emphasis role="bold">do not ever</emphasis> send such files via mail!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 Upload it, and send only the path/filename of the file on the FTP-server. If the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 file is accessible on the net, then sending the <emphasis role="bold">exact</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351 URL is sufficient.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 <sect2 id="bugreports_crash">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 <title>Crashes</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 You have to run <application>MPlayer</application> inside <command>gdb</command>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359 and send us the complete output or if you have a <filename>core</filename> dump of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 the crash you can extract useful information from the Core file. Here's how:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
362
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 <sect3 id="bugreports_debug">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 <title>How to conserve information about a reproducible crash</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
366 Recompile <application>MPlayer</application> with debugging code enabled:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368 ./configure --enable-debug=3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369 make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 </screen>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
371 and then run <application>MPlayer</application> within gdb using:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 <screen>gdb ./mplayer</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373 You are now within gdb. Type:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 <screen>run -v <replaceable>options-to-mplayer</replaceable> <replaceable>filename</replaceable></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375 and reproduce your crash. As soon as you did it, gdb will return you to the command
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 line prompt where you have to enter
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 bt
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 disass $pc-32 $pc+32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 info all-registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <sect3 id="bugreports_core">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 <title>How to extract meaningful information from a core dump</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387 <para>
11049
9da833258d9d wording improvement
diego
parents: 10913
diff changeset
388 Create the following command file:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
390 bt
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 disass $pc-32 $pc+32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 info all-registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 </screen>
11049
9da833258d9d wording improvement
diego
parents: 10913
diff changeset
394 Then simply execute this command:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 <screen>gdb mplayer --core=core -batch --command=<replaceable>command_file</replaceable> &gt; mplayer.bug</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
396 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
399 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
400
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401 <sect1 id="bugreports_advusers">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
402 <title>I know what I am doing...</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
403 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 If you created a proper bug report following the steps above and you are confident
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
405 it is a bug in <application>MPlayer</application>, not a compiler problem or broken
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
406 file, you have already read the documentation and you could not find a solution,
15029
b0dd473ed38a correct spelling for mailing list names
diego
parents: 12695
diff changeset
407 your sound drivers are OK, then you might want to subscribe to the MPlayer-advusers
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
408 list and send your bug report there to get a better and faster answer.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 Please be advised that if you post newbie questions or questions answered in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413 manual there, you will be ignored or flamed instead of getting an appropriate answer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 So do not flame us and subscribe to -advusers only if you really know what you are
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
415 doing and feel like being an advanced <application>MPlayer</application> user or
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
416 developer. If you meet these criteria it should not be difficult to find out how to subscribe...
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
417 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
418
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
421 </appendix>