Bug 209686

Summary: Amarok 2 Segfaults on random actions
Product: [Applications] amarok Reporter: sumstultussedesquoque
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sumstultussedesquoque 2009-10-06 23:59:03 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.8-64.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
Amarok has been randomly segfaulting while not doing anything.  In this case, I simply clicked on an album in the collection to expand it and Amarok segfaulted.  This is not reproducible in terms of some series of steps to follow, but is reproducible on my system in terms of every time I start Amarok, it segfaults in 1-5 minutes upon the execution of some random action (changing songs, just playing a song, expanding an album, etc.).  It doesn't seem to be linked to anything in particular.

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

Thread 10 (Thread 0x7f8a0e5bc910 (LWP 15717)):
#0  0x000000337420b57d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d460135c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f8a0cf78910 (LWP 15723)):
#0  0x00007fffa84ce840 in clock_gettime ()
#1  0x0000003374a03fdf in clock_gettime () from /lib64/librt.so.1
#2  0x0000003aa476945d in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003aa4769641 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003aa476a053 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x0000003aa4767b0d in ?? () from /usr/lib64/libQtCore.so.4
#6  0x0000003aa363a90a in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#7  0x0000003aa363ace1 in ?? () from /lib64/libglib-2.0.so.0
#8  0x0000003aa363b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#9  0x0000003aa476798e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#10 0x0000003aa473ded2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x0000003aa473e2a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x0000003aa4656f8b in QThread::exec() () from /usr/lib64/libQtCore.so.4
#13 0x00007f8a159f7b3e in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#14 0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#16 0x00000033736de3bd in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8a07fff910 (LWP 15724)):
#0  0x00000033736d50d3 in poll () from /lib64/libc.so.6
#1  0x000000366003381b in ?? () from /usr/lib64/libpulse.so.0
#2  0x00000036600212d4 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x0000003660021683 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00000036600216f6 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x0000003660033898 in ?? () from /usr/lib64/libpulse.so.0
#6  0x0000003660442c4f in ?? () from /usr/lib64/libpulsecommon-0.9.15.so
#7  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#8  0x00000033736de3bd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8a075fe910 (LWP 15725)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d46024493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8a06bfd910 (LWP 15726)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d46024493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8a04bd3910 (LWP 15730)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#9  0x00000033736de3bd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f89f0b6c910 (LWP 15731)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#10 0x00000033736de3bd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f89f016b910 (LWP 15732)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#8  0x00000033736de3bd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f89ef563910 (LWP 15733)):
[KCrash Handler]
#5  0x0000003aa465db6c in QByteArray::toHex() const () from /usr/lib64/libQtCore.so.4
#6  0x0000003f77405e0d in Dynamic::BiasSolver::trackForUid (this=<value optimized out>, uid=@0x7f89a53cdd01) at /usr/src/debug/amarok-2.1.1/src/dynamic/BiasSolver.cpp:750
#7  0x0000003f77405ffe in Dynamic::BiasSolver::getRandomTrack (this=0x2472300, subset=@0x2472368) at /usr/src/debug/amarok-2.1.1/src/dynamic/BiasSolver.cpp:726
#8  0x0000003f77407abe in Dynamic::BiasSolver::generateInitialPlaylist (this=0x2472300, optimal=<value optimized out>) at /usr/src/debug/amarok-2.1.1/src/dynamic/BiasSolver.cpp:599
#9  0x0000003f774089f7 in Dynamic::BiasSolver::run (this=0x2472300) at /usr/src/debug/amarok-2.1.1/src/dynamic/BiasSolver.cpp:174
#10 0x000000391a80befd in ?? () from /usr/lib64/libthreadweaver.so.4
#11 0x000000391a80c1fe in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#12 0x000000391a80b1ef in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#16 0x00000033736de3bd in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8a20287860 (LWP 15701)):
#0  0x00000033736d50d3 in poll () from /lib64/libc.so.6
#1  0x0000003375a0882a in ?? () from /usr/lib64/libxcb.so.1
#2  0x0000003375a08d67 in ?? () from /usr/lib64/libxcb.so.1
#3  0x0000003375a09015 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x000000337624c8aa in _XSend () from /usr/lib64/libX11.so.6
#5  0x000000337624cdf5 in _XFlush () from /usr/lib64/libX11.so.6
#6  0x0000003378201fc4 in XRenderComposite () from /usr/lib64/libXrender.so.1
#7  0x0000003aa613ff21 in ?? () from /usr/lib64/libQtGui.so.4
#8  0x0000003aa60aad44 in QPainter::drawTiledPixmap(QRectF const&, QPixmap const&, QPointF const&) () from /usr/lib64/libQtGui.so.4
#9  0x00007f8a17f27b5a in KCoreConfigSkeleton::ItemBool::ItemBool(QString const&, QString const&, bool&, bool) () from /usr/lib64/kde4/plugins/styles/oxygen.so
#10 0x00007f8a17f3c505 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#11 0x0000003aa473e8e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#12 0x0000003aa5f8f66c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x0000003aa5f968fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x0000003aa7011b56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x0000003aa473f59c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x0000003aa5fe4ec3 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#17 0x0000003aa6154cfe in ?? () from /usr/lib64/libQtGui.so.4
#18 0x0000003aa5fd7470 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#19 0x0000003aa5fdd981 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x0000003aa634ff6b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x0000003aa5f8f69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x0000003aa5f968fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x0000003aa7011b56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x0000003aa473f59c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#25 0x0000003aa6152227 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x0000003aa6155361 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x0000003aa5fd937b in QWidget::repaint(QRect const&) () from /usr/lib64/libQtGui.so.4
#28 0x0000003aa5fd9443 in QWidget::repaint() () from /usr/lib64/libQtGui.so.4
#29 0x0000003f772ff0dc in CompoundProgressBar::qt_metacall (this=0x1bf9a60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa841da50)
    at /usr/src/debug/amarok-2.1.1/x86_64-redhat-linux-gnu/src/moc_CompoundProgressBar.cpp:80
#30 0x0000003aa47547dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#31 0x0000003f774d67f1 in ProgressBar::percentageChanged (this=0x7fffa841bfe0, _t1=2) at /usr/src/debug/amarok-2.1.1/x86_64-redhat-linux-gnu/src/ProgressBar.moc:113
#32 0x0000003f773018fd in Dynamic::BiasedPlaylist::qt_metacall (this=0x2290570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f89dc013670)
    at /usr/src/debug/amarok-2.1.1/x86_64-redhat-linux-gnu/src/moc_BiasedPlaylist.cpp:74
#33 0x0000003aa474eb51 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#34 0x0000003aa5f8f69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x0000003aa5f968fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x0000003aa7011b56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#37 0x0000003aa473f59c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#38 0x0000003aa47401a2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#39 0x0000003aa4767cc3 in ?? () from /usr/lib64/libQtCore.so.4
#40 0x0000003aa363790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#41 0x0000003aa363b0e8 in ?? () from /lib64/libglib-2.0.so.0
#42 0x0000003aa363b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#43 0x0000003aa4767936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#44 0x0000003aa6021f8e in ?? () from /usr/lib64/libQtGui.so.4
#45 0x0000003aa473ded2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#46 0x0000003aa473e2a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x0000003aa4740439 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#48 0x0000000000403f96 in main (argc=1, argv=0x7fffa841f518) at /usr/src/debug/amarok-2.1.1/src/main.cpp:128

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-10-07 01:05:23 UTC

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