apport appears to crash. Spinner never stops. KeyError: 'ProblemType'

Bug #992055 reported by crf
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Apport doesn't seem to close properly. It seems to send the problem report to Launchpad, but doesn't tell the user that the problem has been reported. It just spins its spinner.
The following is printed on the command line.

chris@dellie-linux:~$ apport-collect 991395
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 45, in add_info
    match_error_messages(report)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 129, in match_error_messages
    if report['ProblemType'] == 'Package':
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'ProblemType'
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 499, in <lambda>
    GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 867, in collect_info
    icthread.exc_raise()
  File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info
    if report['ProblemType'] == 'Crash' and \
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'ProblemType'
---
ApportLog:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu7
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.38-13.56-generic 2.6.38.8
Tags: precise
Uname: Linux 2.6.38-13-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-28 (1 days ago)
UserGroups: adm admin cdrom dialout libvirtd lp lpadmin plugdev sambashare

Revision history for this message
crf (chrisfahlman) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
crf (chrisfahlman) wrote : ProcEnviron.txt

apport information

Revision history for this message
crf (chrisfahlman) wrote :

This doesn't happen all the time. I just sent a report for a different issue using apport. And Apport worked properly this time.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in apport (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Changed in apport (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.