Bug 296998 - KMix crash after loading removed sound devices
Summary: KMix crash after loading removed sound devices
Status: RESOLVED DUPLICATE of bug 288441
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: 4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-28 23:26 UTC by Wizter
Modified: 2012-03-29 08:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wizter 2012-03-28 23:26:09 UTC
Application: kmix (4)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
For the past couple weeks, after a number of updates/upgrades for ubuntu oneiric and KDE 4.8, the sound devices are automatically being removed in phonon and the sound hardware reverts to the dummy output (no sound). Consulting alsa bug reports 188057, 93465, 279478, 91038 and 188967, the cause seems to be the sound hardware not being detected correctly at boot (Intel 82801H (ICH8 Family) HD Audio Controller) on my Dell Inspiron 1520.

As such, I've added to /etc/modprobe.d/alsa-base.conf the following alias and options:

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=dell-m44

but can only get sound back up after loading the module manually with:

sudo modprobe snd-hda-intel

at which point KMix crashes.

Reloading KMix and all is well from that point on.

PS: Note that there are no such problems on my OpenSuSe 12.1 installation with same KDE version.

The crash can be reproduced every time.

-- Backtrace:
Application: KMix (kmix), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76fa720 (LWP 3123))]

Thread 3 (Thread 0xb095bb70 (LWP 3590)):
#0  0x00822d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x01217e35 in do_gettime (frac=0xb095aff0, sec=0xb095afe8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01301b56 in QTimerInfoList::updateCurrentTime (this=0x9edc5cc) at kernel/qeventdispatcher_unix.cpp:343
#4  0x01301eaa in QTimerInfoList::timerWait (this=0x9edc5cc, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x013006c3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb095b0fc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0130075d in timerSourcePrepare (source=0x9edc598, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02ed088c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02ed1637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02ed1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01301217 in QEventDispatcherGlib::processEvents (this=0x9f093c8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x012ccd6d in QEventLoop::processEvents (this=0xb095b290, flags=...) at kernel/qeventloop.cpp:149
#12 0x012cd009 in QEventLoop::exec (this=0xb095b290, flags=...) at kernel/qeventloop.cpp:204
#13 0x011b69dc in QThread::exec (this=0x9ed0b60) at thread/qthread.cpp:501
#14 0x012aa2dd in QInotifyFileSystemWatcherEngine::run (this=0x9ed0b60) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x011b9e70 in QThreadPrivate::start (arg=0x9ed0b60) at thread/qthread_unix.cpp:298
#16 0x00874d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00c6d46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xabffeb70 (LWP 3609)):
#0  0x00822d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x01217e35 in do_gettime (frac=0xabffdff0, sec=0xabffdfe8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01301b56 in QTimerInfoList::updateCurrentTime (this=0xa0b468c) at kernel/qeventdispatcher_unix.cpp:343
#4  0x01301eaa in QTimerInfoList::timerWait (this=0xa0b468c, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x013006c3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xabffe0fc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0130075d in timerSourcePrepare (source=0xa0b4658, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02ed088c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x02ed1637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02ed1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01301217 in QEventDispatcherGlib::processEvents (this=0xa08dc68, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x012ccd6d in QEventLoop::processEvents (this=0xabffe290, flags=...) at kernel/qeventloop.cpp:149
#12 0x012cd009 in QEventLoop::exec (this=0xabffe290, flags=...) at kernel/qeventloop.cpp:204
#13 0x011b69dc in QThread::exec (this=0xa0b1670) at thread/qthread.cpp:501
#14 0x012aa2dd in QInotifyFileSystemWatcherEngine::run (this=0xa0b1670) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x011b9e70 in QThreadPrivate::start (arg=0xa0b1670) at thread/qthread_unix.cpp:298
#16 0x00874d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00c6d46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb76fa720 (LWP 3123)):
[KCrash Handler]
#7  0x003e6975 in MDWSlider::update (this=0xa08fd50) at ../../kmix/gui/mdwslider.cpp:1001
#8  0x003e16d3 in ViewDockAreaPopup::refreshVolumeLevels (this=0xa08f618) at ../../kmix/gui/viewdockareapopup.cpp:168
#9  0x003de41f in ViewBase::qt_metacall (this=0xa08f618, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd9b950) at ./viewbase.moc:87
#10 0x003e1082 in ViewDockAreaPopup::qt_metacall (this=0xa08f618, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd9b950) at ./viewdockareapopup.moc:73
#11 0x012d54fd in metacall (argv=0xbfd9b950, idx=30, cl=QMetaObject::InvokeMetaMethod, object=0xa08f618) at kernel/qmetaobject.cpp:245
#12 QMetaObject::metacall (object=0xa08f618, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfd9b950) at kernel/qmetaobject.cpp:240
#13 0x012e521d in QMetaObject::activate (sender=0x9f4fb50, m=0x421d48, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3566
#14 0x004014f5 in Mixer::controlChanged (this=0x9f4fb50) at ./mixer.moc:103
#15 0x0040162c in Mixer::qt_metacall (this=0x9f4fb50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd9ba80) at ./mixer.moc:82
#16 0x012d54fd in metacall (argv=0xbfd9ba80, idx=5, cl=QMetaObject::InvokeMetaMethod, object=0x9f4fb50) at kernel/qmetaobject.cpp:245
#17 QMetaObject::metacall (object=0x9f4fb50, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfd9ba80) at kernel/qmetaobject.cpp:240
#18 0x012e521d in QMetaObject::activate (sender=0x9f4b9f8, m=0x41fce4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3566
#19 0x003b6a95 in Mixer_Backend::controlChanged (this=0x9f4b9f8) at ./mixer_backend.moc:93
#20 0x003b6d58 in Mixer_Backend::readSetFromHW (this=0x9f4b9f8) at ../../kmix/backends/mixer_backend.cpp:155
#21 0x003c3c8a in Mixer_PULSE::triggerUpdate (this=0x9f4b9f8) at ../../kmix/backends/mixer_pulse.cpp:1286
#22 0x003c7ff5 in sink_cb (c=0x9f4eb28, i=0x0, eol=1) at ../../kmix/backends/mixer_pulse.cpp:191
#23 0x002f7035 in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#24 0x02e58ebd in ?? () from /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
#25 0x02e592c0 in pa_pdispatch_run () from /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
#26 0x002eaadd in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#27 0x02e5e893 in ?? () from /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
#28 0x02e48c18 in ?? () from /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
#29 0x0032daaa in ?? () from /usr/lib/i386-linux-gnu/libpulse-mainloop-glib.so.0
#30 0x02ed125f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x02ed1990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x02ed1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x013011b7 in QEventDispatcherGlib::processEvents (this=0x9d03eb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x0469c06a in QGuiEventDispatcherGlib::processEvents (this=0x9d03eb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x012ccd6d in QEventLoop::processEvents (this=0xbfd9c4f4, flags=...) at kernel/qeventloop.cpp:149
#36 0x012cd009 in QEventLoop::exec (this=0xbfd9c4f4, flags=...) at kernel/qeventloop.cpp:204
#37 0x012d271a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x045e46a4 in QApplication::exec () at kernel/qapplication.cpp:3816
#39 0x003d02ab in kdemain (argc=3, argv=0xbfd9c754) at ../../kmix/apps/main.cpp:76
#40 0x0804850b in main (argc=3, argv=0xbfd9c754) at kmix_dummy.cpp:3

Possible duplicates by query: bug 296989, bug 296863, bug 296842, bug 296815, bug 296754.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-03-29 08:02:20 UTC

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