← Back to team overview

desktop-packages team mailing list archive

[Bug 814727] Re: Do not report package installation failures that contain a segmentation fault

 

This bug was fixed in the package apport - 1.20.1-0ubuntu5.1

---------------
apport (1.20.1-0ubuntu5.1) natty-proposed; urgency=low

  * Include bug fixes from upstream
    - report.py: Fix bug patterns to correctly match against compressed report
      (LP: #814729)
    - generic hook: Don't report package installation failures due to
      segfaulting maintainer scripts. We want the actual crash report only.
      (LP: #814727)
 -- Brian Murray <brian@xxxxxxxxxx>   Fri, 29 Jul 2011 10:45:59 -0700

** Changed in: apport (Ubuntu Natty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/814727

Title:
  Do not report package installation failures that contain a
  segmentation fault

Status in “apport” package in Ubuntu:
  Fix Released
Status in “apport” source package in Natty:
  Fix Released

Bug description:
  The Oneiric version of apport does not report package installation
  failures that contain a segmentation fault in them as we'd rather have
  the crash report than the package installation failure.  This should
  be SRU'ed into previous releases of Ubuntu so that we prevent
  reporting of unnecessary bugs.

  TEST CASE:
  1) Modify /usr/share/debconf/confmodule to include 'kill -SEGV $$' in line 4
     (we are replicating a segfault in an underlying part of a package installation)
  2) Using software-center install checksecurity
  3) Observe the installation fail due to a segfault
  4) You should receive an apport package install failure dialog offering you to report the crash

  cleanup:
  1) revert the change in /usr/share/debconf/confmodule
  2) remove and purge checksecurity
  3) remove the checksecurity crash file in /var/crash

  proposed package test case
  1) install apport from -proposed
  2) modify /usr/share/debconf/confmodule again
  3) install checksecurity using software center
  4) Observe the installation fail due to a segfault
  5) You should NOT receive an apport package install failure dialog offering you to report the crash
     Additionally there should be no file written to /var/crash/

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