个人工具

UbuntuHelp:ReportingBugs

来自Ubuntu中文

Wikibot讨论 | 贡献2008年4月23日 (三) 11:55的版本

跳转至: 导航, 搜索

Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to create an account.

Reporting bugs

The easiest way to report a bug is with the Apport application. When an application crashes, apport starts automatically and opens an appropriate bug for you to complete in Launchpad. This procedure will provide our developers with rich debugging information that will make it easier for them to fix the problem. ReportingBugs?action=AttachFile&do=get&target=apport-1.png If you want to report a bug on an application that is running and responding, you can access the same apport functionality from the Help menu via Help -> Report a problem. This method is preferable than filing a bug directly at the Launchpad website because of the debugging information it attaches, even for user interface bugs. ReportingBugs?action=AttachFile&do=get&target=report-a-problem.png Apport is available for Ubuntu 6.10 (Edgy Eft) and later versions. ReportingBugs?action=AttachFile&do=get&target=filebug-shot.png

Filing from the command line

apport-cli -f -p PACKAGE

Lets you file a bug against a known package and automatically include all the useful debug information. Use

apport-cli -f -P PID

If you want to file against a running program with a known Process ID (PID) (see System -> Administration -> System Monitor).

Filing bugs at Launchpad.net

If for some reason you cannot file a bug through the Apport tool you can file one via Launchpad (Apport is not available on version 6.10 and older). When doing so please ensure that you have determined which package it should be filed against. Read 'finding the right package' for guidance.

Writing a useful report

Fill in the description field with as much information as you can, including the release of Ubuntu you are using and steps for someone else to recreate the bug. It is better to have too much information in the description than not enough. Only describe a single problem per bug report so that each can be followed up on in detail. If you experience several issues file separate reports. Add supporting attachments to explain or help others reproduce your bug. This might include a screen shot or video capture of the problem or a sample document that triggers the fault. You can only add attachments after the bug has been filed with a title and description. Use the Add a comment/attachment at the bottom of the page. For anything hardware related, give precise details about your hardware. Attaching the output of "lspci -vvnn" and "dmesg", after a fresh boot, will help a lot.

When not to file a bug

Getting advice

If you need help in finding the right package or providing appropriate information ask someone on #ubuntu-bugs on the Freenode IRC server or on the bugsquad mailing list.

Further reading

See this guide for general information on writing a good bug report. If you need help with debugging a problem, see DebuggingProcedures.