← Back to team overview

touch-packages team mailing list archive

[Bug 1431058] Re: Stable Release Update to provide possiblity of automatically reporting crashes

 

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

bdmurray@flash:~$ ls /var/lib/apport/
autoreport
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 removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1431058

Title:
  Stable Release Update to provide possiblity of automatically reporting
  crashes

Status in apport package in Ubuntu:
  Invalid
Status in apport source package in Trusty:
  Fix Committed

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
  (http://bazaar.launchpad.net/~ubuntu-core-
  dev/ubuntu/vivid/apport/ubuntu/revision/2351) 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1431058/+subscriptions


References