annotate DOCS/xml/en/bugreports.xml @ 27078:7f6bec0700aa

sync w/r27107, patch by C¸«±dric Viou
author gpoirier
date Fri, 20 Jun 2008 20:11:57 +0000
parents b89c59df8ba6
children 203b81111882
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 19709
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
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>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
5
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 Good bug reports are a very valuable contribution to the development of any
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 software project. But just like writing good software, good problem reports
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 involve some work. Please realize that most developers are extremely busy and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 receive obscene amounts of email. So while your feedback is crucial in improving
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
11 <application>MPlayer</application> and very much appreciated, please understand
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
12 that you have to provide <emphasis role="bold">all</emphasis> of the information
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
13 we request and follow the instructions in this document closely.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
15
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
16
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
17 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
18
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
19
18061
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
20 <sect1 id="bugreports_security">
26958
b89c59df8ba6 Run the whole documentation through ispell.
diego
parents: 23207
diff changeset
21 <title>Report security related bugs</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
22
18061
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
23 <para>
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
24 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
25 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
26 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
27 <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
28 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
29 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
30 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
31 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
32 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
33 </para>
38e5974fa140 Explain how security issues should be reported, based on a patch by Ivann, featuring Reimar's suggestions
gpoirier
parents: 18059
diff changeset
34 </sect1>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
35
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
36
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
37 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
38
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
39
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 <sect1 id="bugreports_fix">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <title>How to fix bugs</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
42
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 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
45 bug yourself. Or maybe you already did that? Please read
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
46 <ulink url="../../tech/patches.txt">this short document</ulink> to find out how
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
47 to get your code included in <application>MPlayer</application>. The people on
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
48 the
19709
2c8c28415e89 fix some more mailman links
kraymer
parents: 19679
diff changeset
49 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">MPlayer-dev-eng</ulink>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 mailing list will assist you if you have questions.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 </sect1>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
53
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
54
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
55 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
56
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
57
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
58 <sect1 id="bugreports_regression_test">
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
59 <title>How to do regression testing using Subversion</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
60
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
61 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
62 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
63 doesn't anymore...'.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
64 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
65 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
66 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
67
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
68 <para>
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
69 First, you'd need to fetch MPlayer's source tree from Subversion.
21744
060503195b58 Directly point to the Subversion instructions.
diego
parents: 21596
diff changeset
70 Instructions can be found in the
060503195b58 Directly point to the Subversion instructions.
diego
parents: 21596
diff changeset
71 <ulink url="http://www.mplayerhq.hu/design7/dload.html#svn">Subversion section of the download page</ulink>.
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
72 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
73
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
74 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
75 You will have now in the mplayer/ directory an image of the Subversion tree, on
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
76 the client side.
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
77 Now update this image to the date you want:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
78 <screen>
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
79 cd mplayer/
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
80 svn update -r {"2004-08-23"}
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
81 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
82 The date format is YYYY-MM-DD HH:MM:SS.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
83 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
84 according to the date at which they were committed, as in the
19679
8accad9b453f Fix mailing list URLs.
diego
parents: 19581
diff changeset
85 <ulink url="http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/">MPlayer-cvslog archive</ulink>.
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
86 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
87
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
88 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
89 Now proceed as for a normal update:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
90 <screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
91 ./configure
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
92 make
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
93 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
94 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
95
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
96 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
97 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
98 where the problem occurred is to use a binary search &mdash; that is,
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
99 search the date of the breakage by repeatedly dividing the search
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
100 interval in half.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
101 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
102 "Is the problem already here?".
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
103 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
104 and so on.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
105 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
106
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
107 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
108 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
109 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
110 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
111 you need to go back.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
112 (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
113 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
114 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
115 back to the present.)
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
116 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
117
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
118 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
119 When you have found the day where the problem happened, continue the search
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
120 using the mplayer-cvslog archive (sorted by date) and a more precise svn
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
121 update including hour, minute and second:
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
122 <screen>
18599
d4682b259dbf xml docs: CVS --> Subversion
kraymer
parents: 18551
diff changeset
123 svn update -r {"2004-08-23 15:17:25"}
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
124 </screen>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
125 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
126 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
127
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
128 <para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
129 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
130 report about it to the
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
131 <ulink url="http://bugzilla.mplayerhq.hu/">MPlayer Bugzilla</ulink> or
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
132 subscribe to
19709
2c8c28415e89 fix some more mailman links
kraymer
parents: 19679
diff changeset
133 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users">MPlayer-users</ulink>
17055
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
134 and post it there.
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
135 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
136 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
137 the bug is :-).
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
138 </para>
0e521e6bd3c6 Explain how to make regression tests with CVS
gpoirier
parents: 15029
diff changeset
139 </sect1>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
140
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
141
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
142 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
143
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
144
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145 <sect1 id="bugreports_report">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 <title>How to report bugs</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
147
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
149 First of all please try the latest Subversion version of
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
150 <application>MPlayer</application>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
151 as your bug might already be fixed there. Development moves extremely fast,
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
152 most problems in official releases are reported within days or even hours,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
153 so please use <emphasis role="bold">only Subversion</emphasis> to report bugs.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
154 This includes binary packages of <application>MPlayer</application>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
155 Subversion instructions can be found at the bottom of
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 17055
diff changeset
156 <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
157 the README. If this did not help please refer to the list of
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
158 <link linkend="bugs">known bugs</link> and the rest of the documentation.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
159 If your problem is not known or not solvable by our instructions,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
160 then please report the bug.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 Please do not send bug reports privately to individual developers. This is
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
165 community work and thus there might be several people interested in it.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
166 Sometimes other users already experienced your troubles and know how to
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
167 circumvent a problem even if it is a bug in <application>MPlayer</application>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
168 code.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
171 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
172 Please describe your problem in as much detail as possible. Do a little
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
173 detective work to narrow down the circumstances under which the problem occurs.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
174 Does the bug only show up in certain situations? Is it specific to certain
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
175 files or file types? Does it occur with only one codec or is it codec
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
176 independent? Can you reproduce it with all output drivers? The more information
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
177 you provide the better are our chances at fixing your problem. Please do not
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
178 forget to also include the valuable information requested below, we will be
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
179 unable to properly diagnose your problem otherwise.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181
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 An excellent and well written guide to asking questions in public forums is
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
184 <ulink url="http://www.catb.org/~esr/faqs/smart-questions.html">How To Ask Questions The Smart Way</ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
185 by <ulink url="http://www.catb.org/~esr/">Eric S. Raymond</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
186 There is another called
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
187 <ulink url="http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">How to Report Bugs Effectively</ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
188 by <ulink url="http://www.chiark.greenend.org.uk/~sgtatham/">Simon Tatham</ulink>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
189 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
190 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
191 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
192 or even an answer.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
194 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
196
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
197 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
198
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 <sect1 id="bugreports_where">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 <title>Where to report bugs</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
202
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
203 <para>
15029
b0dd473ed38a correct spelling for mailing list names
diego
parents: 12695
diff changeset
204 Subscribe to the MPlayer-users mailing list:
19709
2c8c28415e89 fix some more mailman links
kraymer
parents: 19679
diff changeset
205 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users"/>
12622
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
206 and send your bug report to
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
207 <ulink url="mailto:mplayer-users@mplayerhq.hu"/> where you can discuss it.
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
208 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
209
12622
3860159f1591 bugzilla
alex
parents: 11540
diff changeset
210 <para>
12695
845882906af0 grammar/typos pointed out by the Wanderer
diego
parents: 12664
diff changeset
211 If you prefer, you can use our brand-new
12664
a27908f9ddbc shorten description, typo
diego
parents: 12626
diff changeset
212 <ulink url="http://bugzilla.mplayerhq.hu/">Bugzilla</ulink> instead.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
214
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
215 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
216 The language of this list is <emphasis role="bold">English</emphasis>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
217 Please follow the standard
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
218 <ulink url="http://www.ietf.org/rfc/rfc1855.txt">Netiquette Guidelines</ulink>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
219 and <emphasis role="bold">do not send HTML mail</emphasis> to any of our
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
220 mailing lists. You will only get ignored or
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
221 banned. If you do not know what HTML mail is or why it is evil, read this
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
222 <ulink url="http://expita.com/nomime.html">fine document</ulink>.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
223 It explains all the details and has instructions for turning HTML off. Also
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
224 note that we will not individually CC (carbon-copy) people so it is a good idea
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
225 to subscribe to actually receive your answer.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
229
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
230 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
231
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
232
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
233 <sect1 id="bugreports_what">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 <title>What to report</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
235
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 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
238 If some of them are quite big then it is better to upload them to our
19581
4a5a0986fc17 ftp.mplayerhq.hu --> upload.mplayerhq.hu
diego
parents: 19034
diff changeset
239 <ulink url="ftp://upload.mplayerhq.hu/MPlayer/incoming/">FTP server</ulink> in a
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
240 compressed format (gzip and bzip2 preferred) and include only the path and file
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
241 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
242 you have something bigger you have to compress or upload it.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
243 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
244
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
245 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
246
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 <sect2 id="bugreports_system">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 <title>System Information</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
249
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250 <para>
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 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
253 Your Linux distribution or operating system and version e.g.:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 <listitem><para>Red Hat 7.1</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 <listitem><para>Slackware 7.0 + devel packs from 7.1 ...</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
258 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
260 kernel version:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
261 <screen>uname -a</screen>
9675
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>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
264 libc version:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
265 <screen>ls -l /lib/libc[.-]*</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
268 gcc and ld versions:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
269 <screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 gcc -v
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
271 ld -v<!--
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
272 --></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
275 binutils version:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
276 <screen>as --version</screen>
10111
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
277 </para></listitem>
a570a78537aa various fixes and updates
nicolas
parents: 9740
diff changeset
278 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
279 If you have problems with fullscreen mode:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 <listitem><para>Window manager type and version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
282 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
285 If you have problems with XVIDIX:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
287 <listitem><para>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
288 X colour depth:
21596
f551403d82a9 replace &quot; with ", better readability
torinthiel
parents: 21521
diff changeset
289 <screen>xdpyinfo | grep "depth of root"</screen>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
290 </para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
293 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
294 If only the GUI is buggy:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
295 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
296 <listitem><para>GTK version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 <listitem><para>GLIB version</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 <listitem><para>GUI situation in which the bug occurs</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
302 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
304
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
305 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
306
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 <sect2 id="bugreports_hardware">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308 <title>Hardware and drivers</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
309
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
312 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
313 CPU info (this works on Linux only):
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
314 <screen>cat /proc/cpuinfo</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
315 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
317 Video card manufacturer and model, e.g.:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 <listitem><para>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 <listitem><para>Matrox G400 DH 32MB SGRAM</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
321 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
323 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
324 Video driver type &amp; version, e.g.:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 <listitem><para>X built-in driver</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327 <listitem><para>nVidia 0.9.623</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 <listitem><para>Utah-GLX CVS 2001-02-17</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 <listitem><para>DRI from X 4.0.3</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
333 Sound card type &amp; driver, e.g.:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
335 <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
336 <listitem><para>Creative SB16 with kernel OSS drivers</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
337 <listitem><para>GUS PnP with ALSA OSS emulation</para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 <listitem><para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
341 If in doubt include <command>lspci -vv</command> output on Linux systems.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
345 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
347 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
348
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 <sect2 id="bugreports_configure">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 <title>Configure problems</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
351
9675
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 If you get errors while running <command>./configure</command>, or autodetection
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354 of something fails, read <filename>configure.log</filename>. You may find the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355 answer there, for example multiple versions of the same library mixed on your
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356 system, or you forgot to install the development package (those with the -dev
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 suffix). If you think there is a bug, include <filename>configure.log</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
358 in your bug report.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361
18059
b0cff0860fb9 co_N_pilation to compilation
iive
parents: 17706
diff changeset
362 <sect2 id="bugreports_compilation">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 <title>Compilation problems</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
364
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 Please include these files:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 <itemizedlist>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
368 <listitem><para>config.h</para></listitem>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
369 <listitem><para>config.mak</para></listitem>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
374 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
375
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 <sect2 id="bugreports_playback">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 <title>Playback problems</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
378
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
380 Please include the output of <application>MPlayer</application> at verbosity
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
381 level 1, but remember to
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
382 <emphasis role="bold">not truncate the output</emphasis> when
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 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
384 diagnose a problem. You can direct the output into a file like this:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
385 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
386 mplayer -v <replaceable>options</replaceable> <replaceable>filename</replaceable> &gt; mplayer.log 2&gt;&amp;1
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
387 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
390 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
391 If your problem is specific to one or more files,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
392 then please upload the offender(s) to:
19581
4a5a0986fc17 ftp.mplayerhq.hu --> upload.mplayerhq.hu
diego
parents: 19034
diff changeset
393 <ulink url="ftp://upload.mplayerhq.hu/MPlayer/incoming/"/>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395
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 Also upload a small text file having the same base name as your file with a .txt
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
398 extension. Describe the problem you are having with the particular file there
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
399 and include your email address as well as the output of
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
400 <application>MPlayer</application> at verbosity level 1.
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
401 Usually the first 1-5 MB of a file are enough to reproduce
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
402 the problem, but to be sure we ask you to:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
403 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
404 dd if=<replaceable>yourfile</replaceable> of=<replaceable>smallfile</replaceable> bs=1024k count=5
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
405 </screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
406 It will take the first five megabytes of
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
407 '<emphasis role="bold">your-file</emphasis>' and write it to
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
408 '<emphasis role="bold">small-file</emphasis>'. Then try again on
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 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
410 Please <emphasis role="bold">do not ever</emphasis> send such files via mail!
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411 Upload it, and send only the path/filename of the file on the FTP-server. If the
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
412 file is accessible on the net, then sending the
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
413 <emphasis role="bold">exact</emphasis> URL is sufficient.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
417 <!-- ********** -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
418
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 <sect2 id="bugreports_crash">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 <title>Crashes</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
421
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
422 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423 You have to run <application>MPlayer</application> inside <command>gdb</command>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
424 and send us the complete output or if you have a <filename>core</filename> dump
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
425 of the crash you can extract useful information from the Core file. Here's how:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
428
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
429 <sect3 id="bugreports_debug">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 <title>How to conserve information about a reproducible crash</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
431
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
433 Recompile <application>MPlayer</application> with debugging code enabled:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
435 ./configure --enable-debug=3
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
436 make
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
437 </screen>
11540
d480f7e36b74 <application> attack
wight
parents: 11049
diff changeset
438 and then run <application>MPlayer</application> within gdb using:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
439 <screen>gdb ./mplayer</screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 You are now within gdb. Type:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
441 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
442 run -v <replaceable>options-to-mplayer</replaceable> <replaceable>filename</replaceable>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
443 </screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
444 and reproduce your crash. As soon as you did it, gdb will return you to the
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
445 command line prompt where you have to enter
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447 bt
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 disass $pc-32 $pc+32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
449 info all-registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
450 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
452 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
453
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
454
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
455 <sect3 id="bugreports_core">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
456 <title>How to extract meaningful information from a core dump</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
457
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
458 <para>
11049
9da833258d9d wording improvement
diego
parents: 10913
diff changeset
459 Create the following command file:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
460 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
461 bt
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
462 disass $pc-32 $pc+32
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
463 info all-registers
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
464 </screen>
11049
9da833258d9d wording improvement
diego
parents: 10913
diff changeset
465 Then simply execute this command:
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
466 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
467 gdb mplayer --core=core -batch --command=command_file &gt; mplayer.bug
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
468 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
469 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
470 </sect3>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
471 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
472 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
473
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
474
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
475 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
476
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
477
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
478 <sect1 id="bugreports_advusers">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
479 <title>I know what I am doing...</title>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
480
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
481 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
482 If you created a proper bug report following the steps above and you are
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
483 confident it is a bug in <application>MPlayer</application>, not a compiler
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
484 problem or broken file, you have already read the documentation and you could
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
485 not find a solution, your sound drivers are OK, then you might want to
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
486 subscribe to the MPlayer-advusers list and send your bug report there to get
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
487 a better and faster answer.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
488 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
489
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
490 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
491 Please be advised that if you post newbie questions or questions answered in the
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
492 manual there, you will be ignored or flamed instead of getting an appropriate
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
493 answer. So do not flame us and subscribe to -advusers only if you really know
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
494 what you are doing and feel like being an advanced
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
495 <application>MPlayer</application> user or developer. If you meet these
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
496 criteria it should not be difficult to find out how to subscribe...
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
497 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
498 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
499
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
500 </appendix>