Bug 478422 - Plasma crashed in ScreencastingPrivate::ScreencastingPrivate() after hovering taskmanager app icon
Summary: Plasma crashed in ScreencastingPrivate::ScreencastingPrivate() after hovering...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-12-12 05:43 UTC by Jakob Petsovits
Modified: 2024-01-09 23:08 UTC (History)
4 users (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 Jakob Petsovits 2023-12-12 05:43:09 UTC
Application: plasmashell (5.90.90)
 (Compiled from sources)
Qt Version: 6.6.1
Frameworks Version: 5.247.0
Operating System: Linux 6.6.3-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.90.90 [CoredumpBackend]

-- Information about the crash:
Rebuilt all the workspace repos (incl. dependencies) from source today. Last time I pulled the whole set was perhaps one and a half weeks ago? I did not notice the crash then, so something probably changed in the meantime.

The crash happens reproducibly for me when simply hovering an application icon in the taskmanager applet, e.g. Dolphin or Firefox, without the app actually running at the time of hover. I figure it wants to set up screencasts for the app/window info popup, and fails, running into this assertion.

The crash itself comes from Q_ASSERT(isInitialized());
in plasma-workspace/libtaskmanager/declarative/screencasting.cpp,
constructor of ScreencastingPrivate which is a QWaylandClientExtensionTemplate for QtWayland::zkde_screencast_unstable_v1.

That code in particular was introduced in 2022, so it's more likely some kind of interaction issue.

I'm also aware that my Plasma 6 installation suffers from some kind of inability to get many or perhaps all KAuth calls successfully working. Root cause analysis pending. I would not in the least be surprised if this were the underlying reason for ScreencastingPrivate not being able to initialize. Note that I nuked my entire build prefix and ~/.cache just to make sure, however I did not start the entire build from scratch. I'll ask for help regarding my KAuth issue and see if a potential fix for that will also mitigate this crash. But again, it wasn't there two weeks ago and the only thing I had going on then was libtaskmanager not being able to get info from open windows from KWin.

So perhaps not the highest-priority crash, given my setup's deficiencies. But perhaps libtaskmanager could gracefully disable this functionality instead of crashing, if the screencasting extension does happen to fail initializing?

The crash can be reproduced every time.

-- Backtrace:
Application: plasmashell (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 185768]
[New LWP 185794]
[New LWP 185798]
[New LWP 185799]
[New LWP 185795]
[New LWP 185800]
[New LWP 185784]
[New LWP 185814]
[New LWP 186010]
[New LWP 185802]
[New LWP 185804]
[New LWP 185801]
[New LWP 186060]
[New LWP 186002]
[New LWP 186003]
[New LWP 186065]
[New LWP 185803]
[New LWP 185812]
[New LWP 186049]
[New LWP 186016]
[New LWP 186066]
[New LWP 186012]
[New LWP 186053]
[New LWP 186014]
[New LWP 186050]
[New LWP 186011]
[New LWP 186064]
[New LWP 186013]
[New LWP 186062]
[New LWP 185811]
[New LWP 185882]
[New LWP 185813]
[New LWP 186063]
[New LWP 186015]
[New LWP 186061]
[New LWP 186067]
[New LWP 186022]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/home/kpetso/build/kde6/prefix/bin/plasmashell --no-respawn'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fc8f26ac83c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fc8ee1e7a40 (LWP 185768))]

Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fc8ee1e7a40 (LWP 185768))]

Thread 37 (Thread 0x7fc884dfa6c0 (LWP 186022)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 36 (Thread 0x7fc833fff6c0 (LWP 186067)):
#0  0x00007fc8f27214c6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc8f2ec21eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt6Core.so.6
#2  0x00007fc8f3c5b768 in  () at /usr/lib/libQt6Network.so.6
#3  0x00007fc8f3c07339 in  () at /usr/lib/libQt6Network.so.6
#4  0x00007fc8f3bff6ee in QAbstractSocket::waitForReadyRead(int) () at /usr/lib/libQt6Network.so.6
#5  0x00007fc8f624b906 in KIO::ConnectionBackend::waitForIncomingTask(int) (this=0x7fc82c002030, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connectionbackend.cpp:155
#6  0x00007fc8f624f7b0 in KIO::Connection::waitForIncomingTask(int) (this=0x7fc82c0014b0, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connection.cpp:201
#7  0x00007fc8f62d3658 in KIO::SlaveBase::dispatchLoop() (this=0x7fc82c001430) at /home/kpetso/src/kde/frameworks/kio/src/core/slavebase.cpp:340
#8  0x00007fc8f63ec979 in KIO::WorkerThread::run() (this=0x564da75e5630) at /home/kpetso/src/kde/frameworks/kio/src/core/workerthread.cpp:47
#9  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#10 0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#11 0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 35 (Thread 0x7fc8537fe6c0 (LWP 186061)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 34 (Thread 0x7fc8867fc6c0 (LWP 186015)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fc8f2eccf94 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f2ecfaba in  () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 33 (Thread 0x7fc8527fc6c0 (LWP 186063)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 32 (Thread 0x7fc8affff6c0 (LWP 185813)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 31 (Thread 0x7fc8aeffd6c0 (LWP 185882)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8f1bbd276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc8f1b5d162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc8f2f9d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2d6cf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f2e4a23f in QThread::run() () at /usr/lib/libQt6Core.so.6
#6  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#7  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#8  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 30 (Thread 0x7fc8cd3fa6c0 (LWP 185811)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 29 (Thread 0x7fc852ffd6c0 (LWP 186062)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 28 (Thread 0x7fc8877fe6c0 (LWP 186013)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 27 (Thread 0x7fc851ffb6c0 (LWP 186064)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 26 (Thread 0x7fc890dff6c0 (LWP 186011)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 25 (Thread 0x7fc85a90b6c0 (LWP 186050)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc86c4078c7 in  () at /usr/lib/libpulse.so.0
#2  0x00007fc86c3f146c in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007fc86c3fb42c in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fc86c3fb4e1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007fc86c40bc02 in  () at /usr/lib/libpulse.so.0
#6  0x00007fc86c3a8c67 in  () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#7  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#8  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 24 (Thread 0x7fc886ffd6c0 (LWP 186014)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 23 (Thread 0x7fc858f8a6c0 (LWP 186053)):
#0  0x00007fc8f272ebf6 in epoll_wait () at /usr/lib/libc.so.6
#1  0x00007fc89006e869 in  () at /usr/lib/spa-0.2/support/libspa-support.so
#2  0x00007fc89006058d in  () at /usr/lib/spa-0.2/support/libspa-support.so
#3  0x00007fc88435bdb2 in  () at /usr/lib/libpipewire-0.3.so.0
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 22 (Thread 0x7fc887fff6c0 (LWP 186012)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 21 (Thread 0x7fc850ff96c0 (LWP 186066)):
#0  0x00007fc8f27214c6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc8f2ec21eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt6Core.so.6
#2  0x00007fc8f3c5b768 in  () at /usr/lib/libQt6Network.so.6
#3  0x00007fc8f3c07339 in  () at /usr/lib/libQt6Network.so.6
#4  0x00007fc8f3bff6ee in QAbstractSocket::waitForReadyRead(int) () at /usr/lib/libQt6Network.so.6
#5  0x00007fc8f624b906 in KIO::ConnectionBackend::waitForIncomingTask(int) (this=0x7fc838002030, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connectionbackend.cpp:155
#6  0x00007fc8f624f7b0 in KIO::Connection::waitForIncomingTask(int) (this=0x7fc8380014b0, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connection.cpp:201
#7  0x00007fc8f62d3658 in KIO::SlaveBase::dispatchLoop() (this=0x7fc838001430) at /home/kpetso/src/kde/frameworks/kio/src/core/slavebase.cpp:340
#8  0x00007fc8f63ec979 in KIO::WorkerThread::run() (this=0x564da7455790) at /home/kpetso/src/kde/frameworks/kio/src/core/workerthread.cpp:47
#9  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#10 0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#11 0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 20 (Thread 0x7fc885ffb6c0 (LWP 186016)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fc8f2eccf94 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f2ecfaba in  () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 19 (Thread 0x7fc86d14d6c0 (LWP 186049)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8f1bbd276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc8f1b5d162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc8f2f9d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2d6cf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f2e4a13f in QThread::exec() () at /usr/lib/libQt6Core.so.6
#6  0x00007fc85efe34dd in KCupsConnection::run() (this=0x564da7177e40) at /home/kpetso/src/kde/plasma/print-manager/src/libkcups/KCupsConnection.cpp:253
#7  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#8  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#9  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7fc8ccbf96c0 (LWP 185812)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7fc8ce3fc6c0 (LWP 185803)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7fc8517fa6c0 (LWP 186065)):
#0  0x00007fc8f27214c6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc8f2ec21eb in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt6Core.so.6
#2  0x00007fc8f3c5b768 in  () at /usr/lib/libQt6Network.so.6
#3  0x00007fc8f3c07339 in  () at /usr/lib/libQt6Network.so.6
#4  0x00007fc8f3bff6ee in QAbstractSocket::waitForReadyRead(int) () at /usr/lib/libQt6Network.so.6
#5  0x00007fc8f624b906 in KIO::ConnectionBackend::waitForIncomingTask(int) (this=0x7fc834002030, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connectionbackend.cpp:155
#6  0x00007fc8f624f7b0 in KIO::Connection::waitForIncomingTask(int) (this=0x7fc8340014b0, ms=-1) at /home/kpetso/src/kde/frameworks/kio/src/core/connection.cpp:201
#7  0x00007fc8f62d3658 in KIO::SlaveBase::dispatchLoop() (this=0x7fc834001430) at /home/kpetso/src/kde/frameworks/kio/src/core/slavebase.cpp:340
#8  0x00007fc8f63ec979 in KIO::WorkerThread::run() (this=0x564da5d2f600) at /home/kpetso/src/kde/frameworks/kio/src/core/workerthread.cpp:47
#9  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#10 0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#11 0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7fc8adffb6c0 (LWP 186003)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fc8f2eccf94 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f2ecfaba in  () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fc8ae7fc6c0 (LWP 186002)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8f1bbd276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc8f1b5d162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc8f2f9d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2d6cf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f2e4a13f in QThread::exec() () at /usr/lib/libQt6Core.so.6
#6  0x00007fc8f4d549c3 in  () at /usr/lib/libQt6Quick.so.6
#7  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#8  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#9  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fc853fff6c0 (LWP 186060)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fc8f2eccf94 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f4285d26 in QtWaylandClient::QWaylandWindow::waitForFrameSync(int) () at /usr/lib/libQt6WaylandClient.so.6
#4  0x00007fc8ed33206d in QtWaylandClient::QWaylandGLContext::swapBuffers(QPlatformSurface*) () at /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6
#5  0x00007fc8f36cbf6c in  () at /usr/lib/libQt6Gui.so.6
#6  0x00007fc8f358a5cc in QRhi::endFrame(QRhiSwapChain*, QFlags<QRhi::EndFrameFlag>) () at /usr/lib/libQt6Gui.so.6
#7  0x00007fc8f4e07416 in  () at /usr/lib/libQt6Quick.so.6
#8  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#9  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#10 0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fc8cf3fe6c0 (LWP 185801)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fc8cdbfb6c0 (LWP 185804)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fc8cebfd6c0 (LWP 185802)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fc8ad7fa6c0 (LWP 186010)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8f2ecd000 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f4e07d8b in  () at /usr/lib/libQt6Quick.so.6
#4  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fc8af7fe6c0 (LWP 185814)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fc8edbff6c0 (LWP 185784)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8f1bbd276 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc8f1b5d162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc8f2f9d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#4  0x00007fc8f2d6cf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f2e4a13f in QThread::exec() () at /usr/lib/libQt6Core.so.6
#6  0x00007fc8f3d2e95f in  () at /usr/lib/libQt6DBus.so.6
#7  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#8  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#9  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fc8cfbff6c0 (LWP 185800)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fc8e7fff6c0 (LWP 185795)):
#0  0x00007fc8f2720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8f425bb18 in  () at /usr/lib/libQt6WaylandClient.so.6
#2  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#4  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fc8e4dfe6c0 (LWP 185799)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc8e55ff6c0 (LWP 185798)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8e56d1b5c in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fc8e571ca0c in  () at /usr/lib/dri/iris_dri.so
#4  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#5  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc8ecbff6c0 (LWP 185794)):
#0  0x00007fc8f26a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fc8f26a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fc8f2ecd000 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt6Core.so.6
#3  0x00007fc8f425ba98 in  () at /usr/lib/libQt6WaylandClient.so.6
#4  0x00007fc8f2ec9e63 in  () at /usr/lib/libQt6Core.so.6
#5  0x00007fc8f26aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fc8f272e7cc in  () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc8ee1e7a40 (LWP 185768)):
[KCrash Handler]
#4  0x00007fc8f26ac83c in  () at /usr/lib/libc.so.6
#5  0x00007fc8f265c668 in raise () at /usr/lib/libc.so.6
#6  0x00007fc8f26444b8 in abort () at /usr/lib/libc.so.6
#7  0x00007fc8f2cb3924 in  () at /usr/lib/libQt6Core.so.6
#8  0x00007fc8f2cb4135 in  () at /usr/lib/libQt6Core.so.6
#9  0x00007fc8f2cb2770 in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/libQt6Core.so.6
#10 0x00007fc89010dbf7 in ScreencastingPrivate::ScreencastingPrivate(Screencasting*) (this=0x564da7dc9b30, q=0x564da7fe3830) at /home/kpetso/src/kde/plasma/plasma-workspace/libtaskmanager/declarative/screencasting.cpp:75
#11 0x00007fc89010d286 in Screencasting::Screencasting(QObject*) (this=0x564da7fe3830, parent=0x7fc8d80083e0) at /home/kpetso/src/kde/plasma/plasma-workspace/libtaskmanager/declarative/screencasting.cpp:90
#12 0x00007fc89010fa53 in ScreencastingRequest::setUuid(QString const&) (this=0x7fc8d80083e0, uuid=...) at /home/kpetso/src/kde/plasma/plasma-workspace/libtaskmanager/declarative/screencastingrequest.cpp:48
#13 0x00007fc890106122 in ScreencastingRequest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7fc8d80083e0, _c=QMetaObject::WriteProperty, _id=0, _a=0x7ffc715b4550) at /home/kpetso/build/kde6/plasma/plasma-workspace/libtaskmanager/declarative/taskmanagerplugin_autogen/EWIEGA46WW/moc_screencastingrequest.cpp:200
#14 0x00007fc8f46593e8 in  () at /usr/lib/libQt6Qml.so.6
#15 0x00007fc8f4714f26 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlRefPointer<QQmlContextData> const&, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#16 0x00007fc8f466a24d in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#17 0x00007fc8f466ee02 in  () at /usr/lib/libQt6Qml.so.6
#18 0x00007fc8f466d50a in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib/libQt6Qml.so.6
#19 0x00007fc8f466cae4 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#20 0x00007fc8f46fd593 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt6Qml.so.6
#21 0x00007fc8f46d6ee7 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt6Qml.so.6
#22 0x00007fc8f46d7ad6 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlRefPointer<QQmlContextData> const&) () at /usr/lib/libQt6Qml.so.6
#23 0x00007fc8f468881f in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib/libQt6Qml.so.6
#24 0x00007fc8f4bf0a66 in  () at /usr/lib/libQt6Quick.so.6
#25 0x00007fc8f2dba1cb in  () at /usr/lib/libQt6Core.so.6
#26 0x00007fc8f467f9ac in QQmlComponentPrivate::typeDataReady(QQmlTypeData*) () at /usr/lib/libQt6Qml.so.6
#27 0x00007fc8f47461ac in  () at /usr/lib/libQt6Qml.so.6
#28 0x00007fc8f4764eb9 in  () at /usr/lib/libQt6Qml.so.6
#29 0x00007fc8f4658a06 in  () at /usr/lib/libQt6Qml.so.6
#30 0x00007fc8f4658b26 in  () at /usr/lib/libQt6Qml.so.6
#31 0x00007fc8f537319b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#32 0x00007fc8f2d62a78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#33 0x00007fc8f2d62dfb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#34 0x00007fc8f2f9ead4 in  () at /usr/lib/libQt6Core.so.6
#35 0x00007fc8f1b5ef69 in  () at /usr/lib/libglib-2.0.so.0
#36 0x00007fc8f1bbd327 in  () at /usr/lib/libglib-2.0.so.0
#37 0x00007fc8f1b5d162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#38 0x00007fc8f2f9d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#39 0x00007fc8f2d6cf5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#40 0x00007fc8f2d65518 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#41 0x0000564da45d999f in main(int, char**) (argc=2, argv=0x7ffc715b57f8) at /home/kpetso/src/kde/plasma/plasma-workspace/shell/main.cpp:214

Reported using DrKonqi
Comment 1 David Redondo 2023-12-12 09:10:31 UTC
Is that running against a self compiled kwin?  It means it doesnt see that screencast interface which is expected if the prefixes both are running in don't match (system kwin and self build plasmashell)
Comment 2 Jakob Petsovits 2023-12-12 16:13:18 UTC
(In reply to David Redondo from comment #1)
> Is that running against a self compiled kwin?  It means it doesnt see that
> screencast interface which is expected if the prefixes both are running in
> don't match (system kwin and self build plasmashell)

Yes, kwin is built with kdesrc-build (kf6-qt6 branch group) together with the rest of workspace. Info Center / Window Manager reports "KWin version: 5.90.90", "Operation Mode: Xwayland". I pasted the full KWin info text to https://invent.kde.org/-/snippets/2937. I also posted https://discuss.kde.org/t/missing-something-auth-related-in-my-plasma-6-setup-what-is-it/8685 in the hope that someone might have an idea what might be going wrong with my setup more generally.

Happy to close this bug if the consensus is that Plasma doesn't mind a crash-level hard dependency on KWin-specific Wayland extensions, in which case the issue seems to be purely on my end.
Comment 3 Nate Graham 2023-12-12 20:17:12 UTC
What kind of GPU does this system have?
Comment 4 Jakob Petsovits 2023-12-22 16:24:06 UTC
(In reply to Nate Graham from comment #3)
> What kind of GPU does this system have?

I pasted some KWin info into https://invent.kde.org/-/snippets/2937 a while ago. The GPU is a "Mesa Intel(R) UHD Graphics 620 (WHL GT2)".
Comment 5 Jakob Petsovits 2023-12-22 16:34:37 UTC
(In reply to David Redondo from comment #1)
> Is that running against a self compiled kwin?  It means it doesnt see that
> screencast interface which is expected if the prefixes both are running in
> don't match (system kwin and self build plasmashell)

Indeed Info Center shows that the zkde_screencast_unstable_v1 interface isn't listed (Wayland info added to https://invent.kde.org/-/snippets/2937).

But what exactly do you mean by "prefixes don't match"? I used standard install-sessions.sh to add a new SDDM session type, and I would have assumed that it sets the environment variables such that the self-compiled KWin gets preferred over the system-wide one. What is supposed to happen in a correct dev session and where can it fail?
Comment 6 Arjen Hiemstra 2023-12-22 17:53:33 UTC
It's referring to the installation prefix. System installed things will be using `/usr` as prefix while self-built will be something like `$HOME/kde/usr` or similar. What the `install-sessions.sh` script does is purely copy a session configuration file from the self-built prefix to the system prefix, but that session configuration file will point at the self-built prefix. If you then run that session and launch software that is system-installed it will fail the KWin prefix check as the system software's prefix is `/usr` while KWin's prefix is `$HOME/kde/usr`.
Comment 7 Jakob Petsovits 2023-12-23 00:20:52 UTC
(In reply to Arjen Hiemstra from comment #6)
> What the `install-sessions.sh` script does is
> purely copy a session configuration file from the self-built prefix to the
> system prefix, but that session configuration file will point at the
> self-built prefix. If you then run that session and launch software that is
> system-installed it will fail the KWin prefix check as the system software's
> prefix is `/usr` while KWin's prefix is `$HOME/kde/usr`.

Thanks Arjen. I've understood the overall idea of install-sessions.sh. What I don't quite understand, though, is how KWin in Info Center identifies itself as the one I built (5.91.90) and e.g. querying D-Bus for the process that provides org.kde.kglobalaccel [1] shows that my self-built $HOME/build/kde6/prefix/bin/kwin_wayland is in charge of that interface. The old Plasma 5 kwin binary doesn't even show up in `ps aux`.

So the correct KWin seems to be running, but still lacks support for e.g. zkde_screencast_unstable_v1 (and apparently also the screenshot extension for Spectacle). Could there be something wrong with plugin paths perhaps? Or how else would the right KWin leave out important Wayland protocols?

[1] qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.kde.kglobalaccel (courtesy of another bug report)
Comment 8 Nate Graham 2024-01-09 23:08:47 UTC
Since this seems like it's a local configuration issue, let's close it and either continue the discussion elsewhere, or else in here with the bug report closed (since it's not a user-facing bug).