Bug 226051

Summary: Amarok crashed just after repopulating the dynamic playlist
Product: [Applications] amarok Reporter: Kenny Kruger <kenneth.j.kruger>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.2.1.90   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kenny Kruger 2010-02-09 19:01:06 UTC
Application: amarok (2.2.1.90)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-19-generic-pae i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I created a basic dynamic playlist (keep 3, add 12). Upon repopulating the playlist Amarok crashes just a few moments afterwords. I have repeated this a few times and it doesn't seem to matter if music was playing or not. I do not need to start playing the music of the new playlist for this crash to occur. 
I noticed some tickets relating to Cover Fetching which is enabled and perhaps it is fetching the newly added songs' covers then crashing?

The crash can be reproduced every time.

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

Thread 18 (Thread 0xaf377b70 (LWP 2192)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554e142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e78d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb043b9ff in ?? () from /usr/lib/libxine.so.1
#4  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 17 (Thread 0xaea19b70 (LWP 2193)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb59ccc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb383054b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb382356b in ?? () from /lib/libglib-2.0.so.0
#4  0xb3823863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb5cf6c0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb5cc94c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb5cc991a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb5bc6558 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb049ba5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0xb5bc93ae in ?? () from /usr/lib/libQtCore.so.4
#11 0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 16 (Thread 0xae218b70 (LWP 2196)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb59ccc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xaeb71c3b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xada17b70 (LWP 2197)):
#0  0xb06db7a4 in ?? () from /usr/lib/libasound.so.2
#1  0xb06ea529 in ?? () from /usr/lib/libasound.so.2
#2  0xb06d614c in snd_pcm_writei () from /usr/lib/libasound.so.2
#3  0xaeb721c2 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#4  0xb044cc78 in ?? () from /usr/lib/libxine.so.1
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xad216b70 (LWP 2198)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb044c5ee in ?? () from /usr/lib/libxine.so.1
#4  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xaca15b70 (LWP 2199)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb044c5ee in ?? () from /usr/lib/libxine.so.1
#4  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xac214b70 (LWP 2200)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb044c5ee in ?? () from /usr/lib/libxine.so.1
#4  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xaab06b70 (LWP 2201)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb3f600d7 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb3f60121 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xa9f6eb70 (LWP 2203)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5bca307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb54308a0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb543341c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb542f26b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5433512 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb54314fe in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5431b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0xb5bc93ae in ?? () from /usr/lib/libQtCore.so.4
#16 0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xa95ffb70 (LWP 2204)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5bca307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb54308a0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb543341c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb542f26b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5433512 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb54314fe in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5431b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb5bc93ae in ?? () from /usr/lib/libQtCore.so.4
#12 0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa8dfeb70 (LWP 2205)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5bca307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb54308a0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb543341c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb542f26b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5433512 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb54314fe in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5431b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb5bc93ae in ?? () from /usr/lib/libQtCore.so.4
#14 0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa85fdb70 (LWP 2208)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5bca307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb54308a0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb543341c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb542f26b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5433512 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5433531 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5430b23 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb54314fe in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb5431b1b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#17 0xb5bc93ae in ?? () from /usr/lib/libQtCore.so.4
#18 0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0x9ce6fb70 (LWP 2221)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4f01bb7 in ?? () from /usr/lib/libQtScript.so.4
#4  0xb4f01c01 in ?? () from /usr/lib/libQtScript.so.4
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0x946ffb70 (LWP 2248)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb59d3a71 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb0464be0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xb0449011 in ?? () from /usr/lib/libxine.so.1
#4  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0x93b15b70 (LWP 2249)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb043efc2 in ?? () from /usr/lib/libxine.so.1
#4  0xb0444d36 in ?? () from /usr/lib/libxine.so.1
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x93147b70 (LWP 2250)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb043efc2 in ?? () from /usr/lib/libxine.so.1
#4  0xb0445d46 in ?? () from /usr/lib/libxine.so.1
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x92946b70 (LWP 2251)):
#0  0xb7738430 in __kernel_vsyscall ()
#1  0xb554de15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb59e787d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb044f51a in xine_event_wait () from /usr/lib/libxine.so.1
#4  0xb044f5a2 in ?? () from /usr/lib/libxine.so.1
#5  0xb554980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb59da8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb1d61780 (LWP 2191)):
[KCrash Handler]
#6  0xb6242507 in QImageData::checkForAlphaPixels() const () from /usr/lib/libQtGui.so.4
#7  0xb6280b7f in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#8  0xb6272019 in QPixmapData::fromData(unsigned char const*, unsigned int, char const*, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#9  0xb6269ea3 in QPixmap::loadFromData(unsigned char const*, unsigned int, char const*, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#10 0xb7047578 in QPixmap::loadFromData (this=0xb466ed8, job=0xb9e8958) at /usr/include/qt4/QtGui/qpixmap.h:303
#11 CoverFetcher::finishedImageFetch (this=0xb466ed8, job=0xb9e8958) at /build/buildd/amarok-2.2.1.90/src/covermanager/CoverFetcher.cpp:278
#12 0xb70479dc in CoverFetcher::qt_metacall (this=0xb466ed8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8f8e58) at /build/buildd/amarok-2.2.1.90/obj-i486-linux-gnu/src/CoverFetcher.moc:75
#13 0xb5cd011a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb5cde89b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xb5ec6c93 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#16 0xb5ec6ff8 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#17 0xb39ae9d0 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#18 0xb39aeeed in KIO::TransferJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0xb39acde3 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#20 0xb39ad0ea in KIO::StoredTransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb5cd011a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb5cde89b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb3a78f67 in KIO::SlaveInterface::finished() () from /usr/lib/libkio.so.5
#24 0xb3a7c28d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#25 0xb3a79423 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#26 0xb3a6c7c8 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#27 0xb3a6c9d3 in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#28 0xb5cd011a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#29 0xb5cde89b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0xb3977537 in KIO::Connection::readyRead() () from /usr/lib/libkio.so.5
#31 0xb39798de in ?? () from /usr/lib/libkio.so.5
#32 0xb3979a0e in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#33 0xb5cd011a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#34 0xb5cda856 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#35 0xb5cdb8ae in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#36 0xb617619c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb617cdf7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb7547a1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb5ccaeab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb5ccd8e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb5ccda4d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb5cf70df in ?? () from /usr/lib/libQtCore.so.4
#43 0xb381fe88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0xb3823730 in ?? () from /lib/libglib-2.0.so.0
#45 0xb3823863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0xb5cf6bd5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb6233b75 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb5cc94c9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb5cc991a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb5ccdb0f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb6176237 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x0804fe81 in main (argc=1, argv=0xbf8fa584) at /build/buildd/amarok-2.2.1.90/src/main.cpp:235

Possible duplicates by query: bug 225899, bug 225885, bug 225739, bug 225659, bug 225240.

Reported using DrKonqi
Comment 1 Kenny Kruger 2010-02-09 20:10:21 UTC
Updated Amarok to version 2.2.2. Using the same steps to reproduce, Amarok no longer crashes.
Comment 2 Myriam Schweingruber 2010-02-09 20:49:15 UTC

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