Bug 396614

Summary: Plasmashell + Wayland - frequent hangs/crashes when opening start menu
Product: [Plasma] plasmashell Reporter: johan <kurko2000>
Component: generic-waylandAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kde
Priority: NOR Flags: kurko2000: Wayland+
Version: 5.13.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Crash report from KDE crash reporter
Crash report, plasmashell 5.14.4, using the system menu (shutdown submenu)
Crash report, plasmashell 5.14.5, using the system menu

Description johan 2018-07-17 19:06:56 UTC
Created attachment 113990 [details]
Crash report from KDE crash reporter

When opening or using the applications menu/start menu when using Wayland, Plasmashell often hangs or crashes. This can happen in several different ways but I'm not sure if these are related:

1) Plasmashell crashes and restarts, and the KDE bug reporter is started. A crash report is attached.

2) Plasmashell freezes and stops working (CPU usage goes to 100% of 1 core) but keyboard and mouse still work and can be used to switch between tasks or to access text console.

3) Plasmashell freezes and keyboard and mouse are frozen too. Only kernel SysRq keys can be used to reboot the computer or sometimes to recover from the situation without rebooting.


I think this problem, and especially nr. 3), happens more often if you move the mouse over the menu immediately after clicking the menu icon, i.e. before the menu opening effect has finished. Or, move the mouse *very* fast over the opened menu.

This does not seem to happen when X11 is used.

System information:
Arch Linux, x86-64, kernel version (uname -a): 4.17.5-1-ARCH
Plasma package versions: 5.13.3-1
GPU: Nvidia GTX 980 Ti
Driver: Nouveau
KDE workspace themes: 
--Look and feel: Oxygen
--Desktop theme: Oxygen
--Cursor theme: Oxygen white
--Splash screen: Breeze
Comment 1 johan 2019-01-11 20:41:25 UTC
Created attachment 117410 [details]
Crash report, plasmashell 5.14.4, using the system menu (shutdown submenu)
Comment 2 johan 2019-01-11 20:44:14 UTC
Plasmashell version 5.14.4 crashed today when I had the applications menu open and was about to open the shutdown menu. It restarted automatically and the crash reporter appeared. A log is attached.
Comment 3 johan 2019-01-12 10:33:05 UTC
Created attachment 117416 [details]
Crash report, plasmashell 5.14.5, using the system menu
Comment 4 johan 2019-01-12 10:34:50 UTC
Another crash report attached. Plasmashell version 5.14.5. Plasmashell crashed when I used the system menu/applications menu.
Comment 5 David Edmundson 2019-01-12 11:56:59 UTC
#7  0x00007f6982a77a19 in  () at /usr/lib/libdrm_nouveau.so.2
#8  0x00007f6982dd4fe1 in  () at /usr/lib/dri/nouveau_dri.so
#9  0x00007f6982dd9a4f in  () at /usr/lib/dri/nouveau_dri.so
#10 0x00007f6982dd9cb2 in  () at /usr/lib/dri/nouveau_dri.so
#11 0x00007f6983347aaa in  () at /usr/lib/dri/nouveau_dri.so
#12 0x00007f6983069157 in  () at /usr/lib/dri/nouveau_dri.so
#13 0x00007f6982f16b0c in  () at /usr/lib/dri/nouveau_dri.so
#14 0x00007f6982f18e48 in  () at /usr/lib/dri/nouveau_dri.so
#15 0x00007f6992820aeb in QSGBatchRenderer::Renderer::unmap(QSGBatchRenderer::Buffer*, bool) () at /usr/lib/libQt5Quick.so.5

Almost certainly an upstream issue.

You might get better stability choosing the basic render loop under "kcmshell5 qtquicksettings"
Comment 6 johan 2019-01-19 16:31:55 UTC
I changed the render loop setting to basic and it seems to be more stable indeed. I haven't experienced any crashes yet, but Plasma may sometimes freeze when trying to shut down the computer.