Discussion:
[Bug 1761016] [NEW] cherry-pick
Launchpad Bug Tracker
2018-05-23 06:13:43 UTC
Permalink
You have been subscribed to a public bug by Rik Mills (rikmills):

KDE Plasma is affected by a Qt bug that causes image slideshows to leak
memory, eventually exhausting all available memory and crashing the
system: https://bugs.kde.org/show_bug.cgi?id=368838

This principally affects people who use the popular slideshow wallpaper
feature. Thankfully, there's a Qt patch to fix it the issue:
https://codereview.qt-project.org/#/c/224684/

It's slated to go into Qt 5.11. We should strongly consider cherry-
picking it into 5.9.x to get this important fix into our users' hands as
soon as possible.

** Affects: qtdeclarative-opensource-src (Ubuntu)
Importance: High
Assignee: Simon Quigley (tsimonq2)
Status: Triaged
--
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix image slideshows in KDE Plasma
https://bugs.launchpad.net/bugs/1761016
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/ma
Launchpad Bug Tracker
2018-08-21 18:36:38 UTC
Permalink
This bug was fixed in the package qtdeclarative-opensource-src -
5.11.1-4

---------------
qtdeclarative-opensource-src (5.11.1-4) unstable; urgency=medium

* Update symbols files with buildds' logs.

-- Lisandro Damián Nicanor Pérez Meyer <***@debian.org> Thu, 26
Jul 2018 22:09:16 -0300

** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/k
Nate Graham
2018-08-21 18:56:07 UTC
Permalink
That's for 5.11.1; what about the backport to 5.9.5 for Bionic?

** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: Fix Released => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu
Dmitry Shachnev
2018-08-22 07:20:28 UTC
Permalink
** Also affects: qtdeclarative-opensource-src (Ubuntu Bionic)
Importance: Undecided
Status: New

** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https:/
Nate Graham
2018-08-22 18:53:40 UTC
Permalink
Am I missing something? There is nothing to fix in qtdeclarative-
opensource-src for Cosmic since it has Qt 5.11, and Qt 5.11 simply
includes the fix by default.

This bug tracks cherry-picking the fix into the version of
qtdeclarative-opensource-src that's in Bionic.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bug
Dmitry Shachnev
2018-08-22 19:13:00 UTC
Permalink
You are right. The bug was fixed upstream in 5.11 so I marked the Cosmic
task as fixed. For Bionic, I opened a new task and it is not fixed.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://li
Nate Graham
2018-08-22 19:30:49 UTC
Permalink
Thank you!
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/m
Dmitry Shachnev
2018-08-25 19:17:36 UTC
Permalink
Any chance you can update the bug description as required by the Stable
Release Update procedure?

https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubun
Nate Graham
2018-08-25 19:41:17 UTC
Permalink
** Description changed:

- KDE Plasma is affected by a Qt bug that causes image slideshows to leak
- memory, eventually exhausting all available memory and crashing the
- system: https://bugs.kde.org/show_bug.cgi?id=368838
+ [Impact]

- This principally affects people who use the popular slideshow wallpaper
- feature. Thankfully, there's a Qt patch to fix it the issue:
- https://codereview.qt-project.org/#/c/224684/
+ * Due to a Qt bug, using an image slideshow for the wallpaper causes a memory leak that eventually causes the system to freeze. The severity of the leak is proportional to the speed with which images are changed in the slideshow.
+ * Given the popularity of the image slideshow wallpaper feature, this is a high-profile, easily reproducible issue.
+ * See https://bugs.kde.org/show_bug.cgi?id=368838 and https://codereview.qt-project.org/#/c/224684/

- It's slated to go into Qt 5.11. We should strongly consider cherry-
- picking it into 5.9.x to get this important fix into our users' hands as
- soon as possible.
+ * An attempt was made to backport the fix prior to Bionic's release,
+ but this was overlooked or unsuccessful (see the history here). As a
+ result, it now needs to be done as an SRU.
+
+ [Test Case]
+
+ * Use KDE Plasma
+ * Right-click on the desktop and choose "Configure Desktop"
+ * Change the wallpaper type to "Slideshow" and choose a folder full of images
+ * Click Apply
+ * Wait a few days; Plasma will eventually totally freeze
+
+ [Regression Potential]
+
+ * Regressions are unlikely given that the specific backport patch has
+ been well-tested by many in https://bugs.kde.org/show_bug.cgi?id=368838,
+ and the actual code fix in Qt was released to users in Qt 5.11 months
+ ago.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bu
Dmitry Shachnev
2018-08-25 19:51:50 UTC
Permalink
Thanks a lot, I will upload the fix for 5.9 tomorrow.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinf
Nate Graham
2018-08-25 20:24:55 UTC
Permalink
Thanks so much Dmitry!
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.
Dmitry Shachnev
2018-08-26 13:47:53 UTC
Permalink
Uploaded, here it is in the review queue:
https://launchpad.net/ubuntu/bionic/+queue?queue_state=1.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-b
Nate Graham
2018-08-26 16:40:02 UTC
Permalink
Fantastic, thanks so much!
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://li
Łukasz Zemczak
2018-08-30 12:54:28 UTC
Permalink
Hello Nate, or anyone else affected,

Accepted qtdeclarative-opensource-src into bionic-proposed. The package
will build now and be available at https://launchpad.net/ubuntu/+source
/qtdeclarative-opensource-src/5.9.5-0ubuntu1.1 in a few hours, and then
in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: qtdeclarative-opensource-src (Ubuntu Bionic)
Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://li
Nate Graham
2018-08-31 16:25:37 UTC
Permalink
Thanks! I enabled the bionic-proposed repo and saw the package update
available yesterday, but had no time available to do the update and
perform tests. Now I do, but I no longer see an update to qtdeclarative-
opensource-src available--just qtdeclarative5-dev and
qtdeclarative5-qtquick2-plugin. Was it already accepted?
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
Dmitry Shachnev
2018-08-31 16:35:43 UTC
Permalink
qtdeclarative-opensource-src is a source package name, it builds
multiple binary packages — you can see a list of them here:
https://packages.ubuntu.com/bionic/source/qtdeclarative-opensource-src.

In this case the relevant binary package is probably libqt5quick5, but
it is better to upgrade all these packages together.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.co
Nate Graham
2018-08-31 18:53:15 UTC
Permalink
Thanks for bearing with me.

I can confirm that the fix works after installing the relevant packages.
I tested it by setting a slideshow wallpaper with a change interval of
one second. Before the fix, this would cause plasmashell's memory usage
to skyrocket. With the fix applied, the memory usage is stable.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/
Łukasz Zemczak
2018-09-06 08:45:03 UTC
Permalink
The verification of the Stable Release Update for qtdeclarative-
opensource-src has completed successfully and the package has now been
released to -updates. Subsequently, the Ubuntu Stable Release Updates
Team is being unsubscribed and will not receive messages about this bug
report. In the event that you encounter a regression using the package
from -updates please report a new bug using ubuntu-bug and tag the bug
report regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https:/
Launchpad Bug Tracker
2018-09-06 08:55:05 UTC
Permalink
This bug was fixed in the package qtdeclarative-opensource-src -
5.9.5-0ubuntu1.1

---------------
qtdeclarative-opensource-src (5.9.5-0ubuntu1.1) bionic; urgency=medium

* Cherry-pick upstream patch to fix memory leak in image slideshows in
KDE Plasma (LP: #1761016).

-- Dmitry Shachnev <***@ubuntu.com> Sun, 26 Aug 2018 14:32:09
+0300

** Changed in: qtdeclarative-opensource-src (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/list
Nate Graham
2018-09-06 16:45:08 UTC
Permalink
Thanks everyone!
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1761016

Title:
cherry-pick https://codereview.qt-project.org/#/c/224684/ to fix
image slideshows in KDE Plasma

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1761016/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu
Loading...