crash files don't ensure matching package version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
When writing a crash file apport does not include the package version, but does include the package version when filing the bug. So its possible that if the system installs updated packages before reporting the crash that the package version being shown in the bug report is not the actual package version which experienced the crash. I think the package version should be written to the crash file.
If you look at bug 777087 and look at the package version in that report you'll see that it is 0.80.9 however the Traceback.txt displays code from an earlier version of the package.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apport 1.20.1-0ubuntu5 [modified: usr/share/
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CheckboxSubmission: fee5e196cb921cb
CheckboxSystem: 2a6f54df59af338
CrashReports:
600:1000:
600:1000:
Date: Tue Jun 7 11:20:36 2011
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: apport
UpgradeStatus: Upgraded to natty on 2011-04-28 (39 days ago)
This is by design, I'm afraid.
We originally did that, but as people complained that it blocks the crashed process for too long, we moved all the non-essential data collection to the UI stage. Collecting package information takes several dozen seconds, and causes quite a high IO load.
The expectation is that as soon as the .crash file is written, apport pops up, and when you want to report the bug, it'll add the extra data.