Bug 435036 - Plasma crashed after choosing audio device and can't select a default audio output
Summary: Plasma crashed after choosing audio device and can't select a default audio o...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-27 20:41 UTC by Acácio
Modified: 2021-04-05 15:55 UTC (History)
2 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 Acácio 2021-03-27 20:41:07 UTC
Application: plasmashell (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-5-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
Opened Win7 mixer, right clicked one of the audio interfaces to choose the default audio output then crashes. Or when I try to select a default audio output, plasma crash and don't let me choose the desired audio interface.
- Custom settings of the application:
Win7 mixer

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f5323635213 in QtPrivate::indexOf<QWidget*, QWidget*> (from=0, u=@0x7ffead065a00: 0x55a993e6c2f0, list=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:1042
#5  QList<QWidget*>::indexOf (from=0, t=@0x7ffead065a00: 0x55a993e6c2f0, this=0x55a99092f110) at ../../include/QtCore/../../src/corelib/tools/qlist.h:1026
#6  QList<QWidget*>::removeAll (this=0x55a99092f110, _t=@0x7ffead065a00: 0x55a993e6c2f0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:936
#7  0x00007f5323645676 in QWidget::removeAction (this=0x55a993e6c2f0, action=<optimized out>) at kernel/qwidget.cpp:3166
#8  0x00007f530b6696f5 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/libplasmacomponentsplugin.so
#9  0x00007f532360f15f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a993c40550, e=0x7ffead065b60) at kernel/qapplication.cpp:3632
#10 0x00007f5322973f6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f53229a8276 in QObjectPrivate::setParent_helper(QObject*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f53229a8788 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f530b664cd7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/libplasmacomponentsplugin.so
#14 0x00007f532299fd4f in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f532360f15f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a992ba57d0, e=0x55a9917f1ea0) at kernel/qapplication.cpp:3632
#16 0x00007f5322973f6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f53229769a1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f53229cbe33 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f53209dbe6b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f53209dc118 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f53209dc1cf in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f53229cb4bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f532297292b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f532297aba0 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x000055a98eac66b8 in main (argc=<optimized out>, argv=0x7ffead066190) at ./shell/main.cpp:252
[Inferior 1 (process 5769) detached]

Possible duplicates by query: bug 435000, bug 434868, bug 434843, bug 434823, bug 434809.

Reported using DrKonqi
Comment 1 Nate Graham 2021-04-01 18:23:23 UTC
#8  0x00007f530b6696f5 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/libplasmacomponentsplugin.so

It's hard to tell what's going on without full debug symbols for that library. Can you install debug symbols for plasma-framework, reproduce the crash, and attach a new backtrace? See also https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Debian

Also, does the crash still happen if you uninstall Win7Mixer and use the standard Audio Volume applet?

Thanks!
Comment 2 Acácio 2021-04-03 00:47:04 UTC
Hello! 

This problem only occurs with Win7Mixer. The real problem is that I can't set any sinks as default output, even with the default controller.
This problem doesn't generates a crash report using the default, only Win7Mixer.

After you recommended uninstalling Win7Mixer I notice that a new version was available, then I removed the current installed and re-installed the latest one. 

So far it seems to be working fine, the option for default sink doesn't require the left-click > default path, as now there's a radio button that can change the defaults with little hassle, and now seems to be working fine. 

I don't know if the old version was the problem because this issue occurs sporadically.
Comment 3 Nate Graham 2021-04-05 15:55:31 UTC
I would recommend that you report this bug to the developer of that applet, then. :)