Bug 208672

Summary: System settings crashing when .asoundrc is invalid [installAlsaPhononDeviceHandle, Phonon::DeviceListing::DeviceListing, DevicePreference::updateAudioOutputDevices]
Product: [Applications] systemsettings Reporter: Tomas Vavra <xtom.vavra>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tomas Vavra 2009-09-27 10:54:08 UTC
Application: systemsettings (1.0)
KDE Version: 4.3.69 (KDE 4.3.69 (KDE 4.4 >= 20090923)) (Compiled from sources)
Qt Version: 4.5.1
Operating System: Linux 2.6.30-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I copied new settings of alsa form e-mail and forgotten delete one bracket. When I started system settings -> multimedia I got this crash. Crash is easily reproducible.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Aborted
[Current thread is 1 (Thread 0x7fd0b0d477f0 (LWP 8965))]

Thread 2 (Thread 0x7fd097f88910 (LWP 8967)):
#0  0x00007fd0add18f99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd097f92ccb in ?? () from /usr/lib/libjack.so.0
#2  0x00007fd0add1473a in start_thread () from /lib/libpthread.so.0
#3  0x00007fd0ad2da43d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd0b0d477f0 (LWP 8965)):
[KCrash Handler]
#5  0x00007fd0ad240f45 in raise () from /lib/libc.so.6
#6  0x00007fd0ad243d80 in abort () from /lib/libc.so.6
#7  0x00007fd0ad23a04a in __assert_fail () from /lib/libc.so.6
#8  0x00007fd09b2a2e7f in ?? () from /usr/lib/libasound.so.2
#9  0x00007fd09b55edc5 in installAlsaPhononDeviceHandle() () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#10 0x00007fd09b55efe9 in Phonon::DeviceListing::DeviceListing() () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#11 0x00007fd09b55a335 in Phonon::KdePlatformPlugin::ensureDeviceListingObject() const () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#12 0x00007fd09b55a427 in Phonon::KdePlatformPlugin::objectDescriptionIndexes(Phonon::ObjectDescriptionType) const () from /opt/kde4/lib/kde4/plugins/phonon_platform/kde.so
#13 0x00007fd09b783761 in Phonon::GlobalConfig::audioOutputDeviceListFor(Phonon::Category, Phonon::GlobalConfig::HideAdvancedDevicesOverride) const () from /opt/kde4/lib/kde4/kcm_phonon.so
#14 0x00007fd09b773bb7 in DevicePreference::availableAudioOutputDevices() const () from /opt/kde4/lib/kde4/kcm_phonon.so
#15 0x00007fd09b77579e in DevicePreference::updateAudioOutputDevices() () from /opt/kde4/lib/kde4/kcm_phonon.so
#16 0x00007fd09b77a168 in DevicePreference::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/kde4/kcm_phonon.so
#17 0x00007fd0ae078b27 in QMetaObject::activate (sender=0x1956ff0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff)
    at /usr/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3117
#18 0x00007fd09c0c881e in Phonon::BackendCapabilities::Notifier::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libphonon.so.4
#19 0x00007fd0ae078b27 in QMetaObject::activate (sender=0x1957010, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff)
    at /usr/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3117
#20 0x00007fd09c0cee9f in Phonon::Factory::backend(bool) () from /opt/kde4/lib/libphonon.so.4
#21 0x00007fd09b78370a in Phonon::GlobalConfig::audioOutputDeviceListFor(Phonon::Category, Phonon::GlobalConfig::HideAdvancedDevicesOverride) const () from /opt/kde4/lib/kde4/kcm_phonon.so
#22 0x00007fd09b773bb7 in DevicePreference::availableAudioOutputDevices() const () from /opt/kde4/lib/kde4/kcm_phonon.so
#23 0x00007fd09b7783f7 in DevicePreference::load() () from /opt/kde4/lib/kde4/kcm_phonon.so
#24 0x00007fd09b770a2d in PhononKcm::load() () from /opt/kde4/lib/kde4/kcm_phonon.so
#25 0x00007fd09b7710d5 in PhononKcm::PhononKcm(QWidget*, QList<QVariant> const&) () from /opt/kde4/lib/kde4/kcm_phonon.so
#26 0x00007fd09b771b95 in QObject* KPluginFactory::createInstance<PhononKcm, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /opt/kde4/lib/kde4/kcm_phonon.so
#27 0x00007fd0ae7a12aa in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /opt/kde4/lib/libkdecore.so.5
#28 0x00007fd0b0582937 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /opt/kde4/lib/libkutils.so.4
#29 0x00007fd0b0587929 in KCModuleProxyPrivate::loadModule() () from /opt/kde4/lib/libkutils.so.4
#30 0x00007fd0b0588475 in KCModuleProxy::realModule() const () from /opt/kde4/lib/libkutils.so.4
#31 0x00007fd0b034fae4 in ModuleView::updatePageIconHeader(KPageWidgetItem*) () from /opt/kde4/lib/libsystemsettingsview.so
#32 0x00007fd0b0350787 in ModuleView::addModule(KCModuleInfo*) () from /opt/kde4/lib/libsystemsettingsview.so
#33 0x00007fd0b0350a92 in ModuleView::loadModule(MenuItem*) () from /opt/kde4/lib/libsystemsettingsview.so
#34 0x00007fd09ba8c411 in IconMode::changeModule(QModelIndex const&) () from /opt/kde4/lib/kde4/icon_mode.so
#35 0x00007fd09ba8c50c in IconMode::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/kde4/icon_mode.so
#36 0x00007fd0ae078b27 in QMetaObject::activate (sender=0x1587160, from_signal_index=<value optimized out>, to_signal_index=34, argv=0xffffffffffffffff)
    at /usr/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3117
#37 0x00007fd0af0a1005 in QAbstractItemView::activated (this=0x2305, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:335
#38 0x00007fd0af0ae49d in QAbstractItemView::mouseReleaseEvent (this=0x1587160, event=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1659
#39 0x00007fd0af0c0c77 in QListView::mouseReleaseEvent (this=0x2305, e=0x2305) at /usr/src/kde4/qt-copy/src/gui/itemviews/qlistview.cpp:849
#40 0x00007fd0af9d24c9 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () from /opt/kde4/lib/libkdeui.so.5
#41 0x00007fd0aec56008 in QWidget::event (this=0x1587160, event=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/kernel/qwidget.cpp:7521
#42 0x00007fd0aef9a0ab in QFrame::event (this=0x1587160, e=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/widgets/qframe.cpp:559
#43 0x00007fd0af0af37b in QAbstractItemView::viewportEvent (this=0x1587160, event=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1471
#44 0x00007fd0ae065c98 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1586a80, event=0x7fffedf9ca50)
    at /usr/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:726
#45 0x00007fd0aec08ffc in QApplicationPrivate::notify_helper (this=0x158cbd0, receiver=0x1586a80, e=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:4053
#46 0x00007fd0aec11fcb in QApplication::notify (this=<value optimized out>, receiver=0x1586a80, e=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3759
#47 0x00007fd0af9f317b in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#48 0x00007fd0ae06695c in QCoreApplication::notifyInternal (this=0x7fffedf9e800, receiver=0x1586a80, event=0x7fffedf9ca50) at /usr/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#49 0x00007fd0aec112d8 in QCoreApplication::sendSpontaneousEvent (receiver=0x1586a80, event=0x7fffedf9ca50, alienWidget=0x1586a80, nativeWidget=0x16e0670, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:216
#50 QApplicationPrivate::sendMouseEvent (receiver=0x1586a80, event=0x7fffedf9ca50, alienWidget=0x1586a80, nativeWidget=0x16e0670, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at /usr/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:2925
#51 0x00007fd0aec6b76c in QETWidget::translateMouseEvent (this=0x16e0670, event=<value optimized out>) at /usr/src/kde4/qt-copy/src/gui/kernel/qapplication_x11.cpp:4448
#52 0x00007fd0aec6a306 in QApplication::x11ProcessEvent (this=0x7fffedf9e800, event=0x7fffedf9e440) at /usr/src/kde4/qt-copy/src/gui/kernel/qapplication_x11.cpp:3566
#53 0x00007fd0aec8f32c in x11EventSourceDispatch (s=0x15906e0, callback=0, user_data=0x0) at /usr/src/kde4/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007fd0aa21012a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x00007fd0aa213988 in ?? () from /lib/libglib-2.0.so.0
#56 0x00007fd0aa213b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x00007fd0ae08b86f in QEventDispatcherGlib::processEvents (this=0x15600a0, flags=<value optimized out>) at /usr/src/kde4/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#58 0x00007fd0aec8ebef in QGuiEventDispatcherGlib::processEvents (this=0x2305, flags=<value optimized out>) at /usr/src/kde4/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#59 0x00007fd0ae065332 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at /usr/src/kde4/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#60 0x00007fd0ae0654c5 in QEventLoop::exec (this=0x7fffedf9e770, flags=...) at /usr/src/kde4/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#61 0x00007fd0ae06753c in QCoreApplication::exec () at /usr/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#62 0x000000000040d76a in main ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-27 13:34:56 UTC
Merging with bug 193179. Thanks

*** This bug has been marked as a duplicate of bug 193179 ***