Bug 271040 - Phonon
Summary: Phonon
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.5.0 (KDE 4.6.2)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 16:45 UTC by kaeriann
Modified: 2011-04-16 10: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 kaeriann 2011-04-15 16:45:40 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.6.1 (4.6.1) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.12-88.fc14.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
checking Phonon because of a problem with the audio/sound.

-- Backtrace:
Application: Démon de KDE (kded4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77e6780 (LWP 1782))]

Thread 2 (Thread 0xb37ffb70 (LWP 1831)):
#0  __pthread_mutex_lock (mutex=0x8c7535c) at pthread_mutex_lock.c:127
#1  0x00bdac8d in g_main_context_acquire (context=0x8c75358) at gmain.c:2236
#2  0x00bdc4cf in g_main_context_iterate (context=0x8c75358, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2724
#3  0x00bdd04b in g_main_loop_run (loop=0x8c753d8) at gmain.c:2988
#4  0x013b7ed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277
#5  0x00c05bd0 in g_thread_create_proxy (data=0x8c5d3d0) at gthread.c:1897
#6  0x00b43e99 in start_thread (arg=0xb37ffb70) at pthread_create.c:301
#7  0x00a56d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77e6780 (LWP 1782)):
[KCrash Handler]
#7  0x009bfd92 in _IO_vfprintf_internal (s=) at vfprintf.c:1567
#8  0x00a6de57 in ___vsprintf_chk (s=0x8dd7310 "pcm.\320c\260", flags=1, slen=128, format=0x3c0b29d "%s.%s", args=0xbfa51f40 "\t\362&\bIEC9\210\037\245\277\030\207\267\003\240\262\316\b\003") at vsprintf_chk.c:87
#9  0x00a6dd9d in ___sprintf_chk (s=0x8dd7310 "pcm.\320c\260", flags=1, slen=128, format=0x3c0b29d "%s.%s") at sprintf_chk.c:33
#10 0x03b7e215 in sprintf (list=0xbfa5201c, base=0x826f209 "pcm", name=0x39434549 <Address 0x39434549 out of bounds>) at /usr/include/bits/stdio2.h:34
#11 try_config (list=0xbfa5201c, base=0x826f209 "pcm", name=0x39434549 <Address 0x39434549 out of bounds>) at namehint.c:229
#12 0x03b7f510 in add_software_devices (card=-1, iface=0x826f209 "pcm", hints=0xbfa522ec) at namehint.c:512
#13 snd_device_name_hint (card=-1, iface=0x826f209 "pcm", hints=0xbfa522ec) at namehint.c:582
#14 0x0825b69e in PhononServer::findVirtualDevices (this=0x8cfea58) at /usr/src/debug/kdebase-runtime-4.6.1/phonon/kded-module/phononserver.cpp:164
#15 0x0825fdb6 in PhononServer::findDevices (this=0x8cfea58) at /usr/src/debug/kdebase-runtime-4.6.1/phonon/kded-module/phononserver.cpp:518
#16 0x082630e7 in PhononServer::PhononServer (this=0x8cfea58, parent=0x8b77a98) at /usr/src/debug/kdebase-runtime-4.6.1/phonon/kded-module/phononserver.cpp:62
#17 0x082691f9 in KPluginFactory::createInstance<PhononServer, QObject> (parentWidget=0x0, parent=0x8b77a98, args=...) at /usr/include/kde4/kpluginfactory.h:473
#18 0x07b16881 in KPluginFactory::create (this=0x8cfaeb0, iface=0x7b68d40 "KDEDModule", parentWidget=0x0, parent=0x8b77a98, args=..., keyword=...) at /usr/src/debug/kdelibs-4.6.1/kdecore/util/kpluginfactory.cpp:203
#19 0x07c6f916 in create<KDEDModule> (this=0x8b77a98, s=..., onDemand=true) at /usr/src/debug/kdelibs-4.6.1/kdecore/util/kpluginfactory.h:503
#20 Kded::loadModule (this=0x8b77a98, s=..., onDemand=true) at /usr/src/debug/kdelibs-4.6.1/kded/kded.cpp:410
#21 0x07c701e7 in Kded::loadModule (this=0x8b77a98, obj=..., onDemand=true) at /usr/src/debug/kdelibs-4.6.1/kded/kded.cpp:362
#22 0x07c70494 in Kded::messageFilter (message=...) at /usr/src/debug/kdelibs-4.6.1/kded/kded.cpp:205
#23 0x07856ca0 in QDBusConnectionPrivate::handleMessage (this=0x8b715d8, amsg=...) at qdbusintegrator.cpp:541
#24 0x0785a6c5 in qDBusSignalFilter (connection=0x8b73ca8, message=0x8cec1a0, data=0x8b715d8) at qdbusintegrator.cpp:530
#25 0x00629f03 in dbus_connection_dispatch (connection=0x8b73ca8) at dbus-connection.c:4650
#26 0x0784dd6b in q_dbus_connection_dispatch (this=0x8b715d8) at qdbus_symbols_p.h:115
#27 QDBusConnectionPrivate::doDispatch (this=0x8b715d8) at qdbusintegrator.cpp:1094
#28 0x07850d0d in QDBusConnectionPrivate::socketRead (this=0x8b715d8, fd=5) at qdbusintegrator.cpp:1114
#29 0x078954df in QDBusConnectionPrivate::qt_metacall (this=0x8b715d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa52df8) at .moc/release-shared/moc_qdbusconnection_p.cpp:99
#30 0x075e2beb in QMetaObject::metacall (object=0x8b715d8, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfa52df8) at kernel/qmetaobject.cpp:237
#31 0x075f20c7 in QMetaObject::activate (sender=0x8c59d20, m=0x7718a70, local_signal_index=0, argv=0xbfa52df8) at kernel/qobject.cpp:3272
#32 0x076406a4 in QSocketNotifier::activated (this=0x8c59d20, _t1=5) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#33 0x075f88cf in QSocketNotifier::event (this=0x8c59d20, e=0xbfa53284) at kernel/qsocketnotifier.cpp:317
#34 0x0214726c in QApplicationPrivate::notify_helper (this=0x8b78c08, receiver=0x8c59d20, e=0xbfa53284) at kernel/qapplication.cpp:4445
#35 0x0214bed2 in QApplication::notify (this=0xbfa535b0, receiver=0x8c59d20, e=0xbfa53284) at kernel/qapplication.cpp:3845
#36 0x02ca492b in KApplication::notify (this=0xbfa535b0, receiver=0x8c59d20, event=0xbfa53284) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#37 0x075dc3b3 in QCoreApplication::notifyInternal (this=0xbfa535b0, receiver=0x8c59d20, event=0xbfa53284) at kernel/qcoreapplication.cpp:732
#38 0x07609a2f in sendEvent (source=0x8b7b998) at kernel/qcoreapplication.h:215
#39 socketNotifierSourceDispatch (source=0x8b7b998) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00bdc192 in g_main_dispatch (context=0x8b7b090) at gmain.c:2149
#41 g_main_context_dispatch (context=0x8b7b090) at gmain.c:2702
#42 0x00bdc978 in g_main_context_iterate (context=0x8b7b090, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#43 0x00bdcc35 in g_main_context_iteration (context=0x8b7b090, may_block=1) at gmain.c:2843
#44 0x0760a0ad in QEventDispatcherGlib::processEvents (this=0x8b58368, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#45 0x021fa406 in QGuiEventDispatcherGlib::processEvents (this=0x8b58368, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x075db54a in QEventLoop::processEvents (this=0xbfa53504, flags=...) at kernel/qeventloop.cpp:149
#47 0x075db7fa in QEventLoop::exec (this=0xbfa53504, flags=...) at kernel/qeventloop.cpp:201
#48 0x075e03a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x02145078 in QApplication::exec () at kernel/qapplication.cpp:3719
#50 0x07c6efbb in kdemain (argc=1, argv=0xbfa537d4) at /usr/src/debug/kdelibs-4.6.1/kded/kded.cpp:925
#51 0x080486cc in main (argc=1, argv=0xbfa537d4) at /usr/src/debug/kdelibs-4.6.1/i686-redhat-linux-gnu/kded/kded4_dummy.cpp:3

Possible duplicates by query: bug 258829, bug 239991.

Reported using DrKonqi
Comment 1 Harald Sitter 2011-04-16 10:55:15 UTC
This most definitely an issue in ALSA as we call a function with perfectly fine arguments and do not work on multiple threads. Please report the issue to ALSA.

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