SUMMARY Applet crashes taking down whole panel with it. It happens when program very rapidly opens/closes audio streams. [Here](https://gitlab.com/Wilmhit/plasma-crash) is the code causing crash. STEPS TO REPRODUCE 1. Run code and keep it running 2. Open audio applet 3. Wait 10s OBSERVED RESULT crash EXPECTED RESULT nothing or warning SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.12 kernel / 5.21.5 plasma / x11 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Using pipewire as a pa replacement
Can you please add a backtrace of the crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
So far I've been able to get following backtrace. Is this enough or do I need to install additional debugging symbols (if yes for which files)? Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault. 0x00007fbf74689c10 in QObjectPrivate::maybeSignalConnected(unsigned int) const () from /usr/lib/libQt5Core.so.5 (gdb) bt #0 0x00007fbf74689c10 in QObjectPrivate::maybeSignalConnected(unsigned int) const () at /usr/lib/libQt5Core.so.5 #1 0x00007fbf74696f50 in () at /usr/lib/libQt5Core.so.5 #2 0x00007fbf10144d03 in () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so #3 0x00007fbf1009dcb2 in () at /usr/lib/libpulse.so.0 #4 0x00007fbf03e033bd in () at /usr/lib/pulseaudio/libpulsecommon-14.2.so #5 0x00007fbf03e04bbf in () at /usr/lib/pulseaudio/libpulsecommon-14.2.so #6 0x00007fbf100e265e in () at /usr/lib/libpulse-mainloop-glib.so.0 #7 0x00007fbf7297502c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #8 0x00007fbf729c8b59 in () at /usr/lib/libglib-2.0.so.0 #9 0x00007fbf72972781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #10 0x00007fbf746b8c36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #11 0x00007fbf7465e97c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #12 0x00007fbf74666ee4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #13 0x00005617ba0a820b in () #14 0x00007fbf73feab25 in __libc_start_main () at /usr/lib/libc.so.6 #15 0x00005617ba0a833e in ()
Here is the same with qt5-base-debug installed. For additional symbols I would need to compile plasma myself if I understand ArchWiki correctly. Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault. 0x00007ff77901af72 in QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) () from /usr/lib/libQt5Qml.so.5 (gdb) bt #0 0x00007ff77901af72 in QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) () at /usr/lib/libQt5Qml.so.5 #1 0x00007ff777aaeef7 in QObjectPrivate::isDeclarativeSignalConnected(unsigned int) const (signal_index=3, this=<optimized out>) at kernel/qobject_p.h:426 #2 doActivate<false>(QObject*, int, void**) (sender=0x55e8696ce9d0, signal_index=3, argv=0x0) at kernel/qobject.cpp:3775 #3 0x00007ff70f55cd03 in () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so #4 0x00007ff70f4b5cb2 in () at /usr/lib/libpulse.so.0 #5 0x00007ff70f24c3bd in () at /usr/lib/pulseaudio/libpulsecommon-14.2.so #6 0x00007ff70f24dbbf in () at /usr/lib/pulseaudio/libpulsecommon-14.2.so #7 0x00007ff70f4fa65e in () at /usr/lib/libpulse-mainloop-glib.so.0 #8 0x00007ff775d8d02c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #9 0x00007ff775de0b59 in () at /usr/lib/libglib-2.0.so.0 #10 0x00007ff775d8a781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #11 0x00007ff777ad0c36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e865852b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #12 0x00007ff777a7697c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffbc4addc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #13 0x00007ff777a7eee4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #14 0x000055e86430120b in () #15 0x00007ff777402b25 in __libc_start_main () at /usr/lib/libc.so.6 #16 0x000055e86430133e in ()
Can you still reproduce this?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.