Bug 216506

Summary: Amarok collection scan segfaults
Product: [Applications] amarok Reporter: Kerie <jkeiren>
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 Kerie 2009-11-28 13:46:30 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-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
When having renamed all files in my collection using the amarok features, a subsequent automatic scan of the collection (reproducibly) crashes amarok.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f2f12441770 (LWP 12071))]

Thread 10 (Thread 0x7f2efcbdc910 (LWP 12072)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f2f01156c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2efb693910 (LWP 12073)):
#0  0x00007f2f0f9cb373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2f08b8b36c in g_main_context_poll (context=0x20bb670, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x20bb670, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2586
#3  0x00007f2f08b8b6b0 in IA__g_main_context_iteration (context=0x20bb670, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#4  0x00007f2f100e41fe in QEventDispatcherGlib::processEvents (this=0x20d20e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f2f100ba532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f2f100ba904 in QEventLoop::exec (this=0x7f2efb692fe0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f2f0ffd26cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f2f013b156e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f2f0ffd5445 in QThreadPrivate::start (arg=0x2173fe0) at thread/qthread_unix.cpp:188
#10 0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f2efae92910 (LWP 12074)):
#0  0x00007f2f0f9cb373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2efbfc220f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f2efbfb25e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f2efbfb3eb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f2efbfb3f70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f2efbfc212b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f2efbd83050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7f2efa691910 (LWP 12075)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2f01167983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2ef9a85910 (LWP 12076)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2f01167983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f2eefffe910 (LWP 12078)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2f0ffd64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2f0cc89326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2592410, th=0x2afccd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f0cc8b45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2aa4bf0, th=0x2afccd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f0cc89a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2eefffe030, parent=0x2592410, th=0x2afccd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f0cc89eb8 in ThreadWeaver::Thread::run (this=0x2afccd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2f0ffd5445 in QThreadPrivate::start (arg=0x2afccd0) at thread/qthread_unix.cpp:188
#8  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2ee547c910 (LWP 12079)):
[KCrash Handler]
#5  QByteArray::toHex (this=0x7f2d41c25b20) at tools/qbytearray.cpp:3858
#6  0x00007f2f11709f09 in Dynamic::BiasSolver::trackForUid (this=<value optimized out>, uid=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:756
#7  0x00007f2f1170a3d3 in Dynamic::BiasSolver::getRandomTrack (this=0x7f2ed803d8a0, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:732
#8  0x00007f2f1170bd5e in Dynamic::BiasSolver::generateInitialPlaylist (this=0x7f2ed803d8a0, optimal=<value optimized out>) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#9  0x00007f2f1170dff7 in Dynamic::BiasSolver::run (this=0x7f2ed803d8a0) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#10 0x00007f2f0cc8a75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f2ee547bfa0, th=0x2b24cf0, job=0x7f2ed803d8a0) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x00007f2f0cc8aa5e in ThreadWeaver::Job::execute (this=0x7f2ed803d8a0, th=0x2b24cf0) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x00007f2f0cc89a2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2ee547c030, parent=0x2592410, th=0x2b24cf0) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x00007f2f0cc89eb8 in ThreadWeaver::Thread::run (this=0x2b24cf0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f2f0ffd5445 in QThreadPrivate::start (arg=0x2b24cf0) at thread/qthread_unix.cpp:188
#15 0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2ee447a910 (LWP 12082)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2f0ffd64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2f0cc89326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2592410, th=0x27f5cc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f0cc8b45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2aa4bf0, th=0x27f5cc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f0cc89a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2ee447a030, parent=0x2592410, th=0x27f5cc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f0cc89eb8 in ThreadWeaver::Thread::run (this=0x27f5cc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2f0ffd5445 in QThreadPrivate::start (arg=0x27f5cc0) at thread/qthread_unix.cpp:188
#8  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f2ee3c79910 (LWP 12083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2f0ffd64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2afc730, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2f0cc89326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2592410, th=0x7f2ed8002090) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2f0cc8b45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2aa4bf0, th=0x7f2ed8002090) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2f0cc89a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2ee3c79030, parent=0x2592410, th=0x7f2ed8002090) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2f0cc89eb8 in ThreadWeaver::Thread::run (this=0x7f2ed8002090) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2f0ffd5445 in QThreadPrivate::start (arg=0x7f2ed8002090) at thread/qthread_unix.cpp:188
#8  0x00007f2f0a24fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2f0f9d77bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f2f12441770 (LWP 12071)):
#0  0x00007f2f0f9cb373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2f0769629a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f2f076967d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f2f07696a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f2f0ef8fd4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f2f0ef7c4b3 in ?? () from /usr/lib/libX11.so.6
#6  0x00007f2f0ef7c65e in XPutImage () from /usr/lib/libX11.so.6
#7  0x00007f2f10aacb3a in QX11PixmapData::fromImage (this=0x7e5cbd0, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:563
#8  0x00007f2f10a9aec0 in QPixmap::fromImage (image=..., flags=) at image/qpixmap.cpp:1968
#9  0x00007f2f11ee807a in KPixmapCache::Private::loadData (this=0x48fb200, offset=<value optimized out>, pix=...) at ../../kdeui/util/kpixmapcache.cpp:1355
#10 0x00007f2f11ee9096 in KPixmapCache::find (this=0x48f2a70, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:1314
#11 0x00007f2f11895520 in SvgHandler::addBordersToPixmap (this=0x339ebc0, orgPixmap=) at /build/buildd/amarok-2.2.0/src/SvgHandler.cpp:252
#12 0x00007f2f1171ca7c in Meta::Album::imageWithBorder (this=0x2327970, size=<value optimized out>, borderWidth=3) at /build/buildd/amarok-2.2.0/src/meta/Meta.cpp:443
#13 0x00007f2ee6b37826 in AlbumItem::metadataChanged (this=0x664fe00, album=<value optimized out>) at /build/buildd/amarok-2.2.0/src/context/applets/albums/AlbumItem.cpp:98
#14 0x00007f2ee6b37cde in AlbumItem::setAlbum (this=0x664fe00, albumPtr=<value optimized out>) at /build/buildd/amarok-2.2.0/src/context/applets/albums/AlbumItem.cpp:40
#15 0x00007f2ee6b3140b in Albums::dataUpdated (this=<value optimized out>, name=<value optimized out>, data=<value optimized out>)
    at /build/buildd/amarok-2.2.0/src/context/applets/albums/Albums.cpp:166
#16 0x00007f2ee6b32a91 in Albums::qt_metacall (this=0x2729d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff311561a0)
    at /build/buildd/amarok-2.2.0/obj-x86_64-linux-gnu/src/context/applets/albums/Albums.moc:74
#17 0x00007f2f100d0ddc in QMetaObject::activate (sender=0x275e380, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#18 0x00007f2f0c46cc67 in Plasma::DataContainer::dataUpdated (this=0x7fff31152250, _t1=<value optimized out>, _t2=<value optimized out>) at ./datacontainer.moc:93
#19 0x00007f2f0c46cdc1 in Plasma::DataContainer::checkForUpdate (this=0x275e380) at ../../plasma/datacontainer.cpp:167
#20 0x00007f2f0c4700fb in Plasma::DataEngine::timerEvent (this=0x2715aa0, event=<value optimized out>) at ../../plasma/dataengine.cpp:381
#21 0x00007f2f100cad83 in QObject::event (this=0x2715aa0, e=0x1) at kernel/qobject.cpp:1075
#22 0x00007f2f109dbefc in QApplicationPrivate::notify_helper (this=0x2081ce0, receiver=0x2715aa0, e=0x7fff311568a0) at kernel/qapplication.cpp:4056
#23 0x00007f2f109e31ce in QApplication::notify (this=0x7fff31156bb0, receiver=0x2715aa0, e=0x7fff311568a0) at kernel/qapplication.cpp:4021
#24 0x00007f2f11e6dab6 in KApplication::notify (this=0x7fff31156bb0, receiver=0x2715aa0, event=0x7fff311568a0) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007f2f100bbc2c in QCoreApplication::notifyInternal (this=0x7fff31156bb0, receiver=0x2715aa0, event=0x7fff311568a0) at kernel/qcoreapplication.cpp:610
#26 0x00007f2f100e6862 in QCoreApplication::sendEvent (this=0x207b780) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 QTimerInfoList::activateTimers (this=0x207b780) at kernel/qeventdispatcher_unix.cpp:572
#28 0x00007f2f100e425d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#29 0x00007f2f08b87bbe in g_main_dispatch (context=0x207a920) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x207a920) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#31 0x00007f2f08b8b588 in g_main_context_iterate (context=0x207a920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#32 0x00007f2f08b8b6b0 in IA__g_main_context_iteration (context=0x207a920, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#33 0x00007f2f100e41a6 in QEventDispatcherGlib::processEvents (this=0x1f68b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#34 0x00007f2f10a704be in QGuiEventDispatcherGlib::processEvents (this=0x7fff31152250, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f2f100ba532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f2f100ba904 in QEventLoop::exec (this=0x7fff31156b40, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f2f100bcab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x0000000000409ec6 in main (argc=<value optimized out>, argv=0x7fff31158958) at /build/buildd/amarok-2.2.0/src/main.cpp:225
The current source language is "auto; currently c".

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

Reported using DrKonqi
Comment 1 Mikko C. 2009-11-28 13:50:25 UTC

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