Bug 423774 - Coredump While Logging Out
Summary: Coredump While Logging Out
Status: REPORTED
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.71.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 23:12 UTC by vindicator
Modified: 2021-04-19 21:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
list of coredumps for 3 days (41.19 KB, text/plain)
2020-07-03 07:30 UTC, BingMyBong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vindicator 2020-07-01 23:12:08 UTC
SUMMARY
Crash while trying to restart computer (https://bugs.kde.org/show_bug.cgi?id=423773).


STEPS TO REPRODUCE
1. Restart computer button

OBSERVED RESULT
Computer restarts cleanly


EXPECTED RESULT
Crash, but still restarts.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
*****
Jul 01 17:22:13 computerName systemd-coredump[1683526]: Process 1683515 (kglobalaccel5) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1683515:
                                                  #0  0x00007e1c1556a355 raise (libc.so.6 + 0x3c355)
                                                  #1  0x00007e1c15553853 abort (libc.so.6 + 0x25853)
                                                  #2  0x00007e1c159649ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
                                                  #3  0x00007e1c15f580e6 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x1330e6)
                                                  #4  0x00007e1c15f58581 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x133581)
                                                  #5  0x00007e1c15b8d2e6 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2b92e6)
                                                  #6  0x00007e1c15f5b5c0 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x1365c0)
                                                  #7  0x00007e1c15f5c528 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137528)
                                                  #8  0x00006521e2f8708f n/a (kglobalaccel5 + 0x208f)
                                                  #9  0x00007e1c15555002 __libc_start_main (libc.so.6 + 0x27002)
                                                  #10 0x00006521e2f873fe n/a (kglobalaccel5 + 0x23fe)
-- Subject: Process 1683515 (kglobalaccel5) dumped core
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 1683515 (kglobalaccel5) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
Jul 01 17:22:11 computerName dbus-daemon[1339]: [session uid=1000 pid=1339] Activated service 'org.kde.kglobalaccel' failed: Process org.kde.kglobalaccel received signal 6
Jul 01 17:22:11 computerName sddm[1230]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{14821b49-d9d8-4a42-b9c1-4985fb191f2f} -background none -noreset -displayfd 18 -seat seat0 vt1
...
Jul 01 17:22:11 computerName sddm[1230]: Display server stopped.
Jul 01 17:22:10 computerName kglobalaccel5[1683515]: 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.
Jul 01 17:22:10 computerName kglobalaccel5[1683515]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Jul 01 17:22:10 computerName audit[1683515]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 pid=1683515 comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5" sig=6 res=1
Jul 01 17:22:10 computerName kernel: audit: type=1701 audit(1593642130.148:1235): auid=1000 uid=1000 gid=1000 ses=3 pid=1683515 comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5" sig=6 res=1
Jul 01 17:22:10 computerName kglobalaccel5[1683515]: qt.qpa.xcb: could not connect to display :0
Jul 01 17:22:10 computerName dbus-daemon[1339]: [session uid=1000 pid=1339] Activating service name='org.kde.kglobalaccel' requested by ':1.7436' (uid=1000 pid=730224 comm="plasmashell --replace ")
Jul 01 17:22:09 computerName kscreen_backend_launcher[1610]: The X11 connection broke (error 1). Did the X11 server die?
*****
Comment 1 BingMyBong 2020-07-03 07:30:50 UTC
Created attachment 129860 [details]
list of coredumps for 3 days
Comment 2 BingMyBong 2020-07-03 07:34:06 UTC
I can confirm this happens in opensuse:tumbleweed:20200622 (Qt: 5.15.0 KDE Frameworks: 5.71.0 - KDE Plasma:  5.19.1 - kwin 5.19.1 kmail2 5.14.2 (20.04.2) - akonadiserver 5.14.2 (20.04.2) - Kernel:  5.7.2-1-default)

I've attached a directory listing of the systemd coredump directory for the last 3 days -  i don't know how to decode a coredump so if you need more info, you'll have to guide me.
Comment 3 Yaroslav Sidlovsky 2020-10-20 13:35:38 UTC
Same bug found on the Fedora 33 (prerelease): https://bugzilla.redhat.com/show_bug.cgi?id=1861700.
Comment 4 BingMyBong 2020-10-21 06:38:24 UTC
Still happening with this release

opensuse:tumbleweed:20201014
Qt: 5.15.1 KDE Frameworks: 5.75.0 - KDE Plasma:  5.20.0 - kwin 5.20.0
kmail2 5.15.2 (20.08.2) - akonadiserver 5.15.2 (20.08.2) - Kernel:  5.8.14-1-default  - xf86-video-nouveau:  1.0.16
Comment 5 Yaroslav Sidlovsky 2020-10-21 14:02:11 UTC
Looks like this bug somehow was caused by nouveau.
I see that Kamil Páral (from Fedora issue) using it too.
Comment 6 BingMyBong 2020-10-22 06:34:55 UTC
(In reply to Yaroslav Sidlovsky from comment #5)
> Looks like this bug somehow was caused by nouveau.
> I see that Kamil Páral (from Fedora issue) using it too.

(In reply to vindicator from comment #0)
> SUMMARY
> Crash while trying to restart computer
> (https://bugs.kde.org/show_bug.cgi?id=423773).
> 
> 
> STEPS TO REPRODUCE
> 1. Restart computer button
> 
> OBSERVED RESULT
> Computer restarts cleanly
> 
> 
> EXPECTED RESULT
> Crash, but still restarts.
> 
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: Archlinux
> (available in About System)
> KDE Plasma Version: 5.19.1
> KDE Frameworks Version: 5.71.0
> Qt Version: 5.15.0
> 
> ADDITIONAL INFORMATION
> *****
> Jul 01 17:22:13 computerName systemd-coredump[1683526]: Process 1683515
> (kglobalaccel5) of user 1000 dumped core.
>                                                   
>                                                   Stack trace of thread
> 1683515:
>                                                   #0  0x00007e1c1556a355
> raise (libc.so.6 + 0x3c355)
>                                                   #1  0x00007e1c15553853
> abort (libc.so.6 + 0x25853)
>                                                   #2  0x00007e1c159649ac
> _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
>                                                   #3  0x00007e1c15f580e6
> _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 +
> 0x1330e6)
>                                                   #4  0x00007e1c15f58581
> _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 +
> 0x133581)
>                                                   #5  0x00007e1c15b8d2e6
> _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2b92e6)
>                                                   #6  0x00007e1c15f5b5c0
> _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x1365c0)
>                                                   #7  0x00007e1c15f5c528
> _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x137528)
>                                                   #8  0x00006521e2f8708f n/a
> (kglobalaccel5 + 0x208f)
>                                                   #9  0x00007e1c15555002
> __libc_start_main (libc.so.6 + 0x27002)
>                                                   #10 0x00006521e2f873fe n/a
> (kglobalaccel5 + 0x23fe)
> -- Subject: Process 1683515 (kglobalaccel5) dumped core
> -- Defined-By: systemd
> -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> -- Documentation: man:core(5)
> -- 
> -- Process 1683515 (kglobalaccel5) crashed and dumped core.
> -- 
> -- This usually indicates a programming error in the crashing program and
> -- should be reported to its vendor as a bug.
> Jul 01 17:22:11 computerName dbus-daemon[1339]: [session uid=1000 pid=1339]
> Activated service 'org.kde.kglobalaccel' failed: Process
> org.kde.kglobalaccel received signal 6
> Jul 01 17:22:11 computerName sddm[1230]: Running: /usr/bin/X -nolisten tcp
> -auth /var/run/sddm/{14821b49-d9d8-4a42-b9c1-4985fb191f2f} -background none
> -noreset -displayfd 18 -seat seat0 vt1
> ...
> Jul 01 17:22:11 computerName sddm[1230]: Display server stopped.
> Jul 01 17:22:10 computerName kglobalaccel5[1683515]: 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.
> Jul 01 17:22:10 computerName kglobalaccel5[1683515]: qt.qpa.plugin: Could
> not load the Qt platform plugin "xcb" in "" even though it was found.
> Jul 01 17:22:10 computerName audit[1683515]: ANOM_ABEND auid=1000 uid=1000
> gid=1000 ses=3 pid=1683515 comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5"
> sig=6 res=1
> Jul 01 17:22:10 computerName kernel: audit: type=1701
> audit(1593642130.148:1235): auid=1000 uid=1000 gid=1000 ses=3 pid=1683515
> comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5" sig=6 res=1
> Jul 01 17:22:10 computerName kglobalaccel5[1683515]: qt.qpa.xcb: could not
> connect to display :0
> Jul 01 17:22:10 computerName dbus-daemon[1339]: [session uid=1000 pid=1339]
> Activating service name='org.kde.kglobalaccel' requested by ':1.7436'
> (uid=1000 pid=730224 comm="plasmashell --replace ")
> Jul 01 17:22:09 computerName kscreen_backend_launcher[1610]: The X11
> connection broke (error 1). Did the X11 server die?
> *****

This all started for me as soon as Plasma was upgraded to 5.19
Comment 7 Norbert 2021-04-19 21:05:39 UTC
I think this also affects me.
Using KDE Plasma 5.21.4, X11, nvidia-465.24.02-3, linux-5.11.15-arch1-2
This causes 10s (exact) delay when logging out. The delay is greatly reduced by disabling Blur desktop effect (As suggested by the last comment here: https://bbs.archlinux.org/viewtopic.php?pid=1938977#p1938977)

Also getting this in journalctl:
> Apr 19 22:56:58 NorbertPC kglobalaccel5[2802]: The X11 connection broke (error 1). Did the X11 server die?
> Apr 19 22:56:58 NorbertPC kactivitymanagerd[2864]: The X11 connection broke (error 1). Did the X11 server die?
> Apr 19 22:56:58 NorbertPC kscreen_backend_launcher[2950]: The X11 connection broke (error 1). Did the X11 server die?
> Apr 19 22:56:58 NorbertPC systemd[455]: plasma-kglobalaccel.service: Main process exited, code=exited, status=1/FAILURE
> Apr 19 22:56:58 NorbertPC systemd[455]: plasma-kglobalaccel.service: Failed with result 'exit-code'.
> Apr 19 22:56:58 NorbertPC systemd[455]: plasma-kactivitymanagerd.service: Deactivated successfully.
> Apr 19 22:56:58 NorbertPC systemd[455]: plasma-kglobalaccel.service: Scheduled restart job, restart counter is at 5.
> Apr 19 22:56:58 NorbertPC systemd[455]: Stopped KDE Global Shortcuts Server.
> Apr 19 22:56:58 NorbertPC systemd[455]: Starting KDE Global Shortcuts Server...
> Apr 19 22:56:58 NorbertPC kglobalaccel5[3437]: qt.qpa.xcb: could not connect to display :0
> Apr 19 22:56:58 NorbertPC kglobalaccel5[3437]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
> Apr 19 22:56:58 NorbertPC kglobalaccel5[3437]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
>                                                Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
> Apr 19 22:56:58 NorbertPC audit[3437]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=3437 comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5" sig=6 res=1
> Apr 19 22:56:58 NorbertPC kernel: kauditd_printk_skb: 30 callbacks suppressed
> Apr 19 22:56:58 NorbertPC kernel: audit: type=1701 audit(1618865818.837:162): auid=1000 uid=1000 gid=1000 ses=2 pid=3437 comm="kglobalaccel5" exe="/usr/bin/kglobalaccel5" sig=6 res=1
> Apr 19 22:56:58 NorbertPC audit: BPF prog-id=44 op=LOAD
> Apr 19 22:56:58 NorbertPC audit: BPF prog-id=45 op=LOAD
> Apr 19 22:56:58 NorbertPC audit: BPF prog-id=46 op=LOAD
> Apr 19 22:56:58 NorbertPC systemd[1]: Started Process Core Dump (PID 3442/UID 0).
> Apr 19 22:56:58 NorbertPC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-3442-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> Apr 19 22:56:58 NorbertPC kernel: audit: type=1334 audit(1618865818.841:163): prog-id=44 op=LOAD
> Apr 19 22:56:58 NorbertPC kernel: audit: type=1334 audit(1618865818.841:164): prog-id=45 op=LOAD
> Apr 19 22:56:58 NorbertPC kernel: audit: type=1334 audit(1618865818.841:165): prog-id=46 op=LOAD
> Apr 19 22:56:58 NorbertPC kernel: audit: type=1130 audit(1618865818.841:166): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@6-3442-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res>
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Supervising 5 threads of 1 processes of 1 users.
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Successfully made thread 3444 of process 2931 owned by '1000' RT at priority 5.
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Supervising 6 threads of 1 processes of 1 users.
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Supervising 5 threads of 1 processes of 1 users.
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Successfully made thread 3445 of process 2931 owned by '1000' RT at priority 5.
> Apr 19 22:56:58 NorbertPC rtkit-daemon[770]: Supervising 6 threads of 1 processes of 1 users.
> Apr 19 22:56:58 NorbertPC systemd-coredump[3443]: Process 3437 (kglobalaccel5) of user 1000 dumped core.
> 
> Stack trace of thread 3437:
> #0  0x00007fee0682eef5 raise (libc.so.6 + 0x3cef5)
> #1  0x00007fee06818862 abort (libc.so.6 + 0x26862)
> #2  0x00007fee06c2e9ac _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x909ac)
> #3  0x00007fee07226646 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x131646)
> #4  0x00007fee07226ae1 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x131ae1)
> #5  0x00007fee06e5b296 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x2bd296)
> #6  0x00007fee07229b20 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x134b20)
> #7  0x00007fee0722aa88 _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x135a88)
> #8  0x000056041ca1808f n/a (kglobalaccel5 + 0x208f)
> #9  0x00007fee06819b25 __libc_start_main (libc.so.6 + 0x27b25)
> #10 0x000056041ca184de n/a (kglobalaccel5 + 0x24de)