~ubuntu-branches/debian/sid/mplayer/sid

« back to all changes in this revision

Viewing changes to DOCS/HTML/zh_CN/bugreports_what.html

  • Committer: Bazaar Package Importer
  • Author(s): A Mennucc1
  • Date: 2009-03-23 10:05:45 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090323100545-x8h79obawnnte7kk
Tags: 1.0~rc2+svn20090303-5
debian/control : move docbook-xml,docbook-xsl,xsltproc from 
Build-Depends-Indep to Build-Depends, since they are needed to run
configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>A.6. 报告什么</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"><link rel="start" href="index.html" title="MPlayer - 电影播放器"><link rel="up" href="bugreports.html" title="附录 A. 如何报告错误"><link rel="prev" href="bugreports_where.html" title="A.5. 到哪里报告错误"><link rel="next" href="bugreports_advusers.html" title="A.7. 我知道我在做什么..."><link rel="preface" href="howtoread.html" title="如何阅读此文档"><link rel="chapter" href="intro.html" title="第 1 章 介绍"><link rel="chapter" href="install.html" title="第 2 章 Installation"><link rel="chapter" href="usage.html" title="第 3 章 Usage"><link rel="chapter" href="cd-dvd.html" title="第 4 章 CD/DVD用法"><link rel="chapter" href="faq.html" title="第 5 章 Frequently Asked Questions"><link rel="chapter" href="containers.html" title="第 6 章 Containers"><link rel="chapter" href="codecs.html" title="第 7 章 Codecs"><link rel="chapter" href="video.html" title="第 8 章 Video output devices"><link rel="chapter" href="audio.html" title="第 9 章 音频输出设备"><link rel="chapter" href="tv.html" title="第 10 章 TV"><link rel="chapter" href="radio.html" title="第 11 章 广播电台"><link rel="chapter" href="ports.html" title="第 12 章 Ports"><link rel="chapter" href="mencoder.html" title="第 13 章 MEncoder的基础用法"><link rel="chapter" href="encoding-guide.html" title="第 14 章 Encoding with MEncoder"><link rel="appendix" href="bugreports.html" title="附录 A. 如何报告错误"><link rel="appendix" href="bugs.html" title="附录 B. 已知错误"><link rel="appendix" href="skin.html" title="附录 C. MPlayer skin format"><link rel="appendix" href="history.html" title="附录 D. History"><link rel="subsection" href="bugreports_what.html#bugreports_system" title="A.6.1. 系统信息"><link rel="subsection" href="bugreports_what.html#bugreports_hardware" title="A.6.2. 硬件及驱动"><link rel="subsection" href="bugreports_what.html#bugreports_configure" title="A.6.3. Configure问题"><link rel="subsection" href="bugreports_what.html#bugreports_compilation" title="A.6.4. 编译问题"><link rel="subsection" href="bugreports_what.html#bugreports_playback" title="A.6.5. 回放错误"><link rel="subsection" href="bugreports_what.html#bugreports_crash" title="A.6.6. 崩溃"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">A.6. 报告什么</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreports_where.html">上一页</a> </td><th width="60%" align="center">附录 A. 如何报告错误</th><td width="20%" align="right"> <a accesskey="n" href="bugreports_advusers.html">下一页</a></td></tr></table><hr></div><div class="sect1" lang="zh-CN"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="bugreports_what"></a>A.6. 报告什么</h2></div></div></div><p>
2
 
你可能要在你的错误报告中包含日志,配置或例子文件。如果他们中一些非常大,
3
 
最好把它压缩(请尽量使用gzip或bzip2)并提交到我们的
4
 
<a href="ftp://upload.mplayerhq.hu/MPlayer/incoming/" target="_top">FTP服务器</a>
5
 
上并且在你的错误报告中只包含路径及文件名称。我们的邮件列表有80k的信息限制,
6
 
如果你有更大的附件,你不得不压缩后提交。
7
 
</p><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_system"></a>A.6.1. 系统信息</h3></div></div></div><p>
8
 
</p><div class="itemizedlist"><ul type="disc"><li><p>
9
 
你的Linux发行版本或操作系统及版本,如:
10
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>Red Hat 7.1</p></li><li><p>Slackware 7.0 + devel packs from 7.1 ...</p></li></ul></div><p>
11
 
</p></li><li><p>
12
 
内核版本:
13
 
  </p><pre class="screen">uname -a</pre><p>
14
 
</p></li><li><p>
15
 
libc版本:
16
 
  </p><pre class="screen">ls -l /lib/libc[.-]*</pre><p>
17
 
</p></li><li><p>
18
 
gcc及ld版本:
19
 
  </p><pre class="screen">
20
 
gcc -v
21
 
ld -v</pre><p>
22
 
</p></li><li><p>
23
 
binutils版本:
24
 
  </p><pre class="screen">as --version</pre><p>
25
 
</p></li><li><p>
26
 
如果你在全屏模式下出现问题:
27
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>视窗管理器类型及版本</p></li></ul></div><p>
28
 
</p></li><li><p>
29
 
如果你有关于XVIDIX的问题:
30
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>
31
 
  X颜色深度:
32
 
    </p><pre class="screen">xdpyinfo | grep "depth of root"</pre><p>
33
 
  </p></li></ul></div><p>
34
 
</p></li><li><p>
35
 
如果只是GUI有错误:
36
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>GTK版本</p></li><li><p>GLIB版本</p></li><li><p>libpng版本</p></li><li><p>错误产生时的GUI情况</p></li></ul></div><p>
37
 
</p></li></ul></div><p>
38
 
</p></div><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_hardware"></a>A.6.2. 硬件及驱动</h3></div></div></div><p>
39
 
</p><div class="itemizedlist"><ul type="disc"><li><p>
40
 
CPU信息(这只在Linux上工作):
41
 
  </p><pre class="screen">cat /proc/cpuinfo</pre><p>
42
 
</p></li><li><p>
43
 
显卡厂家及型号,例如:
44
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>ASUS V3800U chip: nVidia TNT2 Ultra pro 32MB SDRAM</p></li><li><p>Matrox G400 DH 32MB SGRAM</p></li></ul></div><p>
45
 
</p></li><li><p>
46
 
显卡驱动 &amp; 版本,例如:
47
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>X built-in driver</p></li><li><p>nVidia 0.9.623</p></li><li><p>Utah-GLX CVS 2001-02-17</p></li><li><p>DRI from X 4.0.3</p></li></ul></div><p>
48
 
</p></li><li><p>
49
 
声卡型号 &amp; 驱动,例如:
50
 
  </p><div class="itemizedlist"><ul type="circle"><li><p>Creative SBLive! Gold with OSS driver from oss.creative.com</p></li><li><p>Creative SB16 with kernel OSS drivers</p></li><li><p>GUS PnP with ALSA OSS emulation</p></li></ul></div><p>
51
 
</p></li><li><p>
52
 
如果还存在疑问,包含LInux系统上的<span><strong class="command">lspci -vv</strong></span>输出信息。
53
 
</p></li></ul></div><p>
54
 
</p></div><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_configure"></a>A.6.3. Configure问题</h3></div></div></div><p>
55
 
当你在执行<span><strong class="command">./configure</strong></span>,或一些自动检测发生错误,阅读
56
 
<tt class="filename">configure.log</tt>。你可能会在那里发现答案。例如同一链接库的不同
57
 
版本共存于你的系统上,或者你忘记安装开发包(包含有-dev后缀)。如果你认为有错误,
58
 
在你的错误报告中包含<tt class="filename">configure.log</tt>。
59
 
</p></div><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_compilation"></a>A.6.4. 编译问题</h3></div></div></div><p>
60
 
请包含这些文件:
61
 
</p><div class="itemizedlist"><ul type="disc"><li><p>config.h</p></li><li><p>config.mak</p></li></ul></div><p>
62
 
</p></div><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_playback"></a>A.6.5. 回放错误</h3></div></div></div><p>
63
 
请包含<span class="application">MPlayer</span>在一级verbose模式下的输出,另外谨记
64
 
当你把它粘贴入邮件时<span class="bold"><strong>不要截断输出</strong></span>
65
 
开发者需要所有信息以便正确诊断一个问题。你可以如下把输出定向到一个文件:
66
 
</p><pre class="screen">
67
 
mplayer -v <em class="replaceable"><code>options</code></em> <em class="replaceable"><code>filename</code></em> &gt; mplayer.log 2&gt;&amp;1
68
 
</pre><p>
69
 
</p><p>
70
 
如果你的问题只针对一个或更多文件,请把他们上传到:
71
 
<a href="ftp://upload.mplayerhq.hu/MPlayer/incoming/" target="_top">ftp://upload.mplayerhq.hu/MPlayer/incoming/</a>
72
 
</p><p>
73
 
另外上传一个和你的原始文件有相同本名并用.txt为后缀的小文本文件。描述你在此文件
74
 
上遇到的问题,并且包含你的email以及<span class="application">MPlayer</span>在verbose
75
 
一级模式下的输出。通常,文件的前1-5 MB足够用于重现问题,可是确定我们请你做:
76
 
</p><pre class="screen">
77
 
dd if=<em class="replaceable"><code>yourfile</code></em> of=<em class="replaceable"><code>smallfile</code></em> bs=1024k count=5
78
 
</pre><p>
79
 
它将提取'<span class="bold"><strong>你的文件</strong></span>'的前5MB,并将它写入
80
 
'<span class="bold"><strong>小文件</strong></span>'。然后在此小文件上重试,如果
81
 
错误重现,你的例子对我们已经足够了。
82
 
请<span class="bold"><strong>千万不要</strong></span>通过邮件传送此文件!
83
 
上传并且只发送文件在FTP服务器上的路径/文件名。如果文件在网络上获得,那么发送
84
 
<span class="bold"><strong>精确的</strong></span>URL就足够了。
85
 
</p></div><div class="sect2" lang="zh-CN"><div class="titlepage"><div><div><h3 class="title"><a name="bugreports_crash"></a>A.6.6. 崩溃</h3></div></div></div><p>
86
 
你需要在<span><strong class="command">gdb</strong></span>里运行<span class="application">MPlayer</span>并且把
87
 
完全输出发给我们,或者如果你有此崩溃的<tt class="filename">core</tt>输出,你能从
88
 
Core文件中提取有用的信息。如下:
89
 
</p><div class="sect3" lang="zh-CN"><div class="titlepage"><div><div><h4 class="title"><a name="bugreports_debug"></a>A.6.6.1. 如何保存一个可重复崩溃的信息</h4></div></div></div><p>
90
 
重新编译<span class="application">MPlayer</span>并打开debug选项:
91
 
</p><pre class="screen">
92
 
./configure --enable-debug=3
93
 
make
94
 
</pre><p>
95
 
然后在gdb中运行<span class="application">MPlayer</span>:
96
 
</p><pre class="screen">gdb ./mplayer</pre><p>
97
 
你先在在gdb里面。输入:
98
 
</p><pre class="screen">
99
 
run -v <em class="replaceable"><code>options-to-mplayer</code></em> <em class="replaceable"><code>filename</code></em>
100
 
</pre><p>
101
 
重复你的崩溃。你一重现此现象,gdb将使你返回命令行,在此你输入
102
 
</p><pre class="screen">
103
 
bt
104
 
disass $pc-32 $pc+32
105
 
info all-registers
106
 
</pre><p>
107
 
</p></div><div class="sect3" lang="zh-CN"><div class="titlepage"><div><div><h4 class="title"><a name="bugreports_core"></a>A.6.6.2. 如何从core输出文件中提取有用信息</h4></div></div></div><p>
108
 
创建如下命令文件:
109
 
</p><pre class="screen">
110
 
bt
111
 
disass $pc-32 $pc+32
112
 
info all-registers
113
 
</pre><p>
114
 
然后只执行这个命令
115
 
</p><pre class="screen">
116
 
gdb mplayer --core=core -batch --command=command_file &gt; mplayer.bug
117
 
</pre><p>
118
 
</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bugreports_where.html">上一页</a> </td><td width="20%" align="center"><a accesskey="u" href="bugreports.html">上一级</a></td><td width="40%" align="right"> <a accesskey="n" href="bugreports_advusers.html">下一页</a></td></tr><tr><td width="40%" align="left" valign="top">A.5. 到哪里报告错误 </td><td width="20%" align="center"><a accesskey="h" href="index.html">起始页</a></td><td width="40%" align="right" valign="top"> A.7. 我知道我在做什么...</td></tr></table></div></body></html>