/usr/share/apport/whoopsie-upload-all:FileNotFoundError:process_report:add_gdb_info:/usr/share/apport/whoopsie-upload-all@161:collect_info:process_report

Bug #1384358 reported by errors.ubuntu.com bug bridge
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with version 2.14.7-0ubuntu8, the problem page at https://errors.ubuntu.com/problem/dbab8e45b9fc9d063763e2d8a03c06bac932293a contains more details.

Revision history for this message
Brian Murray (brian-murray) wrote :

The traceback:

Traceback (most recent call last):
  File "/usr/share/apport/whoopsie-upload-all", line 74, in process_report
    r.add_gdb_info()
  File "/usr/lib/python3/dist-packages/apport/report.py", line 699, in add_gdb_info
    raise IOError(reason)
OSError: Invalid core dump: BFD: Warning: /tmp/apport_core_m6joalte is truncated: expected core file size >= 185143296, found: 4259840.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/apport/whoopsie-upload-all", line 161, in <module>
    stamps = collect_info()
  File "/usr/share/apport/whoopsie-upload-all", line 112, in collect_info
    res = process_report(r)
  File "/usr/share/apport/whoopsie-upload-all", line 77, in process_report
    os.unlink(report)
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_system-settings-wizard.32011.crash'

Revision history for this message
Brian Murray (brian-murray) wrote :

Somehow the report seems to have been removed from the system, before the unlink was attempted.

Changed in apport (Ubuntu):
importance: Undecided → Medium
Changed in apport (Ubuntu):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.14.7-0ubuntu10

---------------
apport (2.14.7-0ubuntu10) vivid; urgency=medium

  * data/whoopsie-upload-all: confirm that the crash file exists before trying
    to remove it. (LP: #1384358)
 -- Brian Murray <email address hidden> Mon, 03 Nov 2014 17:01:55 -0800

Changed in apport (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ivan Frederiks (idfred) wrote :

@brian-murray
Do you plan to backport this fix to trusty?

Revision history for this message
Brian Murray (brian-murray) wrote :

Looking at the linked crash report on the Error Tracker, there is only one incident of this from Trusty, so no not really.

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.