apport will create .upload files for incomplete or corrupt crash reports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Precise |
Won't Fix
|
High
|
Brian Murray | ||
Trusty |
Fix Released
|
High
|
Brian Murray | ||
Vivid |
Fix Released
|
High
|
Brian Murray | ||
Wily |
Fix Released
|
High
|
Brian Murray |
Bug Description
SRU information appears in comment #3.
apport will set an UnreportableReason in the following situations for crash reports where information collection fails or for packages that do not exist. From apport/ui.py:
1036 try:
1037 icthread.
1038 except (IOError, EOFError, zlib.error) as e:
1039 # can happen with broken core dumps
1040 self.report[
1041 _('This problem report is damaged and cannot be processed.'),
1042 repr(e))
1043 except ValueError: # package does not exist
1044 self.report[
1045 except Exception as e:
1046 apport.
1047 self.report[
1048 'process this problem report:') + '\n\n' + str(e)
Because an UnreportableReason exists in the report, apport will stop collecting information. Subsequently, there is "_MarkForUpload" is left as True (the default) so apport calls mark_report_upload which creates a .upload file such that the report which is incomplete or corrupt is then uploaded to the Error Tracker.
In these cases the "_MarkForUpload" key should be set to "False" thereby preventing uploads to the Error Tracker.
tags: | added: xenial |
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in apport (Ubuntu Wily): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in apport (Ubuntu Wily): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in apport (Ubuntu Wily): | |
status: | Fix Committed → Fix Released |
Changed in apport (Ubuntu Wily): | |
status: | Fix Released → Fix Committed |
Changed in apport (Ubuntu Precise): | |
status: | New → Triaged |
Changed in apport (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in apport (Ubuntu Vivid): | |
status: | New → Triaged |
Changed in apport (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in apport (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in apport (Ubuntu Vivid): | |
importance: | Undecided → High |
Changed in apport (Ubuntu Wily): | |
status: | Fix Committed → Fix Released |
Changed in apport (Ubuntu Vivid): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in apport (Ubuntu Trusty): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in apport (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
tags: |
added: verification-failed removed: verification-failed-precise verification-needed |
This bug was fixed in the package apport - 2.19.2-0ubuntu2
---------------
apport (2.19.2-0ubuntu2) xenial; urgency=medium
* apport/ui.py: set "_MarkForUpload" field to False for cases where the
apport report is damaged, about a not installed package, or when an
error occurred processing the report. (LP: #1512902)
-- Brian Murray <email address hidden> Tue, 03 Nov 2015 15:44:18 -0800