Stable Release Update to provide possiblity of automatically reporting crashes

Bug #1431058 reported by Brian Murray on 2015-03-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Brian Murray

Bug Description

[Test Case]
1) Install apport-noui
2) Verify /var/lib/apport/autoreport is created
3) sleep 1000 &
4) pkill -11 sleep
5) observe /var/crash/_bin_sleep.crash file
6) wait a wee bit
7) observe /var/crash/_bin_sleep.upload and .uploaded are created

The version of apport in Ubuntu 14.04 is missing a few changes that would allow users to install apport-noui and allow crash reports to be submitted automatically from systems with it installed. The changes are the following:

  * debian/apport-noui.upstart: remove early exit (LP: #1235436)
  * debian/apport-noui.dirs: create /var/lib/apport (LP: #1235436)
  * data/whoopsie-upload-all: backport utopic version of it
  * apport-noui: make the package installation automatically enable
    autosubmission, and update the package description accordingly.
    LP: #1351137.

The changes to whoopsie-upload-all can be found in this revision ( and they were fixing LP: #1354318. It would be useful if users of 14.04 could install apport-noui and have crash reports automatically submitted for them.

Changed in apport (Ubuntu):
status: New → Invalid
Changed in apport (Ubuntu Trusty):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
description: updated
Brian Murray (brian-murray) wrote :

I've uploaded this to the Trusty SRU queue.

Hello Brian, or anyone else affected,

Accepted apport into trusty-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in apport (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Brian Murray (brian-murray) wrote :

bdmurray@flash:~$ apt-cache policy apport
  Installed: 2.14.1-0ubuntu3.7
  Candidate: 2.14.1-0ubuntu3.8
  Version table:
     2.14.1-0ubuntu3.8 0
        500 trusty-proposed/main amd64 Packages
 *** 2.14.1-0ubuntu3.7 0
        500 trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status

bdmurray@flash:~$ ls /var/lib/apport/
bdmurray@flash:~$ sleep 1001 &
[1] 30023
bdmurray@flash:~$ pkill -11 sleep
bdmurray@flash:~$ fg
-bash: fg: job has terminated
[1]+ Segmentation fault (core dumped) sleep 1001
bdmurray@flash:~$ ls /var/crash/
_bin_sleep.1000.crash _usr_sbin_update-apt-xapian-index.0.crash _usr_sbin_update-apt-xapian-index.0.uploaded
_bin_sleep.1000.upload _usr_sbin_update-apt-xapian-index.0.upload
bdmurray@flash:~$ ls -lh /var/crash/
total 64K
-rw-r----- 1 bdmurray whoopsie 33K Mar 19 07:27 _bin_sleep.1000.crash
-rw-r--r-- 1 root whoopsie 0 Mar 19 07:27 _bin_sleep.1000.upload
-rw------- 1 whoopsie whoopsie 0 Mar 19 07:27 _bin_sleep.1000.uploaded

tags: added: verification-done
removed: verification-needed
Brian Murray (brian-murray) wrote :

I meant to show the output of apport-noui:

bdmurray@flash:~$ apt-cache policy apport-noui
  Installed: 2.14.1-0ubuntu3.8
  Candidate: 2.14.1-0ubuntu3.8
  Version table:
 *** 2.14.1-0ubuntu3.8 0
        500 trusty-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     2.14.1-0ubuntu3.7 0
        500 trusty-updates/universe amd64 Packages

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.14.1-0ubuntu3.8

apport (2.14.1-0ubuntu3.8) trusty-proposed; urgency=medium

  * Backport changes from 14.10 to ensure that automatic crash reporting
    works. (LP: #1431058)
    - Refactor whoopsie-upload-all to behave more reliably in case of
      overlapping crash processing.
    - debian/apport-noui.upstart: refactor to make this an 'instance' job for
      each incoming .crash file, and drop the racy handling of non-root .crash
      files (as well as the unnecessary 'env MATCH' line).
    - debian/apport-noui.upstart: remove early exit
    - debian/apport-noui.dirs: create /var/lib/apport
    - apport-noui: make the package installation automatically enable
      autosubmission, and update the package description accordingly.
 -- Brian Murray <email address hidden> Thu, 12 Mar 2015 15:58:32 -0700

Changed in apport (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for apport has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers