/usr/share/apport/apport-gtk:KeyError:/usr/share/apport/apport-gtk@598:run_argv:run_crashes:run_crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Medium
|
Didier Roche-Tolomelli |
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:/
* 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:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Related branches
- Brian Murray (community): Approve
-
Diff: 18 lines (+7/-2)1 file modifiedapport/ui.py (+7/-2)
Here's the Traceback:
Traceback (most recent call last): apport/ apport- gtk", line 598, in <module> python3/ dist-packages/ apport/ ui.py", line 709, in run_argv python3/ dist-packages/ apport/ ui.py", line 265, in run_crashes run_crash( f) python3/ dist-packages/ apport/ ui.py", line 322, in run_crash 'remember' ]:
File "/usr/share/
File "/usr/lib/
return self.run_crashes()
File "/usr/lib/
self.
File "/usr/lib/
if response[
KeyError: 'remember'
This was introduced in revision 3204 of apport which has been SRU'ed to Ubuntu 18.04.