[Bug 1791324] Re: /usr/share/apport/apport-gtk:KeyError:/usr/share/apport/apport-gtk at 598:run_argv:run_crashes:run_crash

Launchpad Bug Tracker 1791324 at bugs.launchpad.net
Thu Sep 27 07:39:12 UTC 2018


This bug was fixed in the package apport - 2.20.9-0ubuntu7.4

---------------
apport (2.20.9-0ubuntu7.4) bionic; urgency=medium

  * Handle old reports generated pre-apport with "remember" option.
    If the option isn't there, consider as false. (LP: #1791324)

 -- Didier Roche <didrocks at ubuntu.com>  Mon, 10 Sep 2018 18:20:14 +0200

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

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

Title:
  /usr/share/apport/apport-gtk:KeyError:/usr/share/apport/apport-
  gtk at 598:run_argv:run_crashes:run_crash

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  Fix Released

Bug description:
  [Impact]
   * The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.10-0ubuntu5, the problem page at https://errors.ubuntu.com/problem/64f362ed27e5f6069d78b02c2cbca5c09fcc19ee
   * The theory is that those crashes are trigger by reports generated (but not send) pre apport 2.20.9-0ubuntu7.3. They don't hafe thus the "remember" key, and thus, the new apport, when reporting, is crashing.
   * We now ignore if the key isn't present and just consider the answer as "false", which is a no-op.

  [Test Case]
   * Install apport 2.20.9-0ubuntu7.1
   * Generate a crash but don't report it.
   * Upgrade to apport apport 2.20.9-0ubuntu7.3
   * Report this crash.
     -> No apport crash should be triggered

  [Regression Potential]
   * We are doing a python2 compatible try/except to ignore the KeyError which was the regression. It doesn't seem it can trigger other regressions.

  -------

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.10-0ubuntu5, the problem page at https://errors.ubuntu.com/problem/64f362ed27e5f6069d78b02c2cbca5c09fcc19ee contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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



More information about the foundations-bugs mailing list