annotate DOCS/bugreports.html @ 3869:fb8ff040ff17

missing -lsocket for sunos qnx & win32
author pl
date Sat, 29 Dec 2001 00:09:10 +0000
parents eaa34a4ae1c0
children 504db1ce44d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
1 <HTML>
1704
a2e1432f7ac3 Arial font
gabucino
parents: 1685
diff changeset
2 <BODY BGCOLOR=white>
a2e1432f7ac3 Arial font
gabucino
parents: 1685
diff changeset
3
a2e1432f7ac3 Arial font
gabucino
parents: 1685
diff changeset
4 <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
5
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
6 <P><B><A NAME=C>Appendix C - How to report bugs</A></B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
7
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
8 <P><B>How to report bugs?</B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
9
3628
eaa34a4ae1c0 Try The Fucking CVS message. Hmm it was there. Where did it go?
gabucino
parents: 3326
diff changeset
10 <P>First, try the latest CVS, maybe your bug is already fixed. CVS download
eaa34a4ae1c0 Try The Fucking CVS message. Hmm it was there. Where did it go?
gabucino
parents: 3326
diff changeset
11 instructions (easy) can be found on our homepage.</P>
eaa34a4ae1c0 Try The Fucking CVS message. Hmm it was there. Where did it go?
gabucino
parents: 3326
diff changeset
12
eaa34a4ae1c0 Try The Fucking CVS message. Hmm it was there. Where did it go?
gabucino
parents: 3326
diff changeset
13 <P>If it didn't help: read <A HREF="documentation.html#D">Appendix D</A>, and other docs. If your problem isn't
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
14 known or isn't solved by our instructions, then report the bug:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
15
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
16 <P><B>Where?</B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
17
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
18 <P>Subscribe to the mplayer-users mailing list:<BR>
2130
023ec427ef79 lastminute fixes, de ugyis bugos mind :)
gabucino
parents: 1868
diff changeset
19 &nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A><BR>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
20 and send your bugreport to:<BR>
2130
023ec427ef79 lastminute fixes, de ugyis bugos mind :)
gabucino
parents: 1868
diff changeset
21 &nbsp;&nbsp;&nbsp;&nbsp;<A HREF="mailto:mplayer-users@mplayehq.hu">mplayer-users@mplayerhq.hu</A><BR>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
22 We won't CC: so please subscribe!!!</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
23
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
24 <P>Don't send bugreports private, directly to author's address!!!
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
25 We are working together on code, so everyone is interested in it.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
26 BTW many times other users know the solution (system config probs,
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
27 bad drivers etc), even when we think it's a bug in our code.
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
28 The language of this list is ENGLISH!</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
29
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
30 <P>Please describe your problem in details, examples etc, and don't
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
31 forget to include these:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
32
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
33 <P><B>What?</B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
34
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
35 <P><B><I>1. The system info what we always want:</I></B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
36
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
37 <UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
38 <LI>linux distribution<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
39 examples:<UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
40 <LI>RedHat 7.1
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
41 <LI>Slackware 7.0 + devel packs from 7.1 ...</UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
42 <LI>kernel version:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
43 <CODE>uname -a</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
44 <LI>libc version:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
45 <CODE>ls -l /lib/libc[.-]*</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
46 <LI>X version:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
47 <CODE>X -version</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
48 <LI>gcc and ld version:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
49 <CODE>gcc -v<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
50 ld -v</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
51 <LI>binutils version:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
52 <CODE>as --version</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
53 </UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
54
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
55 <P><B><I>2. Hardware & drivers:</I></B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
56
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
57 <UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
58 <LI>CPU info:<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
59 <CODE>cat /proc/cpuinfo</CODE>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
60 <LI>video card manufacturer and model<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
61 examples:<BR><UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
62 <LI>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
63 <LI>Matrox G400 DH 32MB SGRAM</UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
64 <LI>video driver type&version<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
65 examples:<UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
66 <LI>X built-in driver
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
67 <LI>nvidia 0.9.623
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
68 <LI>Utah-GLX CVS 2001-02-17
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
69 <LI>DRI from X 4.0.3</UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
70 <LI>sound card type & driver<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
71 examples:<BR><UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
72 <LI>Creative SBLive! Gold with OSS driver from oss.creative.com
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
73 <LI>Creative SB16 with OSS drivers of kernel
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
74 <LI>GUS PnP with ALSA OSS emulation</UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
75 <LI>if you are unsure, attach output of lspci -v
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
76 </UL>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
77
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
78 <P><B>For compiling problems/errors</B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
79
3326
fd5edacbb093 configure output no longer needed
gabucino
parents: 3286
diff changeset
80 <P><B><I>3. these files:</I></B></P>
3011
81c1b9854cfe Applied pl's patch
gabucino
parents: 2143
diff changeset
81 <UL><LI>configure.log
81c1b9854cfe Applied pl's patch
gabucino
parents: 2143
diff changeset
82 <LI>config.h
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
83 <LI>config.mak
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
84 <LI>libvo/config.mak
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
85 </UL>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
86
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
87 <P><B>For playback problems:</B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
88
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
89 <P><B><I>3. Output of mplayer at verbose level 1 (-v)</I></B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
90 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;mplayer -v [options] filename &amp;&gt; mplayer.log</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
91
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
92 <P><B><I>4. If the problem is specific to one or a few files,
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
93 then please upload that file to:</I></B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
94 <P><CODE>&nbsp;&nbsp;&nbsp;ftp://mplayerhq.hu/MPlayer/incoming/</CODE></P>
1868
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
95 Also upload a small .txt file with the same name as your file,
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
96 describing the problem!<BR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
97 Usually first 1-5 MB of the file is enough to reproduce
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
98 the problem, but first you should try it:
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
99 <P><CODE>&nbsp;&nbsp;&nbsp;dd if=yourfile of=smallfile bs=1k count=1024</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
100 (it will cut first 1MB of 'yourfile' and save to 'smallfile')
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
101 Then try again on this small file, and if bug still exists
1868
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
102 then it's enough to upload this small file.<BR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
103 NEVER send such files via mail! Upload it, and send only
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
104 the path/filename of the file on the FTP.
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
105 If the file is accessible on the net, then sending the
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
106 _exact_ URL is enough!
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
107
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
108 <P><B><I>5. For crashes (segfault, SIGILL, signal 4 etc):</I></B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
109
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
110 <P><I>If you have coredump of the crash, see 5.a, else see 5.b:</I></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
111
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
112 <P><B><I>5.a: Please print us coredump (if it was created).</I></B></P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
113
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
114 <P>Howto:
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
115 please create following command file:</P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
116
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
117 <P><CODE>disass $eip-32 $eip+32<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
118 printf "eax=%08lX\n",$eax<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
119 printf "ebx=%08lX\n",$ebx<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
120 printf "ecx=%08lX\n",$ecx<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
121 printf "edx=%08lX\n",$edx<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
122 printf "esp=%08lX\n",$esp<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
123 printf "ebp=%08lX\n",$ebp<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
124 printf "edi=%08lX\n",$edi<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
125 printf "esi=%08lX\n",$esi<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
126 </CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
127
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
128 <P>Then simply execute following command line:</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
129 <P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>gdb mplayer --core=core -batch --command=command_file >mplayer.bug</CODE></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
130
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
131 <P><B><I>5.b.: run MPlayer in gdb:</I></B></P>
1868
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
132 <P>Re-compile mplayer with debugging code enabled:<BR>
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
133 ./configure --enable-debug<BR>
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
134 make
333d429d7ff2 small fixes
arpi
parents: 1748
diff changeset
135 </P>
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
136 <P>[at root/user shell prompt:]<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
137 &nbsp;&nbsp;&nbsp;&nbsp;<CODE># gdb mplayer</CODE><BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
138 [at gdb prompt:]<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
139 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>&gt; run -v [options-to-mplayer] filename</CODE><BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
140 ... (wait until it will crash)<BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
141 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>&gt; bt</CODE><BR>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
142 &nbsp;&nbsp;&nbsp;&nbsp;<CODE>&gt; disass $eip-32 $eip+32</CODE><BR>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
143 Send us the full output of the above things!
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
144 </P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
145
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
146 <P><B>In general:</B></P>
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
147
1682
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
148 <P>If something is big (logs etc) then it's better to upload to the ftp
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
149 (gzipped), and include only path/filename in the bugreport!</P>
dba45a1aafad *** empty log message ***
gabucino
parents: 1668
diff changeset
150
3286
4f1f2697761a typo (noticed by JAF)
gabucino
parents: 3228
diff changeset
151 <P><B>I know what am I doing...</B></P>
3228
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
152
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
153 <P>If you created a proper bugreport following the above steps, and you are
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
154 sure it's mplayer bug, not compiler's problem or broken file, you've already
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
155 readed through docs and you didn't find the solution, your sound drivers are ok,
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
156 then you may want to subscribe to the mplayer-advusers list and send your
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
157 bugreport there to get better and faster answer. But BE WARNED: if you post
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
158 newbie or rtfm-type questions there, you'll be immediatelly banned, instead or
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
159 getting answered!!! So don't flame us, subscribe -advusers only if you really
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
160 know what are you doing and you feel you as advanced mplayer user or developer.
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
161 (and about how to subscribe: find it out! if you're really an advanced user,
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
162 it shouldn't be a problem for you...)
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
163 </P>
fd1bbd90d87a secret :)
arpi
parents: 3011
diff changeset
164
1612
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
165 </BODY>
1b011d6150c7 new, splitted, etc dox
gabucino
parents:
diff changeset
166 </HTML>