Bug 483997 - KScreenLocker breaks when Wayland crashes
Summary: KScreenLocker breaks when Wayland crashes
Status: RESOLVED DUPLICATE of bug 480326
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-19 13:21 UTC by techxgames
Modified: 2024-05-14 23:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description techxgames 2024-03-19 13:21:42 UTC
SUMMARY
I get the Screen locker is inaccessible error.

STEPS TO REPRODUCE
Unsure as I'm not working in the office all the time, and I come in, and I see that message.

OBSERVED RESULT
Journal seems to indicate it's tied to Wayland

EXPECTED RESULT
Shouldn't crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.10-76060610-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series

ADDITIONAL INFORMATION
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207486]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207486]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207486]: qt.qpa.wayland: Attempted to load the following shells QList("layer-shell")
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207486]: qt.qpa.wayland: Loading shell integration failed.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207483]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207483]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207483]: qt.qpa.wayland: Attempted to load the following shells QList("layer-shell")
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207483]: qt.qpa.wayland: Loading shell integration failed.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207479]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207479]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207479]: qt.qpa.wayland: Attempted to load the following shells QList("layer-shell")
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[2207479]: qt.qpa.wayland: Loading shell integration failed.
Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[680339]: The Wayland connection broke. Did the Wayland compositor die?
Mar 15 10:18:59 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:15:33 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:15:32 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:11:34 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:11:34 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:07:05 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:07:05 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:04:27 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:04:27 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:01:50 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 10:01:50 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 09:58:02 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 09:58:02 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 09:55:03 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Mar 15 09:53:02 FTO-Y4M1 kscreenlocker_greet[680339]: kde.dataengine.mpris: mpris:trackid from "Rhythmbox" does not conform to the MPRIS2 standard. Please report the issue to the developer.
Comment 1 Nate Graham 2024-04-11 01:54:28 UTC
> Mar 15 10:21:20 FTO-Y4M1 kscreenlocker_greet[680339]: The Wayland connection broke. Did the
> Wayland compositor die?
Well did it? :) 

If it did, we need to know why KWin crashed. For that, we need a backtrace of the crash for the kwin_wayland process. You may be able to retrieve it with coredumpctl. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

Can you see if there is one?
Comment 2 techxgames 2024-04-16 13:18:28 UTC
I'll get back to you on that.  It just happened, and I don't have coredumpctl installed in this workstation
Comment 3 Bug Janitor Service 2024-05-01 03:46:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 techxgames 2024-05-02 21:46:03 UTC
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=123291088106048) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=123291088106048) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=123291088106048, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007021f1642476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007021f16287f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007021f22fdb6e in qAbort () at ./src/corelib/global/qglobal.cpp:161
#6  0x00007021f22f820a in qt_message_fatal<QString&> (message=..., context=...) at ./src/corelib/global/qlogging.cpp:2025
#7  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=<optimized out>, ap=ap@entry=0x7ffd9c6e3640)
    at ./src/corelib/global/qlogging.cpp:374
#8  0x00007021f22fe511 in QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at ./src/corelib/global/qlogging.cpp:889
#9  0x00007021f22c2ac2 in qt_assert (assertion=assertion@entry=0x7021f25f5050 "!d->sensorObjects.contains(id)", file=file@entry=0x7021f25f5028 "./systemstats/SensorContainer.cpp", line=line@entry=57)
    at ./src/corelib/global/qassert.cpp:68
#10 0x00007021f25dc3e4 in KSysGuard::SensorContainer::addObject (this=0x5dd7def72b00, object=0x5dd7df11b190) at ./systemstats/SensorContainer.cpp:57
#11 0x00007021f21fa272 in QObject::event (this=0x5dd7def72b00, e=0x5dd7df038b30) at ./src/corelib/kernel/qobject.cpp:1446
#12 0x00007021f22a1c13 in doNotify (event=<optimized out>, receiver=<optimized out>) at ./src/corelib/kernel/qcoreapplication.cpp:1235
#13 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at ./src/corelib/kernel/qcoreapplication.cpp:1218
#14 QCoreApplication::notifyInternal2 (receiver=0x5dd7def72b00, event=event@entry=0x5dd7df038b30) at ./src/corelib/kernel/qcoreapplication.cpp:1134
#15 0x00007021f22a1c7d in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x5dd7df038b30) at ./src/corelib/kernel/qcoreapplication.cpp:1575
#16 0x00007021f22a23e0 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5dd7def63f10) at ./src/corelib/kernel/qcoreapplication.cpp:1932
#17 0x00007021f2078277 in postEventSourceDispatch (s=0x5dd7def68f50) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:244
#18 0x00007021f0f20d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007021f0f76258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007021f0f1e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007021f2076570 in QEventDispatcherGlib::processEvents (this=0x5dd7def66310, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:394
#22 0x00007021f22a3e3b in QEventLoop::exec (this=this@entry=0x7ffd9c6e3b60, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#23 0x00007021f22a5a6c in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74
#24 0x00005dd7dd266fb8 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:31
Comment 5 techxgames 2024-05-02 21:47:30 UTC
Wrong bt

Here's the right one

(gdb) bt
#0  0x000076df62886e98 in KWin::EffectWindow::pos() const () at /lib/x86_64-linux-gnu/libkwin.so.6
#1  0x00005b83efba4951 in  ()
#2  0x000076df62865741 in KWin::EffectsHandler::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, std::chrono::duration<long, std::ratio<1l, 1000l> >) () at /lib/x86_64-linux-gnu/libkwin.so.6
#3  0x000076df6296fa75 in KWin::WorkspaceScene::preparePaintSimpleScreen() () at /lib/x86_64-linux-gnu/libkwin.so.6
#4  0x000076df62972705 in KWin::WorkspaceScene::prePaint(KWin::SceneDelegate*) () at /lib/x86_64-linux-gnu/libkwin.so.6
#5  0x000076df6296048a in KWin::SceneDelegate::prePaint() () at /lib/x86_64-linux-gnu/libkwin.so.6
#6  0x000076df627f6f59 in KWin::Compositor::prePaintPass(KWin::RenderLayer*, QRegion*) () at /lib/x86_64-linux-gnu/libkwin.so.6
#7  0x000076df627f7a70 in KWin::Compositor::composite(KWin::RenderLoop*) () at /lib/x86_64-linux-gnu/libkwin.so.6
#8  0x000076df6026355e in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#9  0x000076df62815526 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () at /lib/x86_64-linux-gnu/libkwin.so.6
#10 0x000076df62817987 in KWin::RenderLoopPrivate::dispatch() () at /lib/x86_64-linux-gnu/libkwin.so.6
#11 0x000076df6026355e in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#12 0x000076df602165ae in QTimer::timeout(QTimer::QPrivateSignal) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x000076df601fa1ce in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x000076df6140992b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#15 0x000076df602a1c38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#16 0x000076df60182dda in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#17 0x000076df60185cdd in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#18 0x000076df60b11501 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#19 0x000076df602a3e3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#20 0x000076df602a5a6c in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x00005b83efb6904a in  ()
#22 0x000076df5f629d90 in __libc_start_call_main (main=main@entry=0x5b83efb66d60, argc=argc@entry=14, argv=argv@entry=0x7ffc6b8ad978) at ../sysdeps/nptl/libc_start_call_main.h:58
#23 0x000076df5f629e40 in __libc_start_main_impl (main=0x5b83efb66d60, argc=14, argv=0x7ffc6b8ad978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc6b8ad968) at ../csu/libc-start.c:392
#24 0x00005b83efb6f8b5 in  ()
Comment 6 techxgames 2024-05-02 21:48:17 UTC
May have been tied to my PCoIP

(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=124434375484544) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=124434375484544) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=124434375484544, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x0000712c1e642476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x0000712c1e628885 in __GI_abort () at ./stdlib/abort.c:100
#5  0x0000712c1a0b3abb in ?? () from /lib/libGraphicsMagick-Q16.so.3
#6  <signal handler called>
#7  __pthread_kill_implementation (no_tid=0, signo=6, threadid=124434375484544) at ./nptl/pthread_kill.c:44
#8  __pthread_kill_internal (signo=6, threadid=124434375484544) at ./nptl/pthread_kill.c:78
#9  __GI___pthread_kill (threadid=124434375484544, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#10 0x0000712c1e642476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#11 0x0000712c1e6287f3 in __GI_abort () at ./stdlib/abort.c:79
#12 0x0000712c1eaa2b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x0000712c1eaae20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#14 0x0000712c1eaae277 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#15 0x00005f1211233661 in std::thread::~thread() ()
#16 0x0000712c1e645a56 in __cxa_finalize (d=0x712c1fa47c00) at ./stdlib/cxa_finalize.c:83
#17 0x0000712c1f8a7967 in ?? () from /usr/lib/x86_64-linux-gnu/pcoip-client/libbroker_client.so
#18 0x00007fff57139fe0 in ?? ()
#19 0x0000712c2512724e in _dl_fini () at ./elf/dl-fini.c:142
Backtrace stopped: frame did not save the PC
Comment 7 techxgames 2024-05-13 03:07:35 UTC
Posted my backtrace (not sure if I'm supposed to be the one changing)
Comment 8 Nate Graham 2024-05-14 23:36:22 UTC
Thanks, that's helpful. Looks like Bug 480326.

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