Bug 424488 - Log out then login causes plasmashell to crashes
Summary: Log out then login causes plasmashell to crashes
Status: RESOLVED DUPLICATE of bug 424408
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.19.3
Platform: Manjaro Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-20 21:43 UTC by medin
Modified: 2021-02-24 04:53 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash report (2.67 KB, text/plain)
2020-08-16 22:25 UTC, Roger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-07-20 21:43:33 UTC
When I log out then log in, sometimes only mouse appears and plasmashell fails to start, and sometimes it starts but after long time, this problem was not present with 5.18.5, only after updating to 5.19.3 I got this problem, here's the log filtered to contains only errors :

7/20/20 10:35 PM	kactivitymanagerd	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:35 PM	audit	ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=1624 comm="kactivitymanage" exe="/usr/lib/kactivitymanagerd" sig=6 res=1
7/20/20 10:35 PM	audit	BPF prog-id=20 op=LOAD
7/20/20 10:35 PM	audit	BPF prog-id=21 op=LOAD
7/20/20 10:35 PM	audit	SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@2-1631-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
7/20/20 10:35 PM	audit	SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@969 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
7/20/20 10:35 PM	audit	USER_START pid=1618 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=:0 res=success'
7/20/20 10:35 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:35 PM	systemd-coredump	Process 1624 (kactivitymanage) of user 1000 dumped core.

Stack trace of thread 1624:
#0  0x00007f7cc27ca355 raise (libc.so.6 + 0x3c355)
#1  0x00007f7cc27b3853 abort (libc.so.6 + 0x25853)
#2  0x00007f7cc2bc59ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f7cc3330546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f7cc33309e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f7cc2dee406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f7cc3333a20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f7cc3a3368a _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x16168a)
#8  0x000055c8e99bd5ef n/a (kactivitymanagerd + 0xb5ef)
#9  0x000055c8e99ba09f n/a (kactivitymanagerd + 0x809f)
#10 0x00007f7cc27b5002 __libc_start_main (libc.so.6 + 0x27002)
#11 0x000055c8e99ba2ae _start (kactivitymanagerd + 0x82ae)

7/20/20 10:35 PM	plasmashell	Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kglobalaccel received signal 6")
7/20/20 10:36 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:36 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:36 PM	systemd-coredump	Process 1652 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1652:
#0  0x00007fe6078fd355 raise (libc.so.6 + 0x3c355)
#1  0x00007fe6078e6853 abort (libc.so.6 + 0x25853)
#2  0x00007fe607cf89ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007fe6082ec546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007fe6082ec9e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007fe607f21406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007fe6082efa20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007fe6082f0988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x000055975effa08f n/a (kglobalaccel5 + 0x208f)
#9  0x00007fe6078e8002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x000055975effa3fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:36 PM	systemd-coredump	Process 1661 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1661:
#0  0x00007f0193c94355 raise (libc.so.6 + 0x3c355)
#1  0x00007f0193c7d853 abort (libc.so.6 + 0x25853)
#2  0x00007f019408f9ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f0194683546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f01946839e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f01942b8406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f0194686a20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f0194687988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x0000562ac67a508f n/a (kglobalaccel5 + 0x208f)
#9  0x00007f0193c7f002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x0000562ac67a53fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:36 PM	kglobalaccel5	This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
7/20/20 10:36 PM	systemd-coredump	Process 1665 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1665:
#0  0x00007f7375d66355 raise (libc.so.6 + 0x3c355)
#1  0x00007f7375d4f853 abort (libc.so.6 + 0x25853)
#2  0x00007f73761619ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f7376755546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f73767559e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f737638a406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f7376758a20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f7376759988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x00005630d731808f n/a (kglobalaccel5 + 0x208f)
#9  0x00007f7375d51002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x00005630d73183fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	systemd-coredump	Process 1682 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1682:
#0  0x00007f51a0ea8355 raise (libc.so.6 + 0x3c355)
#1  0x00007f51a0e91853 abort (libc.so.6 + 0x25853)
#2  0x00007f51a12a39ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f51a1897546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f51a18979e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f51a14cc406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f51a189aa20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f51a189b988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x00005630e11db08f n/a (kglobalaccel5 + 0x208f)
#9  0x00007f51a0e93002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x00005630e11db3fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	systemd-coredump	Process 1674 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1674:
#0  0x00007f37d4a66355 raise (libc.so.6 + 0x3c355)
#1  0x00007f37d4a4f853 abort (libc.so.6 + 0x25853)
#2  0x00007f37d4e619ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f37d5455546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f37d54559e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f37d508a406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f37d5458a20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f37d5459988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x000055f4f643f08f n/a (kglobalaccel5 + 0x208f)
#9  0x00007f37d4a51002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x000055f4f643f3fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	systemd-coredump	Process 1686 (kglobalaccel5) of user 1000 dumped core.

Stack trace of thread 1686:
#0  0x00007f18cdcbf355 raise (libc.so.6 + 0x3c355)
#1  0x00007f18cdca8853 abort (libc.so.6 + 0x25853)
#2  0x00007f18ce0ba9ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x919ac)
#3  0x00007f18ce6ae546 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x133546)
#4  0x00007f18ce6ae9e1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1339e1)
#5  0x00007f18ce2e3406 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2ba406)
#6  0x00007f18ce6b1a20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x136a20)
#7  0x00007f18ce6b2988 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137988)
#8  0x00005631d06a908f n/a (kglobalaccel5 + 0x208f)
#9  0x00007f18cdcaa002 __libc_start_main (libc.so.6 + 0x27002)
#10 0x00005631d06a93fe n/a (kglobalaccel5 + 0x23fe)

7/20/20 10:36 PM	systemd-coredump	Process 1222 (plasmashell) of user 1000 dumped core.

Stack trace of thread 1222:
#0  0x00007f8e13dd5355 raise (libc.so.6 + 0x3c355)
#1  0x00007f8e13dd53e0 __restore_rt (libc.so.6 + 0x3c3e0)
#2  0x0000565023803e60 n/a (n/a + 0x0)

7/20/20 10:36 PM	systemd-coredump	Process 1184 (kwin_x11) of user 1000 dumped core.

Stack trace of thread 1184:
#0  0x00007f03ca9c8355 n/a (n/a + 0x0)
Comment 1 Roger 2020-08-16 22:25:00 UTC
Created attachment 130922 [details]
crash report

plasmashell crashes on login after a logout. It not happens on the first login after a reboot, only when logout and login again.

Versions:
plasmashell 5.19.4
Qt 5.15.0
KDE Frameworks 5.73.0
openSUSE Tumbleweed 20200814
Linux 5.8.0-1-default x86_64
Comment 2 medin 2020-10-14 13:58:57 UTC
Problem is still persistent with :

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.4.67-1-MANJARO
OS Type: 64-bit
Comment 3 medin 2020-11-09 20:20:27 UTC
Same problem with Plasma 5.20.2
Comment 4 Roger 2020-11-14 08:41:41 UTC
I confirm that the bug persists on:
openSUSE-release 20201111-759.1
plasmashell 5.20.2
Qt 5.15.1
KDE Frameworks 5.75.0
Linux 5.9.1-2-default x86_64

Using loginctl commands I observed that the session keeps running even after log out. This is the cause of all the problems when logging in again. It seems related to bug: https://bugs.kde.org/show_bug.cgi?id=359651

Some of the process that persist with my session are: kio_http_cache_cleaner, kwin_x11, hp-systray ...
Comment 5 Bruno Filipe 2020-11-18 04:23:32 UTC
This was driving me crazy. I'm using https://invent.kde.org/plasma/plasma-workspace/commit/da34fd073f6b361fde1fdcee559d60e8c0268cd6 as a workaround for now, no hangs yet on login with that revert.
Comment 6 Guido 2020-12-18 02:52:36 UTC
I confirm the bug in:
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.10.1-4-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3-3227U CPU @ 1.90GHz
Memory: 5.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Comment 7 Nate Graham 2021-02-24 04:53:54 UTC

*** This bug has been marked as a duplicate of bug 424408 ***