6

I have multiple Ubuntu Precise servers and workstations, all of which suffer from the same really infuriating problem: when the "System Problem Detected" dialog comes up due to something or other crashing, clicking "Report Problem" throws an elevation dialog... which, unfortunately, doesn't work.

I'm assuming this means that the elevation dialog is looking for a root password - for which there is none - rather than looking for my own password to use with sudo (and, yes, my account is a member of the sudo group, and normal gksudo prompts work just fine).

Does anybody know what's up with this? I'd really LIKE to be able to submit problem reports when things crash. It irritates me to no end that I end up having to just click "close" like some kind of scrub who doesn't care about reporting bugs. >=[

Jim Salter
  • 4,383

2 Answers2

3

You may be often receiving error messages like the one below, caused by the Ubuntu problem reporting service, apport:

enter image description here

This does not necessarily mean that something is wrong with your system; just that a system process has crashed. When a user clicks "Report Problem...", they are faced with this bug in apport, preventing the actual error report from being sent.

On the other hand, you could receive an error message such as the following

enter image description here

In this type of dialog, the error report service works flawlessly. This, again, reflects bug #1050577 in Ubuntu, which causes the password prompt for the error report in the first type of dialog to hang and prevents the report from being sent.

When you receive the "System program problem detected" message, go to Terminal (Ctrl - Alt- T) and type:

nautilus /var/crash/

You can study the various crash reports in that folder, and file bug reports for them accordingly.

1

First of all, apport it doesn't fix anything, it just tells developers that something went wrong, so this (apport) doesn't help you to much personally.

Second, an explanation as to why the problem continues to occur is that the old crash report hadn’t been cleared out after reported it (you said that doesn't even work, unfortunately). To solve the problem, open a terminal and run this command:

sudo rm /var/crash/*

Log out, log back in the system and check if the dialog still appears.

Or, better, disable apport (see here a number of reasons why is good to keep aport disabled):

sudo sed -i 's/enabled=1/enabled=0/g' /etc/default/apport 

My solution (of course, not recommended)?

sudo apt-get remove --purge apport

Now, to solve the problem with "Report Problem" with the dialog that doesn't work and because you said that you are a member of the 'sudo' group, you should try by prevent PolicyKit from asking for a password following step by step this answers. I don't encourage anyone to do this; it is more better to report a system bug in this sense and to apply the solution with sudo rm /var/crash/*.

Other information about how to debug Ubuntu package crashes you will find here:

Sources:

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407