Bug 225839

Summary: amarok stops playing after trying to use jamendo script
Product: [Applications] amarok Reporter: Jonathan Kaye <jdkaye10>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.2.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Kaye 2010-02-07 16:24:52 UTC
Application that crashed: amarok
Version of the application: 2.2.2
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
No tracks selected from the Jamendo database actually play (they show up normally on the left). Once I try to play a track (placed in the playlist as usual) they will not play. Clicking  on the "Play" arrow produces a search for lyrics but nothing else. After that even tracks from my local collection will not play and Amarok crashes on exiting.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f25ffb03770 (LWP 15873))]

Thread 13 (Thread 0x7f25e9b0b910 (LWP 15874)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f25ef520e31 in metronom_sync_loop (this=0x25e4d70) at metronom.c:851
#2  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f25e7faf910 (LWP 15875)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x25e8a80) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QHash (this=0x25e8a80) at /usr/include/qt4/QtCore/qhash.h:265
#7  QSet (this=0x25e8a80) at /usr/include/qt4/QtCore/qset.h:60
#8  Phonon::Xine::SourceNode::sinks (this=0x25e8a80) at ../../xine/sourcenode.cpp:84
#9  0x00007f25ef781618 in Phonon::Xine::XineStream::createStream (this=0x25ea680) at ../../xine/xinestream.cpp:508
#10 0x00007f25ef788c06 in Phonon::Xine::XineStream::event (this=0x25ea680, ev=0x30e0d50) at ../../xine/xinestream.cpp:1229
#11 0x00007f25fd50a01d in QApplicationPrivate::notify_helper (this=0x2425060, receiver=0x25ea680, e=0x30e0d50) at kernel/qapplication.cpp:4065
#12 0x00007f25fd51207a in QApplication::notify (this=0x7fff1cdd1cd0, receiver=0x25ea680, e=0x30e0d50) at kernel/qapplication.cpp:4030
#13 0x00007f25fe090c9c in QCoreApplication::notifyInternal (this=0x7fff1cdd1cd0, receiver=0x25ea680, event=0x30e0d50) at kernel/qcoreapplication.cpp:610
#14 0x00007f25fe0918e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x25e8990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25e8990) at kernel/qcoreapplication.cpp:1247
#16 0x00007f25fe0b97d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007f25f61ef90e in g_main_dispatch (context=0x25e8f20) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#19 IA__g_main_context_dispatch (context=0x25e8f20) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#20 0x00007f25f61f32c8 in g_main_context_iterate (context=0x25e8f20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#21 0x00007f25f61f33f0 in IA__g_main_context_iteration (context=0x25e8f20, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#22 0x00007f25fe0b939c in QEventDispatcherGlib::processEvents (this=0x2503dc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#23 0x00007f25fe08f562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f25fe08f934 in QEventLoop::exec (this=0x7f25e7faefe0, flags=...) at kernel/qeventloop.cpp:201
#25 0x00007f25fdfa85a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007f25ef77baec in Phonon::Xine::XineThread::run (this=0x25e8af0) at ../../xine/xinethread.cpp:143
#27 0x00007f25fdfab4a5 in QThreadPrivate::start (arg=0x25e8af0) at thread/qthread_unix.cpp:188
#28 0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f25e75a5910 (LWP 15878)):
#0  0x00007f25fcb7751b in read () from /lib/libc.so.6
#1  0x00007f25efbce035 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f25efbc8c18 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f25efbd2535 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f25e75abb94 in ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:175
#5  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 10 (Thread 0x7f25e6da4910 (LWP 15879)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25ef5318eb in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f25e619a910 (LWP 15880)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25ef5318eb in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f25e5999910 (LWP 15881)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25ef5318eb in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f25e5198910 (LWP 15882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25ef5318eb in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f25df562910 (LWP 15884)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25fdfac499 in QWaitConditionPrivate::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f25fa7812e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x304e1d0, th=0x304eb40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25fa78337b in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x304eb40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x304eb40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f25fa781a1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f25df562030, parent=0x304e1d0, th=0x304eb40) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f25fa781f88 in ThreadWeaver::Thread::run (this=0x304eb40) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f25fdfab4a5 in QThreadPrivate::start (arg=0x304eb40) at thread/qthread_unix.cpp:188
#9  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f25d50db910 (LWP 15885)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25fdfac499 in QWaitConditionPrivate::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f25fa7812e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x304e1d0, th=0x3059e30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25fa78337b in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x3059e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x3059e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x3059e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x3059e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x3059e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f25fa781a1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f25d50db030, parent=0x304e1d0, th=0x3059e30) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007f25fa781f88 in ThreadWeaver::Thread::run (this=0x3059e30) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f25fdfab4a5 in QThreadPrivate::start (arg=0x3059e30) at thread/qthread_unix.cpp:188
#12 0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f25d40d9910 (LWP 15888)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25fdfac499 in QWaitConditionPrivate::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f25fa7812e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x304e1d0, th=0x2d2e190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25fa78337b in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x2d2e190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25fa783394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x2d2e190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f25fa781a1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f25d40d9030, parent=0x304e1d0, th=0x2d2e190) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f25fa781f88 in ThreadWeaver::Thread::run (this=0x2d2e190) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f25fdfab4a5 in QThreadPrivate::start (arg=0x2d2e190) at thread/qthread_unix.cpp:188
#9  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f25d38d8910 (LWP 15889)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f25fdfac499 in QWaitConditionPrivate::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x304e1f8, mutex=0x304e540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f25fa7812e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x304e1d0, th=0x2c83c00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25fa78337b in ThreadWeaver::WorkingHardState::applyForWork (this=0x304e660, th=0x2c83c00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25fa781a1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f25d38d8030, parent=0x304e1d0, th=0x2c83c00) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f25fa781f88 in ThreadWeaver::Thread::run (this=0x2c83c00) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f25fdfab4a5 in QThreadPrivate::start (arg=0x2c83c00) at thread/qthread_unix.cpp:188
#8  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f25cd115910 (LWP 15923)):
#0  0x00007f25fcb7cf82 in select () from /lib/libc.so.6
#1  0x00007f25ef5495b5 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007f25ef52e789 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007f25f7a3373a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f25fcb8369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f25ffb03770 (LWP 15873)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f25fdfaaf15 in thread_sleep (ti=0x7fff1cdd1980) at thread/qthread_unix.cpp:297
#2  0x00007f25fdfab06e in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:323
#3  0x00007f25ef79f5ba in ~Backend (this=0x2561630, __in_chrg=<value optimized out>) at ../../xine/backend.cpp:108
#4  0x00007f25fa2ebfb7 in ~FactoryPrivate (this=0x240cae0, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007f25fe091215 in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#6  0x00007f25fd5142e8 in ~QApplication (this=0x7fff1cdd1cd0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:971
#7  0x00007f25fed9736c in ~App (this=0x7fff1cdd1cd0, __in_chrg=<value optimized out>) at ../../src/App.cpp:306
#8  0x000000000040a1ff in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:235
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-07 16:59:01 UTC
The crash is in Phonon, but I am not sure if Jamendo actually works reliably

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