2018-09-04 15:36:28 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2018-09-04 15:36:29 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber amato |
2018-09-04 16:06:02 |
Julian Andres Klode |
packagekit (Ubuntu): status |
New |
Triaged |
|
2018-09-04 16:08:32 |
Julian Andres Klode |
packagekit (Ubuntu): status |
Triaged |
In Progress |
|
2018-09-04 16:08:34 |
Julian Andres Klode |
packagekit (Ubuntu): assignee |
|
Julian Andres Klode (juliank) |
|
2018-09-04 16:08:40 |
Julian Andres Klode |
packagekit (Ubuntu): importance |
Undecided |
High |
|
2018-09-04 16:16:07 |
Julian Andres Klode |
packagekit (Ubuntu): status |
In Progress |
Fix Committed |
|
2018-09-04 18:53:22 |
Launchpad Janitor |
packagekit (Ubuntu): status |
Fix Committed |
Fix Released |
|
2018-09-04 20:38:38 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Bionic |
|
2018-09-04 20:38:38 |
Julian Andres Klode |
bug task added |
|
packagekit (Ubuntu Bionic) |
|
2018-10-02 10:18:20 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Xenial |
|
2018-10-02 10:18:20 |
Julian Andres Klode |
bug task added |
|
packagekit (Ubuntu Xenial) |
|
2018-10-02 10:34:26 |
Julian Andres Klode |
packagekit (Ubuntu Xenial): status |
New |
Invalid |
|
2018-10-02 10:34:30 |
Julian Andres Klode |
bug task deleted |
packagekit (Ubuntu Xenial) |
|
|
2018-10-02 13:54:41 |
Julian Andres Klode |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding packagekit. This problem was most recently seen with package version 1.1.10-1ubuntu2, the problem page at https://errors.ubuntu.com/problem/46649a8a55e07e74b9d522c9bc9d71a74905ccc2 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/. |
[Impact]
pkcon what-provides and other tools querying codecs do not work, they crash (unless you happen to be lucky with your apt cache)
[Test case]
The daemon should not crash as below, but should print a useful message.
$ lxc launch -e ubuntu:bionic bbb
$ lxc exec bbb apt update
$ lxc exec bbb -- apt -y install packagekit
$ lxc exec bbb pkcon what-provides "gstreamer1.0(decoder-audio/ac3)"
[...] The daemon crashed mid-transaction!
(empty lxd container seems to be able to reproduce easily)
[Regression potential]
I don't think it's possible to have a regression here, given the nature of the fix, but if there were one, we'd see different behavior in codec lookup.
[Other info]
The Ubuntu Error Tracker has been receiving reports about a problem regarding packagekit. This problem was most recently seen with package version 1.1.10-1ubuntu2, the problem page at https://errors.ubuntu.com/problem/46649a8a55e07e74b9d522c9bc9d71a74905ccc2 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/. |
|
2018-10-02 14:01:46 |
Julian Andres Klode |
description |
[Impact]
pkcon what-provides and other tools querying codecs do not work, they crash (unless you happen to be lucky with your apt cache)
[Test case]
The daemon should not crash as below, but should print a useful message.
$ lxc launch -e ubuntu:bionic bbb
$ lxc exec bbb apt update
$ lxc exec bbb -- apt -y install packagekit
$ lxc exec bbb pkcon what-provides "gstreamer1.0(decoder-audio/ac3)"
[...] The daemon crashed mid-transaction!
(empty lxd container seems to be able to reproduce easily)
[Regression potential]
I don't think it's possible to have a regression here, given the nature of the fix, but if there were one, we'd see different behavior in codec lookup.
[Other info]
The Ubuntu Error Tracker has been receiving reports about a problem regarding packagekit. This problem was most recently seen with package version 1.1.10-1ubuntu2, the problem page at https://errors.ubuntu.com/problem/46649a8a55e07e74b9d522c9bc9d71a74905ccc2 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/. |
[Impact]
pkcon what-provides and other tools querying codecs do not work, they crash (unless you happen to be lucky with your apt cache). Also, cancalled transactions crash as well, even if you're lucky with your apt cache, as the "matcher" object is deleted twice.
There are two reasons: A duplicate delete statement in providesCodec entered when cancelling the lookup, and a invalid pointer dereference in there.
[Test case]
The daemon should not crash as below, but should print a useful message.
$ lxc launch -e ubuntu:bionic bbb
$ lxc exec bbb apt update
$ lxc exec bbb -- apt -y install packagekit
$ lxc exec bbb pkcon what-provides "gstreamer1.0(decoder-audio/ac3)"
[...] The daemon crashed mid-transaction!
(empty lxd container seems to be able to reproduce easily)
This only tests the pointer dereference, I don't have a test for the duplicate. But the code is obviously correct:
for ... [
if (m_cancel) {
// here used to be "delete matcher" - that's deleted
break;
}
}
delete matcher;
That is, matcher is always deleted once now, and was always deleted twice when cancelling before.
[Regression potential]
I don't think it's possible to have a regression here, given the nature of the fix, but if there were one, we'd see different behavior in codec lookup.
For the duplicate delete on cancelled transactions, you'd be looking at memory leaks if there were a regression.
[Other info]
The Ubuntu Error Tracker has been receiving reports about a problem regarding packagekit. This problem was most recently seen with package version 1.1.10-1ubuntu2, the problem page at https://errors.ubuntu.com/problem/46649a8a55e07e74b9d522c9bc9d71a74905ccc2 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/. |
|
2018-10-02 14:02:31 |
Julian Andres Klode |
packagekit (Ubuntu Bionic): status |
New |
Triaged |
|
2018-10-04 14:30:18 |
Robie Basak |
packagekit (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2018-10-04 14:30:19 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-10-04 14:30:20 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2018-10-04 14:30:24 |
Robie Basak |
tags |
artful bionic cosmic kylin-17.10 |
artful bionic cosmic kylin-17.10 verification-needed verification-needed-bionic |
|
2018-10-08 07:34:56 |
Julian Andres Klode |
tags |
artful bionic cosmic kylin-17.10 verification-needed verification-needed-bionic |
artful bionic cosmic kylin-17.10 verification-done verification-done-bionic |
|
2018-10-08 08:58:34 |
Rik Mills |
bug |
|
|
added subscriber Kubuntu Bugs |
2018-10-08 08:58:49 |
Rik Mills |
bug |
|
|
added subscriber Rik Mills |
2018-10-11 14:29:12 |
Julian Andres Klode |
tags |
artful bionic cosmic kylin-17.10 verification-done verification-done-bionic |
artful bionic block-proposed cosmic kylin-17.10 verification-done verification-done-bionic |
|
2018-10-17 22:37:57 |
Brian Murray |
tags |
artful bionic block-proposed cosmic kylin-17.10 verification-done verification-done-bionic |
artful bionic block-proposed cosmic kylin-17.10 verification-needed verification-needed-bionic |
|
2018-10-18 13:32:39 |
Julian Andres Klode |
tags |
artful bionic block-proposed cosmic kylin-17.10 verification-needed verification-needed-bionic |
artful bionic cosmic kylin-17.10 verification-needed verification-needed-bionic |
|
2018-10-18 13:39:39 |
Julian Andres Klode |
tags |
artful bionic cosmic kylin-17.10 verification-needed verification-needed-bionic |
artful bionic cosmic kylin-17.10 verification-done verification-done-bionic |
|
2018-10-25 14:49:01 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-10-25 14:49:12 |
Launchpad Janitor |
packagekit (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|