Bug 459626 - Plasmashell crashes due to an assertion failure in screencasting.cpp
Summary: Plasmashell crashes due to an assertion failure in screencasting.cpp
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-09-24 23:33 UTC by Bernie Innocenti
Modified: 2022-10-26 05:01 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2022-09-24 23:33:06 UTC
I'm running Plasma built today via kdesrc-build, and plasmashell crashed a dozen times in less than one hour.
I don't use screenscasting and I don't see a screencasting widget on my taskbar or on the desktop.

Console output:

Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1
ASSERT: "isInitialized()" in file /home/bernie/kde/src/plasma-workspace/libtaskmanager/declarative/screencasting.cpp, line 80


Stacktrace:

Thread 1 "plasmashell" received signal SIGABRT, Aborted.
0x00007ffff46a149c in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff46a149c in  () at /usr/lib/libc.so.6
#1  0x00007ffff4651958 in raise () at /usr/lib/libc.so.6
#2  0x00007ffff463b53d in abort () at /usr/lib/libc.so.6
#3  0x00007ffff4c9fede in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff4c9ff3c in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#5  0x00007fff2c166f84 in ScreencastingPrivate::ScreencastingPrivate(Screencasting*) (this=0x55555adc4b00, q=0x55555addfa90) at /home/bernie/kde/src/plasma-workspace/libtaskmanager/declarative/screencasting.cpp:80
#6  0x00007fff2c1664a8 in Screencasting::Screencasting(QObject*) (this=0x55555addfa90, parent=0x55555ada8c60) at /home/bernie/kde/src/plasma-workspace/libtaskmanager/declarative/screencasting.cpp:93
#7  0x00007fff2c167e61 in ScreencastingRequest::setUuid(QString const&) (this=0x55555ada8c60, uuid=@0x7fffffffc910: {
  d = 0x55555adc4e20
}) at /home/bernie/kde/src/plasma-workspace/libtaskmanager/declarative/screencastingrequest.cpp:50
#8  0x00007fff2c16008c in ScreencastingRequest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x55555ada8c60, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffffc870)
    at /home/bernie/kde/build/plasma-workspace/libtaskmanager/declarative/taskmanagerplugin_autogen/EWIEGA46WW/moc_screencastingrequest.cpp:139
#9  0x00007ffff6a3cabe in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007ffff6a4417f in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#11 0x00007ffff6a99c20 in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#12 0x00007ffff6a916ab in  () at /usr/lib/libQt5Qml.so.5
#13 0x00007ffff6a97b4e in  () at /usr/lib/libQt5Qml.so.5
#14 0x00007ffff6a991c3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#15 0x00007ffff6aa450d in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#16 0x00007ffff6a4abdf in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib/libQt5Qml.so.5
#17 0x00007ffff6a4b586 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib/libQt5Qml.so.5
#18 0x00007ffff6a4b802 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib/libQt5Qml.so.5
#19 0x00007ffff70bcb5b in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007ffff4ebd530 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007ffff6a456d3 in QQmlComponent::statusChanged(QQmlComponent::Status) () at /usr/lib/libQt5Qml.so.5
#22 0x00007ffff6a45028 in QQmlComponentPrivate::typeDataReady(QQmlTypeData*) () at /usr/lib/libQt5Qml.so.5
#23 0x00007ffff6a2129d in  () at /usr/lib/libQt5Qml.so.5
#24 0x00007ffff6a28431 in  () at /usr/lib/libQt5Qml.so.5
#25 0x00007ffff6ac0806 in  () at /usr/lib/libQt5Qml.so.5
#26 0x00007ffff6ac0866 in  () at /usr/lib/libQt5Qml.so.5
#27 0x00007ffff5d78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff4e8cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007ffff4e8d693 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#30 0x00007ffff4ed3728 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007ffff307081b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#32 0x00007ffff30c6ec9 in  () at /usr/lib/libglib-2.0.so.0
#33 0x00007ffff306f0d2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff4ed750c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff4e8532c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#36 0x00007ffff4e8fe59 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#37 0x00005555555889e4 in main(int, char**) (argc=3, argv=0x7fffffffd768) at /home/bernie/kde/src/plasma-workspace/shell/main.cpp:233
Comment 1 Bernie Innocenti 2022-09-25 04:20:15 UTC
plasmashell does *not* crash when using Plasma 5.25.5 Wayland session with the same config.
Looks like a 5.26 regression introduced a few days or weeks ago.
Comment 2 Nate Graham 2022-09-26 19:14:57 UTC
Guys, is this also the thing David fixed earlier today?
Comment 3 Bug Janitor Service 2022-10-11 04:52:47 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 Bug Janitor Service 2022-10-26 05:01:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!