Bug 468384 - Plasma crashes in PipeWireSourceStream::createStream() during interaction after reboot
Summary: Plasma crashes in PipeWireSourceStream::createStream() during interaction aft...
Status: RESOLVED FIXED
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-11 08:08 UTC by martin-kokos
Modified: 2023-04-27 06:00 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 martin-kokos 2023-04-11 08:08:00 UTC
Application: plasmashell (5.26.5)
 (Compiled from sources)
Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.12-gentoo x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
After reboot the first time I try to interact with the taskbar, the taskbar crashes. After it restarts, it may crash a second time on interaction. But after another restart it works just fine. This happens after every reboot.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fbfcb7884a8 in  () at /lib64/libc.so.6
#5  0x00007fbf7db60583 in pw_stream_connect () at /usr/lib64/libpipewire-0.3.so.0
#6  0x00007fbf7dbad76c in PipeWireSourceStream::createStream(unsigned int, int) () at /usr/lib64/libKPipeWire.so.5
#7  0x00007fbf7dba16b7 in PipeWireSourceItem::refresh() () at /usr/lib64/libKPipeWire.so.5
#8  0x00007fbf7dba188a in PipeWireSourceItem::setNodeId(unsigned int) () at /usr/lib64/libKPipeWire.so.5
#9  0x00007fbfcd1775ae in  () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fbfcd174c80 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007fbfcd1f2354 in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007fbfcd1f3350 in  () at /usr/lib64/libQt5Qml.so.5
#13 0x00007fbfcd1f4854 in  () at /usr/lib64/libQt5Qml.so.5
#14 0x00007fbfcd1f189a in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#15 0x00007fbfcd1c6948 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#16 0x00007fbfcbcf8b0d in  () at /usr/lib64/libQt5Core.so.5
#17 0x00007fbf7dbeddde in  () at /usr/lib64/qt5/qml/org/kde/taskmanager/libtaskmanagerplugin.so
#18 0x00007fbfcbcf8dd0 in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007fbf7dbedcbe in  () at /usr/lib64/qt5/qml/org/kde/taskmanager/libtaskmanagerplugin.so
#20 0x00007fbfccd5b96a in  () at /usr/lib64/libffi.so.8
#21 0x00007fbfccd5a9ad in  () at /usr/lib64/libffi.so.8
#22 0x00007fbfccd5b3dd in ffi_call () at /usr/lib64/libffi.so.8
#23 0x00007fbfcdef6e08 in  () at /usr/lib64/libwayland-client.so.0
#24 0x00007fbfcdef29e8 in  () at /usr/lib64/libwayland-client.so.0
#25 0x00007fbfcdef459c in wl_display_dispatch_queue_pending () at /usr/lib64/libwayland-client.so.0
#26 0x00007fbfcb2222e5 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib64/libQt5WaylandClient.so.5
#27 0x00007fbfcbcebed0 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fbfcc8d854e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007fbfcbcbc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fbfcbcbfabd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#31 0x00007fbfcbd1d683 in  () at /usr/lib64/libQt5Core.so.5
#32 0x00007fbfc9d97c78 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#33 0x00007fbfc9d97f08 in  () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fbfc9d97f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#35 0x00007fbfcbd1cd56 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007fbfcbcbb06b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007fbfcbcc3860 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#38 0x00005618473e7b44 in  ()
#39 0x00007fbfcb6502ca in  () at /lib64/libc.so.6
#40 0x00007fbfcb650385 in __libc_start_main () at /lib64/libc.so.6
#41 0x00005618473dbf41 in  ()
[Inferior 1 (process 3934) detached]

Reported using DrKonqi
Comment 1 Bug Janitor Service 2023-04-11 08:33:44 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 Nate Graham 2023-04-11 20:12:29 UTC
Can you upgrade to Plasma 5.27 and see if it's fixed now? There have been a number of fixes to the KPipeWire library that could have fixed this crash. Thanks!
Comment 3 Bug Janitor Service 2023-04-26 03:46:13 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 martin-kokos 2023-04-27 06:00:20 UTC
Seems to be resolved as of 5.27.4