Bug 231937

Summary: Amarok 2.2.0 crashes using PulseAudio
Product: [Applications] amarok Reporter: Eldin A. Leighton <gtr2773>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eldin A. Leighton 2010-03-23 20:25:08 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Running KDE 4.3.2 on Kubuntu 9.10, which I try hard to keep current. Using apt-get update, followed by apt-get upgrade, the system tells me that currently all installed software systems are current. 

Several times in one day, Amarok has crashed after playing from one to a few songs in a playlist of over 600. When Amarok starts-up, a message is briefly displayed saying something about "Falling back to PulseAudio", but the message appears for only a few seconds, so I can't give you the exact wording.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7731710 (LWP 24169))]

Thread 10 (Thread 0xb6096b70 (LWP 24170)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05768142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e8d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bea9ff in ?? () from /usr/lib/libxine.so.1
#4  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb5895b70 (LWP 24171)):
[KCrash Handler]
#6  0x05765d1d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0061ea46 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#8  0x01be6cbf in xine_close () from /usr/lib/libxine.so.1
#9  0x019a8619 in Phonon::Xine::XineStream::playbackFinished (this=0x244) at ../../xine/xinestream.cpp:786
#10 0x019a9df8 in Phonon::Xine::XineStream::event (this=0x9f7e4a8, ev=0xc1a6ea8) at ../../xine/xinestream.cpp:1043
#11 0x02e10f54 in QApplicationPrivate::notify_helper (this=0x9f4efe0, receiver=0x9f7e4a8, e=0xc1a6ea8) at kernel/qapplication.cpp:4056
#12 0x02e1867c in QApplication::notify (this=0xbfa3d43c, receiver=0x9f7e4a8, e=0xc1a6ea8) at kernel/qapplication.cpp:3603
#13 0x00897bfa in KApplication::notify (this=0xbfa3d43c, receiver=0x9f7e4a8, event=0xc1a6ea8) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x01f9c6cb in QCoreApplication::notifyInternal (this=0xbfa3d43c, receiver=0x9f7e4a8, event=0xc1a6ea8) at kernel/qcoreapplication.cpp:610
#15 0x01f9d2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9ff4b18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ff4b18) at kernel/qcoreapplication.cpp:1247
#17 0x01f9d47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#18 0x01fc73ff in QCoreApplication::sendPostedEvents (s=0xa03d398) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 postEventSourceDispatch (s=0xa03d398) at kernel/qeventdispatcher_glib.cpp:210
#20 0x08defe88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x08df3730 in ?? () from /lib/libglib-2.0.so.0
#22 0x08df3863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x01fc702c in QEventDispatcherGlib::processEvents (this=0x9ff6cb8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#24 0x01f9ac79 in QEventLoop::processEvents (this=0xb58952a4, flags=) at kernel/qeventloop.cpp:149
#25 0x01f9b0ca in QEventLoop::exec (this=0xb58952a4, flags=...) at kernel/qeventloop.cpp:201
#26 0x01ea8b73 in QThread::exec (this=0x9f7c220) at thread/qthread.cpp:487
#27 0x0199c20a in Phonon::Xine::XineThread::run (this=0x9f7c220) at ../../xine/xinethread.cpp:143
#28 0x01eabe32 in QThreadPrivate::start (arg=0x9f7c220) at thread/qthread_unix.cpp:188
#29 0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#30 0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb4cffb70 (LWP 24172)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05767e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bfb5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb44feb70 (LWP 24173)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05767e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bfb5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb3409b70 (LWP 24175)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x00603c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x06996c62 in ?? () from /usr/lib/libpulse.so.0
#3  0x06983a39 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x06985853 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x06985924 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x06996b53 in ?? () from /usr/lib/libpulse.so.0
#7  0x0253d452 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xae467b70 (LWP 24176)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05767e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bfb5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xadc66b70 (LWP 24177)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05767e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01eace67 in QWaitConditionPrivate::wait (this=0xa7092e8, mutex=0xa66bbd0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7092e8, mutex=0xa66bbd0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x006a3b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7092d0, th=0x9ff2a30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x006a619c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa66b728, th=0x9ff2a30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x006a21fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7092d0, th=0x9ff2a30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x006a6292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa66b728, th=0x9ff2a30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x006a3db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7092d0, th=0x9ff2a30, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x006a43be in ThreadWeaver::ThreadRunHelper::run (this=0xadc662f4, parent=0xa7092d0, th=0x9ff2a30) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x006a49db in ThreadWeaver::Thread::run (this=0x9ff2a30) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x01eabe32 in QThreadPrivate::start (arg=0x9ff2a30) at thread/qthread_unix.cpp:188
#13 0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xad465b70 (LWP 24178)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x05767e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0061e87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01eace67 in QWaitConditionPrivate::wait (this=0xa7092e8, mutex=0xa66bbd0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7092e8, mutex=0xa66bbd0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x006a3b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7092d0, th=0xa6f4b78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x006a619c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa66b728, th=0xa6f4b78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x006a21fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7092d0, th=0xa6f4b78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x006a6292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa66b728, th=0xa6f4b78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x006a3db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7092d0, th=0xa6f4b78, previous=0xa461950) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x006a43be in ThreadWeaver::ThreadRunHelper::run (this=0xad4652f4, parent=0xa7092d0, th=0xa6f4b78) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x006a49db in ThreadWeaver::Thread::run (this=0xa6f4b78) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x01eabe32 in QThreadPrivate::start (arg=0xa6f4b78) at thread/qthread_unix.cpp:188
#13 0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xac859b70 (LWP 24181)):
#0  0x00171422 in __kernel_vsyscall ()
#1  0x0060aa71 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x01c13be0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x01bf8011 in ?? () from /usr/lib/libxine.so.1
#4  0x0576380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x006118de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7731710 (LWP 24169)):
#0  0x0061ec73 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x00603ca8 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x017e3d80 in ?? () from /usr/lib/libxcb.so.1
#3  0x017e42eb in ?? () from /usr/lib/libxcb.so.1
#4  0x017e4687 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x07e562e9 in _XSend () from /usr/lib/libX11.so.6
#6  0x07e56480 in _XReply () from /usr/lib/libX11.so.6
#7  0x07e4bb71 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#8  0x02ea13f5 in QWidget::mapToGlobal (this=0xa894440, pos=...) at kernel/qwidget_x11.cpp:1189
#9  0x03497103 in QSystemTrayIconPrivate::geometry_sys (this=0xa593988) at util/qsystemtrayicon_x11.cpp:343
#10 0x03481c2c in QSystemTrayIcon::geometry (this=0xa593b18) at util/qsystemtrayicon.cpp:256
#11 0x00f60e12 in Amarok::TrayIcon::blendOverlay (this=0xa593b18, overlay=...) at /build/buildd/amarok-2.2.0/src/Systray.cpp:429
#12 0x00f63fc6 in Amarok::TrayIcon::paintIcon (this=0xa593b18, trackPosition=0) at /build/buildd/amarok-2.2.0/src/Systray.cpp:402
#13 0x00f6643e in Amarok::TrayIcon::engineNewTrackPlaying (this=0xa593b18) at /build/buildd/amarok-2.2.0/src/Systray.cpp:321
#14 0x00eaa0eb in EngineSubject::newTrackPlaying (this=0x9f58ad0) at /build/buildd/amarok-2.2.0/src/EngineObserver.cpp:200
#15 0x00ea4268 in EngineController::slotNewTrackPlaying (this=0x9f58ac8, source=...) at /build/buildd/amarok-2.2.0/src/EngineController.cpp:960
#16 0x00ea910c in EngineController::qt_metacall (this=0x9f58ac8, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfa3c7d8) at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/EngineController.moc:146
#17 0x01fb2263 in QMetaObject::activate (sender=0x9f57d30, from_signal_index=11, to_signal_index=11, argv=0xbfa3c7d8) at kernel/qobject.cpp:3113
#18 0x01fb2ec2 in QMetaObject::activate (sender=0x9f57d30, m=0x16bc088, local_signal_index=7, argv=0xbfa3c7d8) at kernel/qobject.cpp:3187
#19 0x01689653 in Phonon::MediaObject::currentSourceChanged (this=0x9f57d30, _t1=...) at .moc/release-shared/moc_mediaobject.cpp:228
#20 0x01689ab7 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0x9ff3e68, source=...) at ../3rdparty/phonon/phonon/mediaobject.cpp:446
#21 0x0168b70d in Phonon::MediaObject::qt_metacall (this=0x9f57d30, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbfa3c938) at .moc/release-shared/moc_mediaobject.cpp:138
#22 0x01fb2263 in QMetaObject::activate (sender=0x9f7e228, from_signal_index=8, to_signal_index=8, argv=0xbfa3c938) at kernel/qobject.cpp:3113
#23 0x01fb2ec2 in QMetaObject::activate (sender=0x9f7e228, m=0x19ebee0, local_signal_index=4, argv=0xbfa3c938) at kernel/qobject.cpp:3187
#24 0x019b57f3 in Phonon::Xine::MediaObject::currentSourceChanged (this=0x9f7e228, _t1=...) at ./mediaobject.moc:209
#25 0x019b77ca in Phonon::Xine::MediaObject::setSourceInternal (this=0x9f7e228, source=..., how=Phonon::Xine::MediaObject::HardSwitch) at ../../xine/mediaobject.cpp:424
#26 0x019b8250 in Phonon::Xine::MediaObject::setSource (this=0x9f7e228, source=...) at ../../xine/mediaobject.cpp:317
#27 0x0168adde in Phonon::MediaObjectPrivate::_k_stateChanged (this=0x9ff3e68, newstate=Phonon::ErrorState, oldstate=Phonon::LoadingState) at ../3rdparty/phonon/phonon/mediaobject.cpp:395
#28 0x0168b869 in Phonon::MediaObject::qt_metacall (this=0x9f57d30, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfa3cbc4) at .moc/release-shared/moc_mediaobject.cpp:136
#29 0x01fb2263 in QMetaObject::activate (sender=0x9f7e228, from_signal_index=9, to_signal_index=9, argv=0xbfa3cbc4) at kernel/qobject.cpp:3113
#30 0x01fb2ec2 in QMetaObject::activate (sender=0x9f7e228, m=0x19ebee0, local_signal_index=5, argv=0xbfa3cbc4) at kernel/qobject.cpp:3187
#31 0x019b57a9 in Phonon::Xine::MediaObject::stateChanged (this=0x9f7e228, _t1=Phonon::ErrorState, _t2=Phonon::LoadingState) at ./mediaobject.moc:216
#32 0x019b9c86 in Phonon::Xine::MediaObject::handleStateChange (this=0x9f7e228, newstate=Phonon::ErrorState, oldstate=Phonon::LoadingState) at ../../xine/mediaobject.cpp:247
#33 0x019ba203 in Phonon::Xine::MediaObject::qt_metacall (this=0x9f7e228, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xa7f16c10) at ./mediaobject.moc:158
#34 0x01faaf0b in QMetaCallEvent::placeMetaCall (this=0xa7f08438, object=0x9f7e228) at kernel/qobject.cpp:477
#35 0x01fac5fe in QObject::event (this=0x9f7e228, e=0xa7f08438) at kernel/qobject.cpp:1111
#36 0x02e10f54 in QApplicationPrivate::notify_helper (this=0x9f4efe0, receiver=0x9f7e228, e=0xa7f08438) at kernel/qapplication.cpp:4056
#37 0x02e1867c in QApplication::notify (this=0xbfa3d43c, receiver=0x9f7e228, e=0xa7f08438) at kernel/qapplication.cpp:3603
#38 0x00897bfa in KApplication::notify (this=0xbfa3d43c, receiver=0x9f7e228, event=0xa7f08438) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x01f9c6cb in QCoreApplication::notifyInternal (this=0xbfa3d43c, receiver=0x9f7e228, event=0xa7f08438) at kernel/qcoreapplication.cpp:610
#40 0x01f9d2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9e95a18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9e95a18) at kernel/qcoreapplication.cpp:1247
#42 0x01f9d47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#43 0x01fc73ff in QCoreApplication::sendPostedEvents (s=0x9f4c390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 postEventSourceDispatch (s=0x9f4c390) at kernel/qeventdispatcher_glib.cpp:210
#45 0x08defe88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x08df3730 in ?? () from /lib/libglib-2.0.so.0
#47 0x08df3863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x01fc702c in QEventDispatcherGlib::processEvents (this=0x9e95bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#49 0x02eb1be5 in QGuiEventDispatcherGlib::processEvents (this=0x9e95bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x01f9ac79 in QEventLoop::processEvents (this=0xbfa3d3a4, flags=) at kernel/qeventloop.cpp:149
#51 0x01f9b0ca in QEventLoop::exec (this=0xbfa3d3a4, flags=...) at kernel/qeventloop.cpp:201
#52 0x01f9d53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#53 0x02e10dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#54 0x08051e49 in main (argc=1, argv=0xbfa3dc44) at /build/buildd/amarok-2.2.0/src/main.cpp:225

This bug may be a duplicate of or related to bug 228442

Reported using DrKonqi
Comment 1 Sven Krohlas 2010-03-23 23:47:17 UTC
The Amarok version you are using is very, very old. Please upgrade to a recent one, that bug is veeeeery likely already fixed.

  http://amarok.kde.org/wiki/Download
Comment 2 Eldin A. Leighton 2010-03-25 04:14:33 UTC
Many thanks for your reply. I thought I was using the most current 
version because I have been regularly updating Kubuntu. Obviously, that 
wasn't the case. I now have Amarok 2.3.0 installed. If something goes 
wrong with it, I'll file a bug report.

Thanks for your patience with one who is less than a Kubuntu guru.

Eldin A. Leighton



Sven Krohlas wrote:
> https://bugs.kde.org/show_bug.cgi?id=231937
> 
> 
> Sven Krohlas <sven@asbest-online.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #1 from Sven Krohlas <sven asbest-online de>  2010-03-23 23:47:17 ---
> The Amarok version you are using is very, very old. Please upgrade to a recent
> one, that bug is veeeeery likely already fixed.
> 
>   http://amarok.kde.org/wiki/Download
>