https://bugs.kde.org/show_bug.cgi?id=465514

            Bug ID: 465514
           Summary: Full Graphical Environment Hangs/Freezes, but System
                    Still Working
    Classification: Plasma
           Product: kwin
           Version: 5.26.90
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: cont...@dylanorr.com
  Target Milestone: ---

SUMMARY

The issue itself is a crashing/hanging issue of what appears to be the entirety
of plasma and requires a full system reboot in order to solve. The issue always
occurs within 15-60 seconds after a reboot but does not always occur
(frustratingly). It appears that it is *just* the GUI that is hanging because
SSH still works and audio (that was started prior to the hang), will continue
to play. 

On the topic of SSH, connecting and trying to restart SDDM, plasmashell, etc.
either do nothing, or gives:

***
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it
was found.
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.

Aborted (core dumped)
***
Dump report:
***
[🡕] Process 2711 (kstart) of user 1000 dumped core.

                                                  Stack trace of thread 2711:
                                                  #0  0x00007ffae0ea08ec n/a
(libc.so.6 + 0x878ec)
                                                  #1  0x00007ffae0e51ea8 raise
(libc.so.6 + 0x38ea8)
                                                  #2  0x00007ffae0e3b53d abort
(libc.so.6 + 0x2253d)
                                                  #3  0x00007ffae149fede
_ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fede)
                                                  #4  0x00007ffae1b3c955
_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 +
0x13c955)
                                                  #5  0x00007ffae1b3cf99
_ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 +
0x13cf99)
                                                  #6  0x00007ffae169357b
_ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29357b)
                                                  #7  0x00007ffae1b3d049
_ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13d049)
                                                  #8  0x00007ffae2375e0e
_ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175e0e)
                                                  #9  0x00005595f7d7a19f n/a
(kstart + 0x419f)
                                                  #10 0x00007ffae0e3c790 n/a
(libc.so.6 + 0x23790)
                                                  #11 0x00007ffae0e3c84a
__libc_start_main (libc.so.6 + 0x2384a)
                                                  #12 0x00005595f7d7cc45 n/a
(kstart + 0x6c45)

                                                  Stack trace of thread 2712:
                                                  #0  0x00007ffae0f139df __poll
(libc.so.6 + 0xfa9df)
                                                  #1  0x00007ffae056dc2f n/a
(libglib-2.0.so.0 + 0xacc2f)
                                                  #2  0x00007ffae05150e2
g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                  #3  0x00007ffae16d8c6c
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x2d8c6c)
***

My two guesses are that it either has something to do with SDDM, or starting
programs shortly after login. I believe these things to be related as I have
never had the error occur on two sequential reboots (e.g. Rebooted, GUI hung,
Rebooted) and I have had/am having issues with SDDM & systemd not correctly
shutting down (Although I have not seemed to have had this issue recently).
Starting applications is my second guess because I am usually in the process of
starting up applications during the hang, and (likely placebo) it feels as
though waiting for the "time window" to pass before opening apps results in the
issue happening significantly less, if at all.

I had this issue on 5.26. Upgraded to the 5.27 beta and it's still happening.
Reinstalled Arch entirely, same thing. Found somewhat similar articles/bug
reports, but no dice.

The issue itself is frustratingly intermittent, but luckily it does produce
crash reports:

***
Feb 08 00:00:01 archlinux systemd-coredump[167156]: [🡕] Process 167117
(org_kde_powerde) of user 1000 dumped core.

                                                    Stack trace of thread
167117:
                                                    #0  0x00007f714fea08ec n/a
(libc.so.6 + 0x878ec)
                                                    #1  0x00007f714fe51ea8
raise (libc.so.6 + 0x38ea8)
                                                    #2  0x00007f715143137c
_ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x737c)
                                                    #3  0x00007f714fe51f50 n/a
(libc.so.6 + 0x38f50)
                                                    #4  0x00007f715144b479
wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0xa479)
                                                    #5  0x00007f715144bafa
wl_proxy_marshal_flags (libwayland-client.so.0 + 0xaafa)
                                                    #6  0x00007f71484c8239 n/a
(libKF5ScreenDpms.so.8 + 0x6239)
                                                    #7  0x00007f71506bea71 n/a
(libQt5Core.so.5 + 0x2bea71)
                                                    #8  0x00007f714aba2aef
_ZN15QtWaylandClient15QWaylandDisplay19addRegistryListenerEPFvPvP11wl_registryjRK7QStringjES1_
(libQt5WaylandClient.so.5 + 0x74aef)
                                                    #9  0x00007f714abc0760
_ZN23QWaylandClientExtension19addRegistryListenerEv (libQt5WaylandClient.so.5 +
0x92760)
                                                    #10 0x00007f715069d51e
_ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_
(libQt5Core.so.5 + 0x29d51e)
                                                    #11 0x00007f715069df10
_ZN11QMetaObject12invokeMethodEP7QObjectPKcN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS7_S7_S7_S7_S7_S7_S7_S7_S7_
(libQt5Core.so.5 + 0x29df10)
                                                    #12 0x00007f71484c7878 n/a
(libKF5ScreenDpms.so.8 + 0x5878)
                                                    #13 0x00007f71484c9338
_ZNK7KScreen4Dpms11isSupportedEv (libKF5ScreenDpms.so.8 + 0x7338)
                                                    #14 0x00007f71513fad20
_ZN10PowerDevil10ActionPool4initEPNS_4CoreE (libpowerdevilcore.so.2 + 0x12d20)
                                                    #15 0x00007f71514029fd
_ZN10PowerDevil4Core14onBackendReadyEv (libpowerdevilcore.so.2 + 0x1a9fd)
                                                    #16 0x00007f71506bea71 n/a
(libQt5Core.so.5 + 0x2bea71)
                                                    #17 0x00007f7148f5934b
_ZN23PowerDevilUPowerBackend18initWithBrightnessEb (powerdevilupowerbackend.so
+ 0x1134b)
                                                    #18 0x00007f71506bea71 n/a
(libQt5Core.so.5 + 0x2bea71)
                                                    #19 0x00007f7148f50494
_ZN23PowerDevilUPowerBackend24brightnessSupportQueriedEb
(powerdevilupowerbackend.so + 0x8494)
                                                    #20 0x00007f71506bea71 n/a
(libQt5Core.so.5 + 0x2bea71)
                                                    #21 0x00007f715128542a
_ZN4KJob6resultEPS_NS_14QPrivateSignalE (libKF5CoreAddons.so.5 + 0x5a42a)
                                                    #22 0x00007f715128b52c
_ZN4KJob9finishJobEb (libKF5CoreAddons.so.5 + 0x6052c)
                                                    #23 0x00007f71506bea71 n/a
(libQt5Core.so.5 + 0x2bea71)
                                                    #24 0x00007f714aaf6785 n/a
(kauth_helper_plugin.so + 0xa785)
                                                    #25 0x00007f714aaf6e91 n/a
(kauth_helper_plugin.so + 0xae91)
                                                    #26 0x00007f715120c45f n/a
(libQt5DBus.so.5 + 0x6145f)
                                                    #27 0x00007f71506b1bb0
_ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2b1bb0)
                                                    #28 0x00007f715068df48
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 +
0x28df48)
                                                    #29 0x00007f715068ea53
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt5Core.so.5 + 0x28ea53)
                                                    #30 0x00007f71506d4e88 n/a
(libQt5Core.so.5 + 0x2d4e88)
                                                    #31 0x00007f714f46e82b
g_main_context_dispatch (libglib-2.0.so.0 + 0x5582b)
                                                    #32 0x00007f714f4c5cc9 n/a
(libglib-2.0.so.0 + 0xaccc9)
                                                    #33 0x00007f714f46d0e2
g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                    #34 0x00007f71506d8c6c
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x2d8c6c)
                                                    #35 0x00007f71506866ec
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2866ec)
                                                    #36 0x00007f7150691219
_ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x291219)
                                                    #37 0x000055a83bbfa55b n/a
(org_kde_powerdevil + 0x655b)
                                                    #38 0x00007f714fe3c790 n/a
(libc.so.6 + 0x23790)
                                                    #39 0x00007f714fe3c84a
__libc_start_main (libc.so.6 + 0x2384a)
                                                    #40 0x000055a83bbfb095 n/a
(org_kde_powerdevil + 0x7095)

                                                    Stack trace of thread
167122:
                                                    #0  0x00007f714ff139df
__poll (libc.so.6 + 0xfa9df)
                                                    #1  0x00007f714aba0d1d n/a
(libQt5WaylandClient.so.5 + 0x72d1d)
                                                    #2  0x00007f71504e432a n/a
(libQt5Core.so.5 + 0xe432a)
                                                    #3  0x00007f714fe9ebb5 n/a
(libc.so.6 + 0x85bb5)
                                                    #4  0x00007f714ff20d90 n/a
(libc.so.6 + 0x107d90)

                                                    Stack trace of thread
167125:
                                                    #0  0x00007f714ff139df
__poll (libc.so.6 + 0xfa9df)
                                                    #1  0x00007f714f4c5c2f n/a
(libglib-2.0.so.0 + 0xacc2f)
                                                    #2  0x00007f714f46dd8f
g_main_loop_run (libglib-2.0.so.0 + 0x54d8f)
                                                    #3  0x00007f7148e5baec n/a
(libgio-2.0.so.0 + 0x10aaec)
                                                    #4  0x00007f714f49bdb5 n/a
(libglib-2.0.so.0 + 0x82db5)
                                                    #5  0x00007f714fe9ebb5 n/a
(libc.so.6 + 0x85bb5)
                                                    #6  0x00007f714ff20d90 n/a
(libc.so.6 + 0x107d90)

                                                    Stack trace of thread
167121:
                                                    #0  0x00007f714ff139df
__poll (libc.so.6 + 0xfa9df)
                                                    #1  0x00007f714f4c5c2f n/a
(libglib-2.0.so.0 + 0xacc2f)
                                                    #2  0x00007f714f46d0e2
g_main_context_iteration (libglib-2.0.so.0 + 0x540e2)
                                                    #3  0x00007f71506d8c6c
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x2d8c6c)
                                                    #4  0x00007f71506866ec
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2866ec)
                                                    #5  0x00007f71504e725f
_ZN7QThread4execEv (libQt5Core.so.5 + 0xe725f)
                                                    #6  0x00007f71511cecba n/a
(libQt5DBus.so.5 + 0x23cba)

***

STEPS TO REPRODUCE
1. Restart the system
2. Get unlucky with something
3. GUI hangs but rest of system is still working

OBSERVED RESULT
Intermittent Hanging/Freezing

EXPECTED RESULT
No hanging/crashing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.10-arch-1
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I am using the Wayland session of KDE

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to