Bug 256411

Summary: Phonon configuration crashes on start; no sound after update to 10.10
Product: [Frameworks and Libraries] Phonon Reporter: Denis Kaznadzey <dkaznadzey>
Component: KDE platform pluginAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: andresbajotierra, myriam
Priority: NOR    
Version: 4.4.2 (KDE 4.5)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Denis Kaznadzey 2010-11-09 02:56:30 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Started System configuration, switched to Hardware->Multimedia->Phonon. Cashes immediately.

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Aborted
[Current thread is 1 (Thread 0xb7787710 (LWP 1837))]

Thread 2 (Thread 0xb4ad5b70 (LWP 2342)):
#0  0x00ece416 in __kernel_vsyscall ()
#1  0x007e5884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00d4de04 in __pthread_cond_timedwait (cond=0x858e688, mutex=0x858e670, abstime=0xb4ad5320) at forward.c:152
#3  0x0490bb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb7787710 (LWP 1837)):
[KCrash Handler]
#7  0x00ece416 in __kernel_vsyscall ()
#8  0x00c9a941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x00c9de42 in abort () at abort.c:92
#10 0x00c938e8 in __assert_fail (assertion=0x22bd732 "config && in", file=0x22bd5b9 "conf.c", line=1625, function=0x22be647 "snd_config_load1") at assert.c:81
#11 0x022300dc in ?? () from /usr/lib/libasound.so.2
#12 0x02069196 in installAlsaPhononDeviceHandle () at ../../../phonon/platform_kde/devicelisting.cpp:56
#13 0x020696d3 in Phonon::DeviceListing::DeviceListing (this=0x8502f20) at ../../../phonon/platform_kde/devicelisting.cpp:122
#14 0x020644fe in Phonon::KdePlatformPlugin::ensureDeviceListingObject (this=0x84e1598) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:271
#15 0x02064602 in Phonon::KdePlatformPlugin::objectDescriptionIndexes (this=0x84e1598, type=Phonon::AudioOutputDeviceType) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:282
#16 0x00768c27 in Phonon::GlobalConfig::audioOutputDeviceListFor (this=0xbfbdd658, category=Phonon::NotificationCategory, override=<value optimized out>) at ../../phonon/globalconfig.cpp:307
#17 0x00768f9f in Phonon::GlobalConfig::audioOutputDeviceFor (this=0xbfbdd658, category=Phonon::NotificationCategory, override=6) at ../../phonon/globalconfig.cpp:344
#18 0x00764538 in Phonon::AudioOutputPrivate::createBackendObject (this=0x84eb398) at ../../phonon/audiooutput.cpp:137
#19 0x00761ef0 in Phonon::AudioOutputPrivate::init (this=0x84eb398, c=Phonon::NotificationCategory) at ../../phonon/audiooutput.cpp:106
#20 0x080541e4 in Player (this=0x84b77d4) at ../../knotify/notifybysound.cpp:59
#21 PlayerPool::getPlayer (this=0x84b77d4) at ../../knotify/notifybysound.cpp:99
#22 0x08054611 in NotifyBySound::notify (this=0x84b7d38, eventId=87, config=0x84e3ac8) at ../../knotify/notifybysound.cpp:243
#23 0x0804f725 in KNotify::emitEvent (this=0xbfbde4f4, e=0x84e3ac0) at ../../knotify/knotify.cpp:181
#24 0x0804f9bb in KNotify::event (this=0xbfbde4f4, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=0) at ../../knotify/knotify.cpp:130
#25 0x0804fcba in KNotifyAdaptor::event (this=0x84b5d50, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=<value optimized out>) at ../../knotify/knotify.cpp:238
#26 0x08050f9d in KNotifyAdaptor::qt_metacall (this=0x84b5d50, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfbddadc) at ./knotify.moc:227
#27 0x0012f9dc in QDBusConnectionPrivate::deliverCall (this=0x841f010, object=0x84b5d50, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:919
#28 0x00130d25 in QDBusConnectionPrivate::activateCall (this=0x841f010, object=0x84b5d50, flags=273, msg=...) at qdbusintegrator.cpp:829
#29 0x00131770 in QDBusConnectionPrivate::activateObject (this=0x841f010, node=..., msg=..., pathStartPos=7) at qdbusintegrator.cpp:1379
#30 0x00131a2a in QDBusActivateObjectEvent::placeMetaCall (this=0x84b52c8) at qdbusintegrator.cpp:1493
#31 0x01cd46a2 in QObject::event (this=0xbfbde4f4, e=0x6) at kernel/qobject.cpp:1219
#32 0x00ffafdc in QApplicationPrivate::notify_helper (this=0x84292e8, receiver=0xbfbde4f4, e=0x84b52c8) at kernel/qapplication.cpp:4396
#33 0x0100104e in QApplication::notify (this=0xbfbde508, receiver=0xbfbde4f4, e=0x84b52c8) at kernel/qapplication.cpp:3798
#34 0x0049168a in KApplication::notify (this=0xbfbde508, receiver=0xbfbde4f4, event=0x84b52c8) at ../../kdeui/kernel/kapplication.cpp:310
#35 0x01cc1b3b in QCoreApplication::notifyInternal (this=0xbfbde508, receiver=0xbfbde4f4, event=0x84b52c8) at kernel/qcoreapplication.cpp:732
#36 0x01cc4d8b in sendEvent (receiver=0x0, event_type=0, data=0x8409f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8409f20) at kernel/qcoreapplication.cpp:1373
#38 0x01cc4f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#39 0x01cf0a74 in sendPostedEvents (s=0x842b510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x842b510) at kernel/qeventdispatcher_glib.cpp:277
#41 0x0476c855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x04770668 in ?? () from /lib/libglib-2.0.so.0
#43 0x04770848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x01cf0565 in QEventDispatcherGlib::processEvents (this=0x84099d0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#45 0x010bcbe5 in QGuiEventDispatcherGlib::processEvents (this=0x84099d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x01cc0609 in QEventLoop::processEvents (this=0xbfbde454, flags=) at kernel/qeventloop.cpp:149
#47 0x01cc0a8a in QEventLoop::exec (this=0xbfbde454, flags=...) at kernel/qeventloop.cpp:201
#48 0x01cc500f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x00ff9e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#50 0x0804eacd in main (argc=1, argv=0xbfbde684) at ../../knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Denis Kaznadzey 2010-11-09 03:54:01 UTC
When running 'alsamixer' noticed that it's error report mentions 'PCM is not a string' error in .asoundrc. Removing .asoundrc corrected this error: the phonon configurator now runs Ok, also Kmix shows all channels so that master can be 'unsilenced'. Sound works after this.
Comment 2 Myriam Schweingruber 2010-11-10 08:56:49 UTC
Looks like you had some leftover configuration from 10.04. Since the transition from 10.04 to 10.10 should go smoothly, you should report this as a bug in Launchpad, this is really distribution specific.
Comment 3 Dario Andres 2010-12-23 00:20:07 UTC
[Comment from a bug triager]
This is related to bug 193179.