Bug 314055

Summary: No sound from Amarok, Clicking Phonon config file in Amarok crashes it.
Product: [Frameworks and Libraries] Phonon Reporter: Unknown <null>
Component: kded module for audio device listingAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Unknown 2013-01-29 08:21:11 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-36-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

I was trying to play some music from magnatunes.com, then I found out there isn't sound. So, I tried to configure phonon by clicking the button in Amarok, it crashed.

Since I saw the notification panel saying "NVidia sound card" I knew that it tries to use my graphics card bultin sound card while I am using my Intel sound card that came with mother board (which is set to be my Master channel even before launching Amarok).

- Custom settings of the application:

Nothing except what I said before (two sound cards, NVidia is not used while My Master sound card is set to Intel Analogue).

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1f2f6ce780 (LWP 3116))]

Thread 3 (Thread 0x7f1f119ee700 (LWP 3238)):
#0  __pthread_mutex_unlock (mutex=0x1) at pthread_mutex_unlock.c:289
#1  0x00007f1f2a0425d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1f2a00702a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1f2a00749a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1f11cd7406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f1f2a0289e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1f1da4c764 in ?? () from /usr/lib/libGL.so.1
#7  0x00007f1f2a8dde9a in start_thread (arg=0x7f1f119ee700) at pthread_create.c:308
#8  0x00007f1f2ceffcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1f10fe1700 (LWP 3291)):
#0  0x00007f1f2cef28bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1f1da4b74c in ?? () from /usr/lib/libGL.so.1
#2  0x00007f1f1cebbbe7 in ?? () from /usr/lib/tls/libnvidia-tls.so.304.54
#3  0x00007f1f2a0418cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1f2a006ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1f2a006fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1f2a007164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f1f2e343426 in QEventDispatcherGlib::processEvents (this=0x7f1f080008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f1f2e312c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f1f2e312ed7 in QEventLoop::exec (this=0x7f1f10fe0d10, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f1f2e211fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f1f2e2f29ff in QInotifyFileSystemWatcherEngine::run (this=0xca42f0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f1f2e214fcb in QThreadPrivate::start (arg=0xca42f0) at thread/qthread_unix.cpp:298
#13 0x00007f1f1da4c764 in ?? () from /usr/lib/libGL.so.1
#14 0x00007f1f2a8dde9a in start_thread (arg=0x7f1f10fe1700) at pthread_create.c:308
#15 0x00007f1f2ceffcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f2f6ce780 (LWP 3116)):
[KCrash Handler]
#6  0x00007f1f2ce42425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f1f2ce45b8b in __GI_abort () at abort.c:91
#8  0x00007f1f2ce8039e in __libc_message (do_abort=2, fmt=0x7f1f2cf8a008 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f1f2ce8ab96 in malloc_printerr (action=3, str=0x7f1f2cf8a1f8 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f1f1cebbcc1 in ?? () from /usr/lib/tls/libnvidia-tls.so.304.54
#11 0x00007f1f0155beef in snd_config_hooks_call (config=0x1223690, root=0x118e560, private_data=<optimized out>) at conf.c:3333
#12 snd_config_hooks (config=0x118e560, private_data=0x0) at conf.c:3362
#13 0x00007f1f0155ca08 in snd_config_update_r (_top=0x7f1f018195f0, _update=0x7f1f018195f8, cfgs=<optimized out>) at conf.c:3768
#14 0x00007f1f0155ce92 in snd_config_update () at conf.c:3799
#15 0x00007f1efb64fc9b in PhononServer::findVirtualDevices (this=0x107ff60) at ../../../phonon/kded-module/phononserver.cpp:164
#16 0x00007f1efb652095 in PhononServer::findDevices (this=0x107ff60) at ../../../phonon/kded-module/phononserver.cpp:677
#17 0x00007f1efb655d98 in PhononServer::PhononServer (this=0x107ff60, parent=<optimized out>) at ../../../phonon/kded-module/phononserver.cpp:64
#18 0x00007f1efb659237 in KPluginFactory::createInstance<PhononServer, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#19 0x00007f1f2e889621 in KPluginFactory::create (this=0xce4b20, iface=0x7f1f2e8e0c80 "KDEDModule", parentWidget=0x0, parent=0x975a30, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#20 0x00007f1f192d04fd in create<KDEDModule> (args=..., parent=0x975a30, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#21 Kded::loadModule (this=0x975a30, s=..., onDemand=<optimized out>) at ../../kded/kded.cpp:409
#22 0x00007f1f192d0e8d in Kded::loadModule (this=0x975a30, obj=..., onDemand=true) at ../../kded/kded.cpp:361
#23 0x00007f1f192d1124 in Kded::messageFilter (message=...) at ../../kded/kded.cpp:204
#24 0x00007f1f2b87f8a5 in QDBusConnectionPrivate::handleMessage (this=0x973250, amsg=...) at qdbusintegrator.cpp:557
#25 0x00007f1f2b8834f9 in qDBusSignalFilter (connection=<optimized out>, message=<optimized out>, data=0x973250) at qdbusintegrator.cpp:546
#26 0x00007f1f28c03ac6 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#27 0x00007f1f2b8766f9 in q_dbus_connection_dispatch (connection=<optimized out>) at qdbus_symbols_p.h:115
#28 QDBusConnectionPrivate::doDispatch (this=0x973250) at qdbusintegrator.cpp:1129
#29 0x00007f1f2b87a6c5 in QDBusConnectionPrivate::socketRead (this=0x973250, fd=<optimized out>) at qdbusintegrator.cpp:1149
#30 0x00007f1f2e328281 in QMetaObject::activate (sender=0xb7d280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc8d81980) at kernel/qobject.cpp:3547
#31 0x00007f1f2e3752fe in QSocketNotifier::activated (this=<optimized out>, _t1=5) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#32 0x00007f1f2e33160b in QSocketNotifier::event (this=0xb7d280, e=0x7fffc8d81ff0) at kernel/qsocketnotifier.cpp:317
#33 0x00007f1f2d696894 in notify_helper (e=0x7fffc8d81ff0, receiver=0xb7d280, this=0x9804b0) at kernel/qapplication.cpp:4559
#34 QApplicationPrivate::notify_helper (this=0x9804b0, receiver=0xb7d280, e=0x7fffc8d81ff0) at kernel/qapplication.cpp:4531
#35 0x00007f1f2d69b713 in QApplication::notify (this=0x7fffc8d82270, receiver=0xb7d280, e=0x7fffc8d81ff0) at kernel/qapplication.cpp:4420
#36 0x00007f1f2f0ad3f6 in KApplication::notify (this=0x7fffc8d82270, receiver=0xb7d280, event=0x7fffc8d81ff0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f1f2e313e9c in QCoreApplication::notifyInternal (this=0x7fffc8d82270, receiver=0xb7d280, event=0x7fffc8d81ff0) at kernel/qcoreapplication.cpp:876
#38 0x00007f1f2e342a97 in sendEvent (event=0x7fffc8d81ff0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 socketNotifierSourceDispatch (source=0x981800) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00007f1f2a006d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f1f2a0070a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f1f2a007164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f1f2e3433bf in QEventDispatcherGlib::processEvents (this=0x8887d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007f1f2d73ed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f1f2e312c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f1f2e312ed7 in QEventLoop::exec (this=0x7fffc8d82200, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f1f2e317f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0x00007f1f192cfe55 in kdemain (argc=1, argv=0x9c0120) at ../../kded/kded.cpp:924
#49 0x00000000004086a4 in launch (argc=1, _name=0x40b497 "kded4", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b31e "0") at ../../kinit/kinit.cpp:746
#50 0x0000000000405a59 in main (argc=4, argv=0x7fff00000001, envp=0x7fffc8d83400) at ../../kinit/kinit.cpp:1861

Possible duplicates by query: bug 311589, bug 309216, bug 307561, bug 306284, bug 306240.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-01-29 12:16:20 UTC
Similar to bug 307561.
Comment 2 Myriam Schweingruber 2013-01-29 18:45:34 UTC

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