Bug 219336

Summary: Amarok crashes on "add to playlist" [QX11PixmapData::fromImage, QPixmapData::fromData, QPixmap::loadFromData]
Product: [Applications] amarok Reporter: Justin Newman <eqisow>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Justin Newman 2009-12-19 18:01:09 UTC
Application: amarok (2.2-GIT)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31.6-166.fc12.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
About half the time, when I drag songs from the library to the playlist, Amarok crashes. Some artists (Zero 7) for example seem to do it every time while others never do it. All songs are mp3 ID3v2.4 UTF-16 and tagged with Picard.

The crash can be reproduced some of the times.

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

Thread 17 (Thread 0x7f7737d13710 (LWP 29521)):
#0  0x0000003aa220b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7736c514b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f773875d710 (LWP 29522)):
#0  0x0000003aa16ed0e7 in pthread_mutex_lock () from /lib64/libc.so.6
#1  0x000000371da3c475 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x000000371da3c811 in ?? () from /lib64/libglib-2.0.so.0
#3  0x000000371da3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x000000357958ee36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003579564362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x000000357956473c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x0000003579470bf9 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f7736eada70 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#11 0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f7732940710 (LWP 29524)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7736c62123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f7731af5710 (LWP 29525)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7736c62123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f77310b2710 (LWP 29526)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7736c62123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f773066f710 (LWP 29527)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7736c62123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f772e69a710 (LWP 29529)):
#0  0x0000003aa16d7443 in select () from /lib64/libc.so.6
#1  0x00007f7736c79565 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f7736c5ef99 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f7726735710 (LWP 29530)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003584402e16 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003584402e59 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f772519a710 (LWP 29531)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000357947461b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003585e0a816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x0000003585e0cedb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x0000003585e0b3af in ?? () from /usr/lib64/libthreadweaver.so.4
#9  0x0000003585e0b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#10 0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#12 0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f7724799710 (LWP 29532)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000357947461b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003585e0a816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x0000003585e0cedb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003585e0b3af in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003585e0b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7723d18710 (LWP 29537)):
#0  0x0000003aa220b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003579474582 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003579469931 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#5  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7722f0f710 (LWP 29538)):
#0  0x0000003aa220b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003579474582 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003579469931 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#5  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f772250e710 (LWP 29539)):
#0  0x0000003aa220b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003579474582 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003579469931 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#5  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7721b0d710 (LWP 29540)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000357947461b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003585e0a816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x0000003585e0cedb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003585e0cef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003585e0b3af in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003585e0b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f772110c710 (LWP 29541)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003583b374e6 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x0000003583b37529 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f771c43f710 (LWP 29543)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000357947461b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003585e0a816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x0000003585e0cedb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003585e0b3af in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003585e0b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003579473665 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#8  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f77444928a0 (LWP 29517)):
[KCrash Handler]
#5  0x000000357b265860 in QImageData::checkForAlphaPixels() const () from /usr/lib64/libQtGui.so.4
#6  0x000000357b29f99d in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#7  0x000000357b292766 in QPixmapData::fromData(unsigned char const*, unsigned int, char const*, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#8  0x000000357b28acf0 in QPixmap::loadFromData(unsigned char const*, unsigned int, char const*, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#9  0x0000003587357602 in loadFromData (flags=<value optimized out>, format=<value optimized out>, buf=<value optimized out>, this=<value optimized out>) at /usr/include/QtGui/qpixmap.h:303
#10 CoverFetcher::finishedImageFetch (flags=<value optimized out>, format=<value optimized out>, buf=<value optimized out>, this=<value optimized out>)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/covermanager/CoverFetcher.cpp:278
#11 0x0000003587358699 in CoverFetcher::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/x86_64-redhat-linux/src/CoverFetcher.moc:75
#12 0x0000003579578853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x000000357ab081a2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#14 0x000000357ab08476 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#15 0x000000357ceee4d3 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#16 0x000000357ceee993 in KIO::TransferJob::slotFinished() () from /usr/lib64/libkio.so.5
#17 0x000000357ceecb81 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#18 0x000000357ceece30 in KIO::StoredTransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#19 0x0000003579578853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#20 0x000000357cfad151 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#21 0x000000357cfaa4a3 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#22 0x000000357cf9e81d in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#23 0x000000357cf9ea1c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#24 0x0000003579578853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#25 0x000000357cebdd57 in ?? () from /usr/lib64/libkio.so.5
#26 0x000000357cebde6d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#27 0x00000035795757b1 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#28 0x000000357b1ab9cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x000000357b1b1f65 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x000000357c41d186 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x0000003579565a2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#32 0x00000035795668a7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#33 0x000000357958f2a3 in ?? () from /usr/lib64/libQtCore.so.4
#34 0x000000371da3922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x000000371da3cc18 in ?? () from /lib64/libglib-2.0.so.0
#36 0x000000371da3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x000000357958ede3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x000000357b257ece in ?? () from /usr/lib64/libQtGui.so.4
#39 0x0000003579564362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x000000357956473c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x0000003579566b59 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#42 0x0000000000408412 in main ()

Possible duplicates by query: bug 219098, bug 218661, bug 215392, bug 212759.

Reported using DrKonqi
Comment 1 Justin Newman 2009-12-19 18:06:14 UTC
amarok --debug, filter "zero 7", drag to playlist, crash: http://pastebin.com/f7da0f51c
Comment 2 Mikko C. 2009-12-19 18:56:12 UTC

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