Bug 490312 - Plasma crashes after unlocking the screen(?)
Summary: Plasma crashes after unlocking the screen(?)
Status: RESOLVED DUPLICATE of bug 489180
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-15 15:42 UTC by pawel.veselov
Modified: 2024-07-15 21:36 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (189.84 KB, text/plain)
2024-07-15 15:42 UTC, pawel.veselov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pawel.veselov 2024-07-15 15:42:03 UTC
Application: plasmashell (6.1.2)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.8-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.2 [CoredumpBackend]

-- Information about the crash:
I don't know the exact conditions that makes this happen.
But it happened more than once after the following sequence:

* lock screen
* switch away kbd+mouse (KVM)
* switch away monitor (monitor input from this box to another, no KVM)
* switch away USB sound (dual-USB headphone base)
* do stuff on other box
* switch back kbd+mouse
* switch back monitor
* unlock
* see Drkonqi + restarted plasma shell

If the order of started windows didn't shuffle each time plasma shell restarted, I honestly woulnd't even noticed that (except for Konqi) or cared as much.

Relevant logs leading up to the crash:

<no logs for ~1 minutes before this>
Jul 15 05:56:11 druid kwin_wayland[5964]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jul 15 05:56:11 druid kwin_wayland[5964]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jul 15 05:56:11 druid kwin_wayland[5964]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jul 15 05:56:11 druid plasmashell[172968]: KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
Jul 15 05:56:11 druid audit[172968]: ANOM_ABEND auid=1224 uid=1224 gid=1224 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=172968 comm="QSGRenderThread" exe="/usr/bin/plasmashell" sig=11 res=1
Jul 15 05:56:11 druid systemd[1]: Started systemd-coredump@2-318646-0.service - Process Core Dump (PID 318646/UID 0).
Jul 15 05:56:11 druid audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@2-318646-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:11 druid systemd[1]: Started drkonqi-coredump-processor@2-318646-0.service - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Jul 15 05:56:11 druid audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@2-318646-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:11 druid kwin_wayland[5964]: kwin_core: KWin::LayerShellV1Window doesn't support setting maximized state
Jul 15 05:56:11 druid kwin_wayland[5964]: kwin_core: KWin::LayerShellV1Window doesn't support setting fullscreen state
Jul 15 05:56:11 druid plasma-emojier[204456]: KCrash: Application 'plasma-emojier' crashing... crashRecursionCounter = 2
Jul 15 05:56:11 druid audit[204456]: ANOM_ABEND auid=1224 uid=1224 gid=1224 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=204456 comm="plasma-emojier" exe="/usr/bin/plasma-emojier" sig=11 res=1
Jul 15 05:56:11 druid kwin_wayland[5964]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jul 15 05:56:11 druid kwin_wayland[5964]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Jul 15 05:56:11 druid systemd[1]: Started systemd-coredump@3-318650-0.service - Process Core Dump (PID 318650/UID 0).
Jul 15 05:56:11 druid audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-318650-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:11 druid systemd[1]: Started drkonqi-coredump-processor@3-318650-0.service - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Jul 15 05:56:11 druid audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@3-318650-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:11 druid audit[313189]: ANOM_ABEND auid=1224 uid=1224 gid=1224 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=313189 comm="kscreenlocker_g" exe="/usr/libexec/kscreenlocker_greet" sig=11 res=1
Jul 15 05:56:11 druid kernel: show_signal_msg: 37 callbacks suppressed
Jul 15 05:56:11 druid kernel: kscreenlocker_g[313189]: segfault at 8 ip 00007fc62a218884 sp 00007ffcd636fca8 error 4 in libQt6Gui.so.6.7.2[7fc62a10e000+6db000] likely on CPU 28 (core 44, socket 0)
Jul 15 05:56:11 druid kernel: Code: ff ff ff 0f 1f 00 ff d0 48 89 45 b0 48 89 55 b8 e9 dc fe ff ff e8 cc ef f0 ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa <48> 8b 57 08 48 8b 02 48 85 c0 74 10 8b 40 04 85 c0 74 09 48 8b 42
Jul 15 05:56:12 druid systemd-coredump[318652]: Process 204456 (plasma-emojier) of user 1224 dumped core.
Jul 15 05:56:12 druid systemd[1]: systemd-coredump@3-318650-0.service: Deactivated successfully.
Jul 15 05:56:12 druid audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-318650-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:12 druid systemd[5675]: app-org.kde.plasma.emojier@f6a32f2f68174ddf944c81ed28ab6b25.service: Main process exited, code=dumped, status=11/SEGV
Jul 15 05:56:12 druid systemd[5675]: app-org.kde.plasma.emojier@f6a32f2f68174ddf944c81ed28ab6b25.service: Failed with result 'core-dump'.
Jul 15 05:56:12 druid systemd[5675]: app-org.kde.plasma.emojier@f6a32f2f68174ddf944c81ed28ab6b25.service: Consumed 2.609s CPU time, 3.4M memory peak, 0B memory swap peak.
Jul 15 05:56:12 druid systemd[5675]: Started drkonqi-coredump-launcher@5-318653-0.service - Launch DrKonqi for a systemd-coredump crash (PID 318653/UID 0).
Jul 15 05:56:12 druid systemd[1]: drkonqi-coredump-processor@3-318650-0.service: Deactivated successfully.
Jul 15 05:56:12 druid audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@3-318650-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:12 druid abrt-server[318762]: Package 'plasma-desktop' isn't signed with proper key
Jul 15 05:56:12 druid abrt-server[318762]: 'post-create' on '/var/spool/abrt/ccpp-2024-07-15-05:56:12.457691-204456' exited with 1
Jul 15 05:56:12 druid abrt-server[318762]: Deleting problem directory '/var/spool/abrt/ccpp-2024-07-15-05:56:12.457691-204456'
Jul 15 05:56:12 druid drkonqi[318763]: kf5idletime_wayland: This plugin does not support polling idle time
Jul 15 05:56:12 druid org_kde_powerdevil[6317]: dh=Display_Handle[i2c-9: fd=26], Keeping adjusted sleep multiplier 1.00 for SE_POST_WRITE or SE_POST_SAVE_SETTINGS
Jul 15 05:56:13 druid systemd-coredump[318647]: Process 172968 (plasmashell) of user 1224 dumped core.
Jul 15 05:56:13 druid systemd[1]: systemd-coredump@2-318646-0.service: Deactivated successfully.
Jul 15 05:56:13 druid audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@2-318646-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 15 05:56:13 druid systemd[1]: systemd-coredump@2-318646-0.service: Consumed 1.874s CPU time.
Jul 15 05:56:13 druid systemd[5675]: Started dbus-:1.2-org.freedesktop.Notifications@1.service.
Jul 15 05:56:13 druid systemd[5675]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
Jul 15 05:56:13 druid systemd[5675]: plasma-plasmashell.service: Failed with result 'core-dump'.
Jul 15 05:56:13 druid systemd[5675]: plasma-plasmashell.service: Consumed 1h 31min 52.438s CPU time.
Jul 15 05:56:13 druid systemd[5675]: plasma-ksystemstats.service: Consumed 9min 6.010s CPU time.
Jul 15 05:56:13 druid systemd[5675]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 3.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=this@entry=0x562638f84930) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:956
#6  0x00007ff63adabb9b in QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x562638f84930) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1519
#7  QtWaylandClient::QWaylandWindow::scale (this=this@entry=0x562638f84930) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1516
#8  0x00007ff63315bfdb in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x562638f84930, create=true) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#9  0x00007ff63315c973 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x7ff504002210, surface=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318


Reported using DrKonqi
Comment 1 pawel.veselov 2024-07-15 15:42:04 UTC
Created attachment 171680 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2024-07-15 21:36:33 UTC
Thank you for the bug report! This issue has already been filed and determined to be an upstream bug in Qt; please see that bug report for updates on a fix.

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