Bug 467677

Summary: Crash in QtWayland::zkde_screencast_unstable_v1::stream_window() after Logging into Plasma Wayland
Product: [Plasma] plasmashell Reporter: deussomnus1
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: asturm, kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.26.5   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description deussomnus1 2023-03-22 01:54:40 UTC
Application: plasmashell (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.19-gentoo-dist-hardened x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
Keep getting a segfault in libwayland-client after log in. KDE will try to restart. It is successful at first, then plasma crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f850ae08a60 in wl_proxy_get_version () at /usr/lib64/libwayland-client.so.0
#5  0x00007f84c432ffe6 in QtWayland::zkde_screencast_unstable_v1::stream_window(QString const&, unsigned int) () at /usr/lib64/qt5/qml/org/kde/taskmanager/libtaskmanagerplugin.so
#6  0x00007f84c432f880 in ScreencastingRequest::setUuid(QString const&) () at /usr/lib64/qt5/qml/org/kde/taskmanager/libtaskmanagerplugin.so
#7  0x00007f84c432c370 in ScreencastingRequest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/org/kde/taskmanager/libtaskmanagerplugin.so
#8  0x00007f850a142b2a in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f850a14240e in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f850a14162e in QQmlPropertyPrivate::writeValueProperty(QObject*, QQmlPropertyData const&, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f850a1a0ba9 in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f850a1a2141 in GenericBinding<10>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#13 0x00007f850a1a23a3 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib64/libQt5Qml.so.5
#14 0x00007f850a19fd13 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#15 0x00007f850a1b5181 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f850a14c319 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt5Qml.so.5
#17 0x00007f850a14be7a in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f850a1485e7 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f850a7d1024 in QQuickLoaderPrivate::_q_sourceLoaded() () at /usr/lib64/libQt5Quick.so.5
#20 0x00007f850a7d2686 in QQuickLoader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Quick.so.5
#21 0x00007f8508ecfe64 in void doActivate<false>(QObject*, int, void**) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f850a144eb3 in QQmlComponentPrivate::typeDataReady(QQmlTypeData*) () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f850a11d3ea in QQmlTypeData::completed() () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f850a12928d in QQmlTypeLoaderThread::callCompletedMain(QQmlDataBlob*) () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f850a1df086 in QQmlThreadPrivate::mainEvent() () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f850a1defce in QQmlThreadPrivate::MainObject::event(QEvent*) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f85098c2a34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f85098c403c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f8508e98a9e in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f8508e9a162 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f8508ef9000 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f8507119dc8 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#33 0x00007f850711a068 in  () at /usr/lib64/libglib-2.0.so.0
#34 0x00007f850711a0fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#35 0x00007f8508ef8652 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007f8508e94497 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f8508e99171 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#38 0x000055ee6dcbda84 in main ()
[Inferior 1 (process 6233) detached]

Reported using DrKonqi
Comment 1 Bug Janitor Service 2023-03-22 02:33:38 UTC
Thank you for the bug report!

Please note that Plasma 5.26.5 will not be supported for much longer by KDE; supported versions are 5.27, and 5.27 or newer.

Please upgrade to the latest version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.
Comment 2 Andreas Sturmlechner 2023-03-22 10:04:27 UTC
5.27.3 is available in ~arch, you can conveniently unmask it on your stable system using this file:

https://gitweb.gentoo.org/proj/kde.git/tree/Documentation/package.accept_keywords/kde-plasma-5.27.keywords
Comment 3 Nate Graham 2023-04-04 22:06:48 UTC
Can you upgrade to Plasma 5.27 and see if it's fixed?
Comment 4 deussomnus1 2023-04-04 22:40:21 UTC
I’ve upgraded plasma using the file in the above reply. So far I have not had any issues.

Paul Schulz 

> On Apr 4, 2023, at 5:06 PM, Nate Graham <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=467677
> 
> Nate Graham <nate@kde.org> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |nate@kde.org
>          Component|general                     |Task Manager and Icons-Only
>                   |                            |Task Manager
>            Summary|Crash after Logging into    |Crash in
>                   |KDE Wayland                 |QtWayland::zkde_screencast_
>                   |                            |unstable_v1::stream_window(
>                   |                            |) after Logging into Plasma
>                   |                            |Wayland
> 
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> Can you upgrade to Plasma 5.27 and see if it's fixed?
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 5 Nate Graham 2023-04-04 23:05:17 UTC
Excellent news! I had a feeling.