11

I have found a reproducable crash bug in xserver-xephyr. When I run the following command:

apport-bug /var/crash/_usr_bin_Xephyr.1000.crash

it sends a whoopsie report and does not ask me for any extra information such as how to reproduce the bug, which I know. It also doesn't file a real bug report. How am I supposed to do it?

7
  • An excellent explanation is provided at askubuntu.com/questions/5121/how-do-i-report-a-bug .
    – atenz
    Jun 13, 2012 at 18:41
  • That doesn't answer my specific question. Jun 13, 2012 at 18:46
  • Sorry for that , but you edited and posted (with crash dump and steps to reproduce?) after i commented :P
    – atenz
    Jun 13, 2012 at 18:50
  • Crash bugs are generated by Apport and need to be filed through Apport. Otherwise, you have to manually file the bug and find all the relevant files to attach and include. AS WELL, with crash bugs, you need to set them to private.
    – Thomas Ward
    Jun 13, 2012 at 18:55
  • Question edited again. Using apport-bug does not have any different result to using ubuntu-bug. Jun 13, 2012 at 18:56

1 Answer 1

8

A good way to report this is to configure Apport to send crash data to Launchpad.

You can configure it back afterwards, if you don't generally want to do this when a program crashes.

Background

What you want is for Apport to collect crash data and submit it to Launchpad, so you can write and submit a bug report with the data attached. This is the behavior of Apport on alpha and beta releases, as well as the behavior (when Apport was enabled) on all releases prior to 12.04.

In Ubuntu 12.04, Whoopsie was introduced.

Whoopsie submits Apport crash data to a database (Daisy) where it can be processed and analyzed in aggregate (then viewed). This is much better than not having the data reported at all, and better than bug reports with insufficient information where the reporter does not provide requested information. Furthermore, bugs in stable releases are sometimes less likely to be fixed unless they can be reproduced in the development release (and with Whoopsie, users are not asked to read bug reporting instructions and file a report, only to find that the bug is not fixed for a long time).

However, well-written bug reports with enough information are still welcomed, for supported Ubuntu releases (which includes your situation).

You can reconfigure Apport so it submits crash data to Launchpad for bug reporting, instead of Daisy for statistical analysis.

Reconfiguring Apport to Send Crash Data to Launchpad

If you disabled Whoopsie as explained here, Apport will be disabled too. So if your goal is to report crash bugs, that's not what you want.

In one of Apport's configuration files, /etc/apport/crashdb.conf, there is a line that says:

        'problem_types': ['Bug', 'Package'],

This is the line that lists the problem types for which data are sent to Launchpad. It lists Bug and Package. Add Crash:

        'problem_types': ['Bug', 'Package', 'Crash'],

Now, when crash data are automatically collected, they will be submitted to Launchpad and a browser window/tab will appear where you can describe the bug (just like before Whoopsie).

References

3
  • Great answer :) - unfortunately I forgot how to reproduce the bug but I'm sure this will come up again at some point. Jan 21, 2013 at 23:40
  • @AlistairBuxton If you can't reproduce the crash, you can reconfigure Apport to send information to Launchpad, then run ubuntu-bug crashfile where crashfile is the .crash file that was generated before. (This may not work, owing to differences between installed packages when the .crash file was created and now... but it's worth a shot.) Jan 22, 2013 at 0:21
  • I don't have the crash file any more, plus posting how to reproduce it was the whole point :) Jan 23, 2013 at 2:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .