I found a problem with a application on Ubuntu. How do I best report the issue? What sort of information should I provide?

link|improve this question

feedback

6 Answers

up vote 81 down vote accepted

The Ubuntu Wiki has a very thorough guide that is well illustrated and covers many possible scenarios.

The essence of that page is that you first need a Launchpad account, then press Alt+F2 and enter ubuntu-bug packagename. In 11.04 and later you can enter ubuntu-bug -w and click on the affected window.

There are also methods described on that wiki page telling you how to:

There is a quick tutorial video that explains better http://youtu.be/18nsScrDIa0

And some more information on this site:

link|improve this answer
4  
+1 to @micahg for adding a mention of ubuntu-bug -w. This is not present on neither the Ubuntu Wiki nor the ubuntu-bug man page. – WarriorIng64 Dec 20 '11 at 9:08
Yes, that would have been nice to know before having used ubuntu-bug $(xprop _NET_WM_PID | awk '{print $NF}') so much... – ændrük Apr 9 at 0:53
Now the 12.04 has been released out of Beta, ubuntu-bug is discouraged and the launchpad route is encouraged. For 12.04 bugs on launchpad, see (bugs.launchpad.net/…) – James Apr 28 at 13:50
@James I hadn't heard that before. What's your source? – fluteflute Apr 28 at 13:51
Run ubuntu-bug in 12.04 itself to report a bug and you will see that it states since it's out of Beta, it's preferable to not use that route. – James Apr 28 at 13:54
show 2 more comments
feedback

The most current guide appears to be https://help.ubuntu.com/community/ReportingBugs

It looks pretty up to date to me, and I think it would be redundant to put that information on here.

link|improve this answer
feedback

If you're having a X error (graphical subsystem), the X Debugging page is very useful:

Usually doing an ubuntu-bug xorg will get all the right information to Launchpad.

link|improve this answer
feedback

If you know the application in question (specifically the package name), I would recommend using the ubuntu-bug command from a terminal. ubuntu-bug packagename will gather some automated information and take you right to the launchpad report a bug page, where you can describe the problem.

It's also a good time to search for potential duplicates, and if you find one click the "affects me too" button.

This help page has a lot more useful info: https://help.ubuntu.com/community/ReportingBugs

link|improve this answer
feedback

The most general, and comprehensive set of instructions can be found at this community-maintained help page. This answer essentially, consolidates that page, and hence it is advised that you read it, and if you are hunting bugs, it is required that you read it.

Short version:

  • Know the package at fault? go type ubuntu-bug <packagename> in a terminal.
  • Have a window before you thats buggy? go type ubuntu-bug -w in a terminal, and click on the window.
  • Have the pid? go type ubuntu-bug <pid> in a terminal.
    You may also use Run dialog (Alt+F2) instead of terminal.

Long version:

Step one: Preliminaries

Step two: Determine the package at fault

If you know which package is at fault, you can run ubuntu-bug <packagename> to initiate the bug reporting process. you may now proceed to the next step.
Detailed instructions on finding the right package are given here And if those detailed instructions didn't help, you have a last resort.

As a last Resort:

You can type ubuntu-bug in a terminal, or Run window, and answer few questions to gather some information on the bug.

If all else fails, and you were unable to determine the right package, you may ask for help in IRC channels, or go ahead and report a bug against no particular package. Kindly note that this adds extra effort on our small group of volunteers, and you are requested to use it, as the title reads, only as a last resort. Also note that this may delay the process of resolution for your bug, and thats another reason to put in all the effort you can, to find the right package.

You may file a bug against no particular package by going here.

Step three: Submitting the bug report

(quoted verbatim from ReportingBugs for completeness.)

After executing any of the above commands, Apport (Ubuntu bug-reporter) will collect necessary data. A window will then pop up, asking you if you want to report the bug. Click "Send Report" if you wish to proceed, or click "Content of the report" if you want to review the information Apport collected.

apport-problem-report

Apport will then upload the problem information to Launchpad, and a new browser window will then open to inform you that the bug report is being processed. After the bug report data has been processed, a new page will open that will ask you for the bug report's title. The bug title will appear in all bug listings so make sure it represents the bug well. When you're done, click "Next". A search will then occur based on the title you gave to the bug report, and will show potentially similar ones. If one of these seems to be the exact bug you're reporting, click its title, then "Yes, this is the bug I'm trying to report". If not, click "No, I need to report a new bug". Launchpad will then ask you for further information. It's important that you specify three things:

  • What you expected to happen
  • What actually happened
  • If possible, a minimal series of steps necessary to make it happen, where step 1 is "start the program"

Fill in the description field with as much information as you can, it is better to have too much information in the description than not enough.

At then bottom of the page, there are some extra options you can use to make your bug report more complete:

  • This bug is a security vulnerability: Please check this only if your bug report describes a behaviour that could be exploited to crack your system. (TODO: better wording?)

  • Tags: You can add here tags that pertain to your bug report. The predefined values should be left alone.

  • Include an attachment: Using this option, you can add supporting attachments to explain or help others reproduce the bug. This might include a screenshot, a video capture of the problem or a sample document that triggers the fault. Additional attachments, if necessary, can be added after the bug is reported via Add a comment/attachment at the bottom of the page.

When you're done, click "Submit bug report".

If you require to collect data while off-line, u may use apport-cli for that. Detailed instructions on this, and many other tips can be found at ReportingBugs

link|improve this answer
feedback

It's as easy as going here and filling the 2 or 3 fields that are there. Command line is not the only way.

Alternatively, you can use this (replace PACKAGENAME in the URL with the package name. For example: unity, gnome-shell, etc):

http://bugs.launchpad.net/ubuntu/+source/PACKAGENAME/+filebug?no-redirect

It's mentioned in this part of the Ubuntu documentation.

link|improve this answer
4  
We don't encourage people to file bugs directly on Launchpad without ubuntu-bug unless there's no other option as those reports are usually missing crucial information. – micahg Dec 20 '11 at 1:51
2  
The launchpad site requires an account to file a bug report. – nobar Feb 9 at 6:20
feedback

protected by Community Apr 30 at 8:27

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.