apport-collect crashes when no matching packages found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
1) lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
2) apt-cache policy apport
apport:
Installed: 2.0.1-0ubuntu6
Candidate: 2.0.1-0ubuntu6
Version table:
*** 2.0.1-0ubuntu6 0
500 http://
500 http://
100 /var/lib/
2.0.1-0ubuntu5 0
500 http://
3) I expect apport to collect information for bug report, or to inform that no matching packages found and then closing.
4) apport-collect crashes with following information (example run):
## EXAMPLE RUN STARTED
apport-collect 989226
No packages found matching linux.
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
match_
File "/usr/share/
if report[
File "/usr/lib/
raise KeyError(key)
KeyError: 'ProblemType'
Traceback (most recent call last):
File "/usr/share/
GLib.
File "/usr/lib/
icthread.
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
if report[
File "/usr/lib/
raise KeyError(key)
KeyError: 'ProblemType'
## EXAMPLE RUN STOPPED
---
ApportVersion: 2.0.1-0ubuntu6
Architecture: amd64
CrashReports:
664:1000:
640:103:
640:1000:
640:1000:
644:0:
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120118)
Package: apport 2.0.1-0ubuntu6
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
description: | updated |
Changed in apport (Ubuntu): | |
importance: | Undecided → High |
tags: | added: amd64 |
apport information