Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54806 - [qt5-declarative] Plasmashell memory occupation grows without limits

Attached to Project: Arch Linux
Opened by mcgyver (mcgyver) - Friday, 14 July 2017, 17:20 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 25 October 2017, 16:33 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After full system package update, plasmashell memory occupation increases continuously. The allocated memory never gets deallocated. After 30 seconds, Plasmashell memory occupation runs to several hundred megabytes (600-800 MB), and continuously growing. After a short while the system becomes unusable as all the memory is taken by Plasmashell.


Additional info:
* package version(s):
qt5-base-5.9.1-3 qt5-connectivity-5.9.1-2 qt5-declarative-5.9.1-3 qt5-graphicaleffects-5.9.1-1 qt5-location-5.9.1-2 qt5-multimedia-5.9.1-2 qt5-quickcontrols-5.9.1-2 qt5-quickcontrols2-5.9.1-2 qt5-script-5.9.1-2 qt5-scxml-5.9.1-1 qt5-sensors-5.9.1-2 qt5-serialport-5.9.1-2 qt5-speech-5.9.1-2 qt5-svg-5.9.1-2 qt5-tools-5.9.1-4 qt5-webchannel-5.9.1-2 qt5-webengine-5.9.1-3 qt5-webkit-5.212.0alpha2-4 qt5-websockets-5.9.1-2 qt5-x11extras-5.9.1-2 qt5-xmlpatterns-5.9.1-2

* config and/or log files etc.
No custom configuration file

Steps to reproduce:
Log in KDE - Plasmashell executes as part of the desktop environment;
Run KSysGuard to monitor memory occupation - other tools can be used;
Watch memory occupation for program Plasmashell grow continuously ad you use KDE.

Current workaround is to downgrade Qt packages to these versions:
qt5-base-5.9.0-2-x86_64.pkg.tar.xz
qt5-connectivity-5.9.0-1-x86_64.pkg.tar.xz
qt5-declarative-5.9.0-1-x86_64.pkg.tar.xz
qt5-graphicaleffects-5.9.0-1-x86_64.pkg.tar.xz
qt5-location-5.9.0-1-x86_64.pkg.tar.xz
qt5-multimedia-5.9.0-1-x86_64.pkg.tar.xz
qt5-quickcontrols2-5.9.0-1-x86_64.pkg.tar.xz
qt5-quickcontrols-5.9.0-1-x86_64.pkg.tar.xz
qt5-script-5.9.0-1-x86_64.pkg.tar.xz
qt5-scxml-5.9.0-1-x86_64.pkg.tar.xz
qt5-sensors-5.9.0-1-x86_64.pkg.tar.xz
qt5-serialport-5.9.0-1-x86_64.pkg.tar.xz
qt5-speech-5.9.0-1-x86_64.pkg.tar.xz
qt5-svg-5.9.0-1-x86_64.pkg.tar.xz
qt5-tools-5.9.0-1-x86_64.pkg.tar.xz
qt5-webchannel-5.9.0-1-x86_64.pkg.tar.xz
qt5-webengine-5.9.0-2-x86_64.pkg.tar.xz
qt5-webkit-5.9.0-1-x86_64.pkg.tar.xz
qt5-websockets-5.9.0-1-x86_64.pkg.tar.xz
qt5-x11extras-5.9.0-1-x86_64.pkg.tar.xz
qt5-xmlpatterns-5.9.0-1-x86_64.pkg.tar.xz
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 25 October 2017, 16:33 GMT
Reason for closing:  No response
Comment by mcgyver (mcgyver) - Tuesday, 18 July 2017, 14:06 GMT
I have done a few more experiments, and seems that KDE background slideshow is the culprit.
If I select a specific background image, Plasmashell does not grow in memory usage.
If I start changing background picture, every time I select a new one the memory usage grows (and memory is never released).

Why is this triggered by a Qt update?
Comment by cyberesprit (cyberesprit) - Thursday, 20 July 2017, 07:39 GMT
Same problem here.
I confirm this bug.

My 8Gio RAM (no swap) on my laptop is full (by plasmashell) and the system is unusable.
My 16Gio RAM (no swap) on my desktop is actually at 8.44Gio (by plasmashell).

My KDE are configured with background slideshow.

Thanks.

(Sorry for my poor english, i am french)
Comment by Antonio Rojas (arojas) - Thursday, 20 July 2017, 08:19 GMT Comment by cyberesprit (cyberesprit) - Thursday, 20 July 2017, 08:32 GMT
Ok thanks !
Comment by Antonio Rojas (arojas) - Saturday, 26 August 2017, 19:53 GMT
Please test qt5-declarative 5.9.1-5
Comment by Antonio Rojas (arojas) - Wednesday, 11 October 2017, 09:36 GMT
Status with 5.9.2?

Loading...