Bug 327378 - kded crashed during audio playback
Summary: kded crashed during audio playback
Status: RESOLVED DUPLICATE of bug 268185
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: kded module for audio device listing (show other bugs)
Version: 4.6.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords: drkonqi
: 333476 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-09 19:09 UTC by Martin von Gagern
Modified: 2014-04-16 00:31 UTC (History)
4 users (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 Martin von Gagern 2013-11-09 19:09:52 UTC
Application: kded4 (4.11.2)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.6-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

Watching a video (with audio) in Firefox. I'm not sure whether audio is going to ALSA directly or via pulseaudio. I know I have a pulseaudio daemon running. I also have jack installed, but no jackd is running, so I guess that at least should not be in use.

Bug #268185 is suggested as a common cause here, but that one allegedly was fixed by alsa-lib 1.0.27. I have alsa-lib 1.0.27.1 installed and still experience this problem here.

The crash does not seem to be reproducible.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcac782e780 (LWP 28250))]

Thread 4 (Thread 0x7fcac060d700 (LWP 28262)):
#0  timerSourceCheckHelper (src=0x7fcab8002800) at kernel/qeventdispatcher_glib.cpp:146
#1  0x00000030f604bbf8 in g_main_context_check (context=context@entry=0x7fcab80009a0, max_priority=2147483647, fds=fds@entry=0x7fcab8004460, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3545
#2  0x00000030f604c135 in g_main_context_iterate (context=context@entry=0x7fcab80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3698
#3  0x00000030f604c2cc in g_main_context_iteration (context=0x7fcab80009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#4  0x0000003de19b190e in QEventDispatcherGlib::processEvents (this=0x7fcab80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003de1981a8f in QEventLoop::processEvents (this=this@entry=0x7fcac060cdc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003de1981d70 in QEventLoop::exec (this=this@entry=0x7fcac060cdc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003de1883be0 in QThread::exec (this=this@entry=0x25a8a40) at thread/qthread.cpp:536
#8  0x00007fcac1113db5 in KCupsConnection::run (this=0x25a8a40) at /var/tmp/portage/kde-base/print-manager-4.11.2/work/print-manager-4.11.2/libkcups/KCupsConnection.cpp:303
#9  0x0000003de188633c in QThreadPrivate::start (arg=0x25a8a40) at thread/qthread_unix.cpp:338
#10 0x0000003ddd408fc7 in start_thread (arg=0x7fcac060d700) at pthread_create.c:308
#11 0x0000003ddc8f04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fcabfe0c700 (LWP 28263)):
#0  g_mutex_get_impl (mutex=0x7fcab00009a0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gthread-posix.c:121
#1  0x00000030f608b969 in g_mutex_lock (mutex=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gthread-posix.c:210
#2  0x00000030f604c095 in g_main_context_iterate (context=context@entry=0x7fcab00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3668
#3  0x00000030f604c2cc in g_main_context_iteration (context=0x7fcab00009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#4  0x0000003de19b190e in QEventDispatcherGlib::processEvents (this=0x7fcab00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003de1981a8f in QEventLoop::processEvents (this=this@entry=0x7fcabfe0be00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003de1981d70 in QEventLoop::exec (this=this@entry=0x7fcabfe0be00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003de1883be0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x0000003de188633c in QThreadPrivate::start (arg=0x25f3c30) at thread/qthread_unix.cpp:338
#9  0x0000003ddd408fc7 in start_thread (arg=0x7fcabfe0c700) at pthread_create.c:308
#10 0x0000003ddc8f04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fcabf60b700 (LWP 28273)):
#0  0x00000030f601cc50 in pthread_mutex_unlock@plt () from /usr/lib64/libglib-2.0.so.0
#1  0x00000030f608b9b1 in g_mutex_unlock (mutex=mutex@entry=0x7fcab40009a0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gthread-posix.c:229
#2  0x00000030f604b861 in g_main_context_prepare (context=context@entry=0x7fcab40009a0, priority=priority@entry=0x7fcabf60ac68) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3326
#3  0x00000030f604c0be in g_main_context_iterate (context=context@entry=0x7fcab40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3681
#4  0x00000030f604c2cc in g_main_context_iteration (context=0x7fcab40009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#5  0x0000003de19b190e in QEventDispatcherGlib::processEvents (this=0x7fcab40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x0000003de1981a8f in QEventLoop::processEvents (this=this@entry=0x7fcabf60add0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003de1981d70 in QEventLoop::exec (this=this@entry=0x7fcabf60add0, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003de1883be0 in QThread::exec (this=this@entry=0x25d8f10) at thread/qthread.cpp:536
#9  0x0000003de19638bf in QInotifyFileSystemWatcherEngine::run (this=0x25d8f10) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x0000003de188633c in QThreadPrivate::start (arg=0x25d8f10) at thread/qthread_unix.cpp:338
#11 0x0000003ddd408fc7 in start_thread (arg=0x7fcabf60b700) at pthread_create.c:308
#12 0x0000003ddc8f04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fcac782e780 (LWP 28250)):
[KCrash Handler]
#6  __strcpy_chk () at ../sysdeps/x86_64/strcpy_chk.S:70
#7  0x0000003acfe3cdf8 in strcpy (__src=0x0, __dest=0x26754d0 "pcm.(null)") at /usr/include/bits/string3.h:104
#8  try_config (config=config@entry=0x2a382d0, list=list@entry=0x7fff118e9710, base=0x7fcaafdf9b2e "pcm", name=0x0) at /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/control/namehint.c:243
#9  0x0000003acfe3dcfe in add_software_devices (list=0x7fff118e9710, config=0x2a382d0) at /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/control/namehint.c:512
#10 snd_device_name_hint (card=-1, iface=<optimized out>, hints=0x7fff118e9a70) at /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/control/namehint.c:591
#11 0x00007fcaafde7c15 in PhononServer::findVirtualDevices (this=this@entry=0x24349a0) at /var/tmp/portage/kde-base/phonon-kde-4.11.2/work/phonon-kde-4.11.2/phonon/kded-module/phononserver.cpp:170
#12 0x00007fcaafdeaab8 in PhononServer::findDevices (this=this@entry=0x24349a0) at /var/tmp/portage/kde-base/phonon-kde-4.11.2/work/phonon-kde-4.11.2/phonon/kded-module/phononserver.cpp:684
#13 0x00007fcaafdee4ed in PhononServer::timerEvent (this=0x24349a0, e=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.11.2/work/phonon-kde-4.11.2/phonon/kded-module/phononserver.cpp:1074
#14 0x0000003de199c87c in QObject::event (this=0x24349a0, e=<optimized out>) at kernel/qobject.cpp:1156
#15 0x0000003df59e38cc in QApplicationPrivate::notify_helper (this=this@entry=0x23beee0, receiver=receiver@entry=0x24349a0, e=e@entry=0x7fff118eab80) at kernel/qapplication.cpp:4562
#16 0x0000003df59e62ff in QApplication::notify (this=this@entry=0x7fff118eb0a0, receiver=receiver@entry=0x24349a0, e=e@entry=0x7fff118eab80) at kernel/qapplication.cpp:4423
#17 0x0000003df9c5bbc8 in KApplication::notify (this=0x7fff118eb0a0, receiver=0x24349a0, event=0x7fff118eab80) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#18 0x0000003de1982e4d in QCoreApplication::notifyInternal (this=0x7fff118eb0a0, receiver=0x24349a0, event=event@entry=0x7fff118eab80) at kernel/qcoreapplication.cpp:949
#19 0x0000003de19b4232 in sendEvent (event=0x7fff118eab80, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x23c05a0) at kernel/qeventdispatcher_unix.cpp:621
#21 0x0000003de19b1144 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#22 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#23 0x0000003de19b1171 in idleTimerSourceDispatch (source=source@entry=0x23c1600) at kernel/qeventdispatcher_glib.cpp:233
#24 0x00000030f604be94 in g_main_dispatch (context=0x23c0400) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3054
#25 g_main_context_dispatch (context=context@entry=0x23c0400) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3630
#26 0x00000030f604c204 in g_main_context_iterate (context=context@entry=0x23c0400, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3701
#27 0x00000030f604c2cc in g_main_context_iteration (context=0x23c0400, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#28 0x0000003de19b18e4 in QEventDispatcherGlib::processEvents (this=0x23bee70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#29 0x0000003df5a85066 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x0000003de1981a8f in QEventLoop::processEvents (this=this@entry=0x7fff118eae20, flags=...) at kernel/qeventloop.cpp:149
#31 0x0000003de1981d70 in QEventLoop::exec (this=this@entry=0x7fff118eae20, flags=...) at kernel/qeventloop.cpp:204
#32 0x0000003de1987028 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#33 0x0000003df59e213c in QApplication::exec () at kernel/qapplication.cpp:3823
#34 0x0000003df34094f9 in kdemain (argc=1, argv=0x7fff118eb1e8) at /var/tmp/portage/kde-base/kdelibs-4.11.2-r1/work/kdelibs-4.11.2/kded/kded.cpp:925
#35 0x0000003ddc824b8d in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=1, ubp_av=0x7fff118eb1e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff118eb1d8) at libc-start.c:258
#36 0x00000000004007d1 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 268185.

Possible duplicates by query: bug 322417, bug 320854, bug 316471, bug 313232, bug 312565.

Reported using DrKonqi
Comment 1 Harald Sitter 2013-11-10 23:15:32 UTC

*** This bug has been marked as a duplicate of bug 268185 ***
Comment 2 Christoph Feck 2013-11-13 12:00:00 UTC
Please report this issue to ALSA developers via http://www.alsa-project.org/
Comment 3 Jekyll Wu 2014-04-16 00:31:39 UTC
*** Bug 333476 has been marked as a duplicate of this bug. ***