Bug 19884 - systemsettings freezes when in "Workspace Theme" and window is resized.
Summary: systemsettings freezes when in "Workspace Theme" and window is resized.
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-02 13:04 CET by PC LX
Modified: 2020-09-09 21:18 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
systemsettings 5.8.4 freezes when resized (691.40 KB, video/x-matroska)
2016-12-02 13:04 CET, PC LX
Details
GDB stack trace after freeze (15.66 KB, text/plain)
2017-03-14 15:25 CET, Arne Spiegelhauer
Details

Description PC LX 2016-12-02 13:04:54 CET
Created attachment 8718 [details]
systemsettings 5.8.4 freezes when resized

systemsettings 5.8.4 freezes when resized

systemsettings freezes when in one of:
- "Workspace Theme" > "Look and Feel"
- "Workspace Theme" > "Desktop Theme"
- "Workspace Theme" > "Splash Screen"
and the window is resized.

The system is running Xorg 1.19.0 with the nouveau driver (please see system details below). It was previously running a older version of Plasma and Xorg with the nvidia driver. I don't remember seeing this bug then so it may be a regression in Plasma, an issue with the newer Xorg or with the nouveau driver.



Reproducible:

Always.



Steps to reproduce (please see attached video):

1 - Run systemsettings version 5.8.4 (may occur in other versions);
2 - Select "Workspace Theme";
3 - Select "Look and Feel", "Desktop Theme" or "Splash Screen";
4 - Resize window for a few seconds (may not freeze at first resize, retry a few times);



System information:

$ uname -a
Linux marte 4.8.11-desktop-3.mga6 #1 SMP Thu Dec 1 21:43:30 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ systemsettings5 --version
systemsettings 5.8.4
$ cat /etc/release 
Mageia release 6 (Cauldron) for x86_64
$ rpm -qf $(which systemsettings5)
systemsettings-5.8.4-1.mga6
$ rpm -qa | grep nouveau | sort
lib64drm_nouveau2-2.4.74-1.mga6
libdrm_nouveau2-2.4.74-1.mga6
x11-driver-video-nouveau-1.0.13-2.mga6
$ Xorg -version

X.Org X Server 1.19.0
Release Date: 2016-11-15
X Protocol Version 11, Revision 0
Build Operating System: ecosse 4.4.32-server-1.mga5 
Current Operating System: Linux marte 4.8.11-desktop-3.mga6 #1 SMP Thu Dec 1 21:43:30 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/root_cauldron/boot/vmlinuz-desktop root=/dev/mapper/Mageia-btrfs ro rootflags=subvol=root_cauldron nokmsboot splash
Build Date: 01 December 2016  01:19:10PM
Build ID: x11-server 1.19.0-8.mga6 
Current version of pixman: 0.34.0
        Before reporting problems, check http://bugs.mageia.org
        to make sure that you have the latest version.
Comment 1 PC LX 2016-12-02 13:05:32 CET
Bug also reported upstream: https://bugs.kde.org/show_bug.cgi?id=373182
Comment 2 Arne Spiegelhauer 2016-12-04 12:53:21 CET
Can also be reproduced with intel graphics

$ rpm -qa | grep intel | sort
lib64drm_intel1-2.4.74-1.mga6
vaapi-driver-intel-1.7.3-1.mga6
x11-driver-video-intel-2.99.917-33.mga6

CC: (none) => gm2.asp

Marja Van Waes 2016-12-05 11:40:51 CET

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 3 PC LX 2016-12-07 11:10:51 CET
After triggering this bug, I tried switching to another virtual console and then back, as mentioned in bug 19869, and it does unfreeze systemsettings.
Comment 4 PC LX 2016-12-23 11:14:20 CET
I've switched to using the nvidia proprietary driver for the last few days and there were no freezes. This issue may be caused by the nouveau driver or an interaction between the nouveau driver and the plasmashell or kwin.

Testing with another desktop shell and windows manager may clarify this issue.
Comment 5 PC LX 2017-01-14 14:26:20 CET
I'm still seeing the freezes on a up-to-date cauldron.

# uname -a
Linux marte 4.9.3-desktop-1.mga6 #1 SMP Thu Jan 12 23:02:31 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa | grep -E 'kernel|nouveau' | sort
kernel-desktop-4.9.3-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.3-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.9.3-1.mga6
kernel-desktop-latest-4.9.3-1.mga6
kernel-firmware-20170101-1.mga6
kernel-firmware-nonfree-20170101-1.mga6.nonfree
kernel-userspace-headers-4.9.3-1.mga6
lib64drm_nouveau2-2.4.74-1.mga6
libdrm_nouveau2-2.4.74-1.mga6
x11-driver-video-nouveau-1.0.13-2.mga6
Comment 6 Nicolas Lécureuil 2017-03-13 08:07:21 CET
is it still valid ?

CC: (none) => mageia

Comment 7 PC LX 2017-03-14 13:17:50 CET
I'm NOT seeing the freezes on a up-to-date cauldron. It seems to be fixed, at least here.

# uname -a
Linux marte 4.9.14-desktop-1.mga6 #1 SMP Mon Mar 13 09:57:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# rpm -qa | grep -E 'kernel|nouveau' | sort
kernel-desktop-4.9.14-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.14-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.9.14-1.mga6
kernel-desktop-latest-4.9.14-1.mga6
kernel-firmware-20170217-1.mga6
kernel-firmware-nonfree-20170309-1.mga6.nonfree
kernel-userspace-headers-4.9.14-1.mga6
lib64drm_nouveau2-2.4.75-1.mga6
libdrm_nouveau2-2.4.75-1.mga6
x11-driver-video-nouveau-1.0.14-1.mga6
Comment 8 Nicolas Lécureuil 2017-03-14 13:36:06 CET
thanks so closing

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 9 Arne Spiegelhauer 2017-03-14 14:50:29 CET
Can still be reproduced in "Workspace Theme" > "Splash Screen" on a fully updated STA2 (nvidia current).

Starting systemsettings5 in Konsole, I see the following logs:

When clicking "Splash Screen":

org.kde.kcoreaddons: Error loading plugin "kcm_splashscreen" "The shared library was not found." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set

kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/, tried ("/home/test/.local/share", "/var/lib/plasma5-profiles/common/share", "/usr/local/share", "/usr/share")
<repeated several times>

file:///usr/lib64/qt5/qml/QtQuick/Controls/Button.qml:96: TypeError: Cannot read property of null
<repeated 4 times>


Occasionally while resizing in bursts of up to 4, but not when freeze occurs:

file:///usr/share/kpackage/kcms/kcm_splashscreen/contents/ui/main.qml:35:9: QML GridView: Binding loop detected for property "cellWidth"

systemsettings5 is using 100% of one core and when gdb is attached, bt shows 89 stack levels.

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 10 Arne Spiegelhauer 2017-03-14 15:25:13 CET
Created attachment 9092 [details]
GDB stack trace after freeze

GDB stack trace, this time with 110 stack levels
Comment 11 Aurelien Oudelet 2020-09-09 21:18:55 CEST
Hi, thanks for reporting this bug.
Refers to nouveau driver interaction with Plasma Stack in Mageia 6.

We are sorry, but we no longer maintains this version of Mageia. Please upgrade to the latest version and reopen this bug against that version if this bug exists there.
As a result we are setting this bug to RESOLVED:OLD

CC: (none) => ouaurelien
Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.