Bug 187656

Summary: Amarok 2 SVN crashes on collection scan
Product: [Applications] amarok Reporter: Eelko Berkenpies <fedora>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED UPSTREAM    
Severity: crash CC: antoine.gaillard13, mitchell, rdieter, sven
Priority: NOR    
Version: 2.1-SVN   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Cue file that seems to cause a crash

Description Eelko Berkenpies 2009-03-19 22:43:41 UTC
Version:           Amarok 2 SVN (using KDE 4.2.1)
OS:                Linux
Installed from:    Fedora RPMs

When the collectionscanner starts to run, Amarok seems to crash (when it hits 5% or so). When I abort early and disable scanning in general, Amarok seems to work fine.

Details which might be interesting:

- Tried running it on my whole collection.
- Tried running it on one folder.
- Running the collection scanner manually works perfect ( amarokcollectionscanner -ri /path/to/music/ ).
- Using Qt 4.5.
- Using the bundled script bindings.
- Disabled taglib extras dependency.

Here's the actual crash report:

Application: Amarok (amarok), signal SIGABRT
[Current thread is 1 (Thread 0xb80ba790 (LWP 11296))]

Thread 17 (Thread 0x8a4eb90 (LWP 11297)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05cd5c51 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x00ae904e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb691ab90 (LWP 11298)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00ade777 in poll () from /lib/libc.so.6
#2  0x00ec9772 in ?? () from /lib/libglib-2.0.so.0
#3  0x00ec9aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x065c4177 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x06596d6a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x065971aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x064a1199 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x01254802 in Phonon::MediaSource::type () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00bb351f in start_thread () from /lib/libpthread.so.0
#11 0x00ae904e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb5f19b90 (LWP 11299)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00ade777 in poll () from /lib/libc.so.6
#2  0x06e03937 in ?? () from /usr/lib/libpulse.so.0
#3  0x0942a288 in ?? ()
#4  0x00000002 in ?? ()
#5  0xffffffff in ?? ()
#6  0xffffffff in ?? ()
#7  0x00000000 in ?? ()

Thread 14 (Thread 0xb1517b90 (LWP 11300)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05ce8064 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x00ae904e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb0b16b90 (LWP 11301)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05ce8064 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x00ae904e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xafff5b90 (LWP 11303)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08dc928e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0x08dc5f71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0x08c4f8ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0x08f0323e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x00ae904e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xaeaddb90 (LWP 11304)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08dc928e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0x08dc5f71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0x08c4f8ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0x08f0323e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x00ae904e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xae0dcb90 (LWP 11305)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08dc928e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0x08dc5f71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0x08c4f8ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0x08f0323e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x00ae904e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xad6dbb90 (LWP 11306)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08dc928e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0x08dc5f71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0x08c4f8ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0x08f0323e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x00ae904e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xabe4ab90 (LWP 11308)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00ae13d1 in select () from /lib/libc.so.6
#2  0x08dc975a in os_thread_sleep () from /usr/lib/mysql/libmysqld.so.0
#3  0x08eff790 in srv_lock_timeout_and_monitor_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x00ae904e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xab449b90 (LWP 11309)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00ae13d1 in select () from /lib/libc.so.6
#2  0x08dc975a in os_thread_sleep () from /usr/lib/mysql/libmysqld.so.0
#3  0x08efe5d9 in srv_error_monitor_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x00ae904e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaaa48b90 (LWP 11310)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08dc928e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0x08efd7e9 in srv_master_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x00ae904e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa89cdb90 (LWP 11311)):
[KCrash Handler]
#6  0x00480416 in __kernel_vsyscall ()
#7  0x00a30460 in raise () from /lib/libc.so.6
#8  0x00a31e28 in abort () from /lib/libc.so.6
#9  0x00a6dfed in __libc_message () from /lib/libc.so.6
#10 0x00a743a4 in malloc_printerr () from /lib/libc.so.6
#11 0x00dbe591 in operator delete () from /usr/lib/libstdc++.so.6
#12 0x06913dbe in ~KEncodingProberPrivate () at /usr/src/debug/kdelibs-4.2.1/kdecore/localization/kencodingprober.cpp:45
#13 ~KEncodingProber (this=0xa89cc7f4) at /usr/src/debug/kdelibs-4.2.1/kdecore/localization/kencodingprober.cpp:155
#14 0x0066a5ef in MetaCue::Track::load (this=0x9fee1d8, mediaLength=4434) at /usr/src/debug/amarok/src/meta/cue/Cue.cpp:343
#15 0x0066c31f in Track (this=0x9fee1d8, url=@0xa89cc998, cuefile=@0xa89cc8e4) at /usr/src/debug/amarok/src/meta/cue/Cue.cpp:100
#16 0x0067936d in CollectionManager::trackForUrl (this=0x98558c0, url=@0xa89cc998) at /usr/src/debug/amarok/src/collection/CollectionManager.cpp:382
#17 0x006304bb in Meta::M3UPlaylist::loadM3u (this=0xae8a970, stream=@0xa89cca44) at /usr/src/debug/amarok/src/meta/M3UPlaylist.cpp:119
#18 0x00630ff0 in M3UPlaylist (this=0xae8a970, url=@0xa89ccb10) at /usr/src/debug/amarok/src/meta/M3UPlaylist.cpp:71
#19 0x006cac4e in PlaylistManager::save (this=0x9ea7238, fromLocation=@0xa89cd08c) at /usr/src/debug/amarok/src/playlistmanager/PlaylistManager.cpp:272
#20 0x04a18c35 in XmlParseJob::run (this=0x9e7e9a8) at /usr/src/debug/amarok/src/collection/sqlcollection/ScanManager.cpp:741
#21 0x05c7ad24 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa89cd238, th=0x9ea6718, job=0x9e7e9a8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Job.cpp:106
#22 0x05c7b0c9 in ThreadWeaver::Job::execute (this=0x9e7e9a8, th=0x9ea6718) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Job.cpp:135
#23 0x05c79c9a in ThreadWeaver::ThreadRunHelper::run (this=0xa89cd2a0, parent=0x9712038, th=0x9ea6718) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:95
#24 0x05c7a30b in ThreadWeaver::Thread::run (this=0x9ea6718) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#25 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#26 0x00bb351f in start_thread () from /lib/libpthread.so.0
#27 0x00ae904e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa7dffb90 (LWP 11312)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00ae13d1 in select () from /lib/libc.so.6
#2  0x065761a7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x00ae904e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa73feb90 (LWP 11314)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a54b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x05c78e58 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9712038, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x05c7bbfc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ef73b0, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x05c77a3b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9712038, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x05c7bcfa in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ef73b0, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9712038, th=0x9df98d8, previous=0x0) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x05c7bd19 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ef73b0, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9712038, th=0x9df98d8, previous=0x9fabe08) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x05c79cce in ThreadWeaver::ThreadRunHelper::run (this=0xa73fe2a0, parent=0x9712038, th=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:87
#11 0x05c7a30b in ThreadWeaver::Thread::run (this=0x9df98d8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#12 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#13 0x00bb351f in start_thread () from /lib/libpthread.so.0
#14 0x00ae904e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa69fdb90 (LWP 11315)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a54b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x05c78e58 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9712038, th=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x05c7bbfc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ef73b0, th=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x05c77a3b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9712038, th=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x05c7bcfa in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ef73b0, th=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9712038, th=0x9d0c950, previous=0x9f22a18) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x05c79cce in ThreadWeaver::ThreadRunHelper::run (this=0xa69fd2a0, parent=0x9712038, th=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:87
#9  0x05c7a30b in ThreadWeaver::Thread::run (this=0x9d0c950) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#10 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#11 0x00bb351f in start_thread () from /lib/libpthread.so.0
#12 0x00ae904e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb80ba790 (LWP 11296)):
#0  0x00480416 in __kernel_vsyscall ()
#1  0x00bb7432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a3e59 in ?? () from /usr/lib/libQtCore.so.4
#3  0x064a3f8b in QThread::msleep () from /usr/lib/libQtCore.so.4
#4  0x0127a4a4 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x05b42c32 in ?? () from /usr/lib/libphonon.so.4
#6  0x05b40165 in ?? () from /usr/lib/libphonon.so.4
#7  0x05b3d34b in ?? () from /usr/lib/libphonon.so.4
#8  0x00a33949 in exit () from /lib/libc.so.6
#9  0x04ce404b in ?? () from /usr/lib/libQtGui.so.4
#10 0x06bc5aaa in KApplication::xioErrhandler (this=0xbffe9e44, dpy=0x9326230) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:413
#11 0x06bc5ae6 in kde_xio_errhandler (dpy=0x9326230) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:130
#12 0x001b8c02 in _XIOError () from /usr/lib/libX11.so.6
#13 0x001bfc63 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#14 0x001bff90 in ?? () from /usr/lib/libX11.so.6
#15 0x003c48bb in XRenderComposite () from /usr/lib/libXrender.so.1
#16 0x04e7fcd1 in ?? () from /usr/lib/libQtGui.so.4
#17 0x04db546d in QPainter::drawTiledPixmap () from /usr/lib/libQtGui.so.4
#18 0x0112f68f in QPainter::drawRoundRect () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0x0113e5a3 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0x01149707 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0x06bd6014 in KStyle::drawControl (this=0x933d7c0, element=QStyle::CE_ProgressBarGroove, option=0xbffe354c, p=0xbffe5340, widget=0x9710178)
    at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kstyle.cpp:1500
#22 0x01140c32 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#23 0x04fc6398 in ?? () from /usr/lib/libQtGui.so.4
#24 0x04f9a59a in QCommonStyle::drawControl () from /usr/lib/libQtGui.so.4
#25 0x05049cd6 in QWindowsStyle::drawControl () from /usr/lib/libQtGui.so.4
#26 0x04fc7b4e in ?? () from /usr/lib/libQtGui.so.4
#27 0x0510840a in QProgressBar::paintEvent () from /usr/lib/libQtGui.so.4
#28 0x04cd674e in QWidget::event () from /usr/lib/libQtGui.so.4
#29 0x05107c19 in QProgressBar::event () from /usr/lib/libQtGui.so.4
#30 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#31 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#32 0x06bc60fd in KApplication::notify (this=0xbffe9e44, receiver=0x9710178, event=0xbffe5854) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#33 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0x04c8ae9e in QCoreApplication::sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
#35 0x04cde549 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#36 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#37 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#38 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#39 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#40 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#41 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#42 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#43 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#44 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#45 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#46 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#47 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#48 0x04e9962a in ?? () from /usr/lib/libQtGui.so.4
#49 0x04cce9e6 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#50 0x04cd6bb5 in QWidget::event () from /usr/lib/libQtGui.so.4
#51 0x050cc9c7 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#52 0x06ca14a7 in KMainWindow::event (this=0x92fe910, ev=0xbffe6ba0) at /usr/src/debug/kdelibs-4.2.1/kdeui/widgets/kmainwindow.cpp:1094
#53 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#54 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#55 0x06bc60fd in KApplication::notify (this=0xbffe9e44, receiver=0x92fe910, event=0xbffe6ba0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#56 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#57 0x04e96a47 in ?? () from /usr/lib/libQtGui.so.4
#58 0x04e99d67 in ?? () from /usr/lib/libQtGui.so.4
#59 0x04cd1905 in QWidget::repaint () from /usr/lib/libQtGui.so.4
#60 0x04cd1a1c in QWidget::repaint () from /usr/lib/libQtGui.so.4
#61 0x05108c2d in QProgressBar::setValue () from /usr/lib/libQtGui.so.4
#62 0x006fd0a1 in CompoundProgressBar::childPercentageChanged (this=0x971e638) at /usr/src/debug/amarok/src/statusbar/CompoundProgressBar.cpp:133
#63 0x0051ca4b in CompoundProgressBar::qt_metacall (this=0x971e638, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffe6dcc)
    at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/moc_CompoundProgressBar.cpp:80
#64 0x065ae9d8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#65 0x065af662 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#66 0x006faba3 in ProgressBarNG::percentageChanged (this=0x9fe9370, _t1=23) at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/ProgressBar.moc:113
#67 0x006fadfb in ProgressBarNG::setValue (this=0x9fe9370, percentage=23) at /usr/src/debug/amarok/src/statusbar/ProgressBar.cpp:110
#68 0x006fca00 in CompoundProgressBar::incrementProgress (this=0x971e638, owner=0x9e7e9a8) at /usr/src/debug/amarok/src/statusbar/CompoundProgressBar.cpp:104
#69 0x006fa65d in StatusBar::incrementProgress () at /usr/src/debug/amarok/src/statusbar/StatusBar.h:112
#70 StatusBar::qt_metacall (this=0x97080a8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xa7e9c208) at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/StatusBar.moc:113
#71 0x065a762b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#72 0x065a90d0 in QObject::event () from /usr/lib/libQtCore.so.4
#73 0x04cd6270 in QWidget::event () from /usr/lib/libQtGui.so.4
#74 0x05121949 in QStatusBar::event () from /usr/lib/libQtGui.so.4
#75 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#76 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#77 0x06bc60fd in KApplication::notify (this=0xbffe9e44, receiver=0x97080a8, event=0xa7e25198) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#78 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#79 0x06599395 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#80 0x0659958d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#81 0x065c450f in ?? () from /usr/lib/libQtCore.so.4
#82 0x00ec6238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#83 0x00ec98e3 in ?? () from /lib/libglib-2.0.so.0
#84 0x00ec9aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#85 0x065c4158 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#86 0x04d1f675 in ?? () from /usr/lib/libQtGui.so.4
#87 0x06599806 in QCoreApplication::processEvents () from /usr/lib/libQtCore.so.4
#88 0x05fdeaf2 in ?? () from /usr/lib/libQtScript.so.4
#89 0x05fcbce7 in QDateTime::QDateTime () from /usr/lib/libQtScript.so.4
#90 0x05ffaa6b in ?? () from /usr/lib/libQtScript.so.4
#91 0x05feefab in ?? () from /usr/lib/libQtScript.so.4
#92 0x05fdc037 in QScriptEngine::evaluate () from /usr/lib/libQtScript.so.4
#93 0x007b2623 in ScriptManager::slotRunScript (this=0x9fee2f8, name=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 11477}, alloc = 0, size = 0, data = 0x668f79a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 653}, alloc = 0, size = 0, data = 0x668f7ae, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9fc3df8, static codecForCStrings = 0x92f1a58}, silent=false) at /usr/src/debug/amarok/src/dialogs/ScriptManager.cpp:436
#94 0x007b3330 in ScriptManager::slotConfigChanged (this=0x9fee2f8, changed=true) at /usr/src/debug/amarok/src/dialogs/ScriptManager.cpp:515
#95 0x007b4ab2 in ScriptManager::findScripts (this=0x9fee2f8) at /usr/src/debug/amarok/src/dialogs/ScriptManager.cpp:280
#96 0x007b4f73 in ScriptManager::qt_metacall (this=0x9fee2f8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbffe9738) at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/ScriptManager.moc:92
#97 0x065ae9d8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#98 0x065af662 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#99 0x065b3dd7 in ?? () from /usr/lib/libQtCore.so.4
#100 0x065b3efc in ?? () from /usr/lib/libQtCore.so.4
#101 0x065a8e8f in QObject::event () from /usr/lib/libQtCore.so.4
#102 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#103 0x04c8804e in QApplication::notify () from /usr/lib/libQtGui.so.4
#104 0x06bc60fd in KApplication::notify (this=0xbffe9e44, receiver=0x9fd3650, event=0xbffe9bbc) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#105 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#106 0x065c7a11 in ?? () from /usr/lib/libQtCore.so.4
#107 0x065c4200 in ?? () from /usr/lib/libQtCore.so.4
#108 0x00ec6238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#109 0x00ec98e3 in ?? () from /lib/libglib-2.0.so.0
#110 0x00ec9aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#111 0x065c4158 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#112 0x04d1f675 in ?? () from /usr/lib/libQtGui.so.4
#113 0x06596d6a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#114 0x065971aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#115 0x06599659 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#116 0x04c7fbe7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#117 0x0804bee8 in main (argc=2, argv=0xbffea334) at /usr/src/debug/amarok/src/main.cpp:128
Comment 1 Sven Krohlas 2009-03-19 23:30:14 UTC
Reporter, the crash seems to be related to cue files.

Could you please try to isolate the one causing this and attach it to this report?
Comment 2 Eelko Berkenpies 2009-03-21 11:54:32 UTC
Sven, there seem to be multiple cue sheets and I *think* I isolated them all. That still doesn't solve the crash, see an updated report below. It looks like scanner successfully passes all the folders since it now crashes after parsing a whole lot of the following:

amarok: BEGIN: virtual QVariant PlaylistBrowserNS::UserModel::data(const QModelIndex&, int) const
amarok:                  index:  QModelIndex(154,0,0x9a,PlaylistBrowserNS::UserModel(0x9909280) )
amarok:                  playlist at row:  154
amarok: END__: virtual QVariant PlaylistBrowserNS::UserModel::data(const QModelIndex&, int) const - Took 0.00023s
amarok:                "index 154 belongs to groupName "
amarok: BEGIN: virtual int PlaylistBrowserNS::UserModel::rowCount(const QModelIndex&) const
amarok:                  parent:  QModelIndex(-1,-1,0x0,QObject(0x0) )
amarok:                  is not a track
amarok: END__: virtual int PlaylistBrowserNS::UserModel::rowCount(const QModelIndex&) const - Took 0.00021s
amarok: BEGIN: virtual QVariant PlaylistBrowserNS::UserModel::data(const QModelIndex&, int) const
amarok:                  index:  QModelIndex(155,0,0x9b,PlaylistBrowserNS::UserModel(0x9909280) )
amarok:                  playlist at row:  155
amarok: END__: virtual QVariant PlaylistBrowserNS::UserModel::data(const QModelIndex&, int) const - Took 0.00024s

I'll attach the first cue sheet that seemed to cause the first crash. If you would like to see the other ones, please let me know. I had to move 5 folders which have about 10 cue sheets.

Backtrace:

Application: Amarok (amarok), signal SIGABRT
[Current thread is 1 (Thread 0xb7f84790 (LWP 19719))]

Thread 17 (Thread 0xb67e4b90 (LWP 19720)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05cd5c51 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x002b604e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb5de3b90 (LWP 19721)):
#0  0x00cf654a in clock_gettime () from /lib/librt.so.1
#1  0x065c5d8b in ?? () from /usr/lib/libQtCore.so.4
#2  0x065c5f61 in ?? () from /usr/lib/libQtCore.so.4
#3  0x065c7acc in ?? () from /usr/lib/libQtCore.so.4
#4  0x065c433a in ?? () from /usr/lib/libQtCore.so.4
#5  0x00e36142 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x00e365ca in ?? () from /lib/libglib-2.0.so.0
#7  0x00e36aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x065c4177 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0x06596d6a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0x065971aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0x064a1199 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0x01261802 in Phonon::MediaSource::type () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#14 0x00bb351f in start_thread () from /lib/libpthread.so.0
#15 0x002b604e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb53e2b90 (LWP 19722)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x002ab777 in poll () from /lib/libc.so.6
#2  0x01e7a937 in ?? () from /usr/lib/libpulse.so.0
#3  0x0901cab0 in ?? ()
#4  0x00000002 in ?? ()
#5  0xffffffff in ?? ()
#6  0xffffffff in ?? ()
#7  0x00000000 in ?? ()

Thread 14 (Thread 0xb09e0b90 (LWP 19723)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05ce8064 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x002b604e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xaffdfb90 (LWP 19724)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x05ce8064 in ?? () from /usr/lib/libxine.so.1
#3  0x00bb351f in start_thread () from /lib/libpthread.so.0
#4  0x002b604e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xaeab4b90 (LWP 19726)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaee2f28e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0xaee2bf71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0xaecb58ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0xaef6923e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x002b604e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xad63fb90 (LWP 19727)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaee2f28e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0xaee2bf71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0xaecb58ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0xaef6923e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x002b604e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xacc3eb90 (LWP 19728)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaee2f28e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0xaee2bf71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0xaecb58ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0xaef6923e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x002b604e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xac23db90 (LWP 19729)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaee2f28e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0xaee2bf71 in os_aio_simulated_handle () from /usr/lib/mysql/libmysqld.so.0
#4  0xaecb58ad in fil_aio_wait () from /usr/lib/mysql/libmysqld.so.0
#5  0xaef6923e in ?? () from /usr/lib/mysql/libmysqld.so.0
#6  0x00bb351f in start_thread () from /lib/libpthread.so.0
#7  0x002b604e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaa9acb90 (LWP 19731)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x002ae3d1 in select () from /lib/libc.so.6
#2  0xaee2f75a in os_thread_sleep () from /usr/lib/mysql/libmysqld.so.0
#3  0xaef65790 in srv_lock_timeout_and_monitor_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x002b604e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xa9fabb90 (LWP 19732)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x002ae3d1 in select () from /lib/libc.so.6
#2  0xaee2f75a in os_thread_sleep () from /usr/lib/mysql/libmysqld.so.0
#3  0xaef645d9 in srv_error_monitor_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x002b604e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa95aab90 (LWP 19733)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaee2f28e in os_event_wait_low () from /usr/lib/mysql/libmysqld.so.0
#3  0xaef637e9 in srv_master_thread () from /usr/lib/mysql/libmysqld.so.0
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x002b604e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa752fb90 (LWP 19734)):
[KCrash Handler]
#6  0x00b28416 in __kernel_vsyscall ()
#7  0x001fd460 in raise () from /lib/libc.so.6
#8  0x001fee28 in abort () from /lib/libc.so.6
#9  0x0023afed in __libc_message () from /lib/libc.so.6
#10 0x002413a4 in malloc_printerr () from /lib/libc.so.6
#11 0x00dbe591 in operator delete () from /usr/lib/libstdc++.so.6
#12 0x06913dbe in ~KEncodingProberPrivate () at /usr/src/debug/kdelibs-4.2.1/kdecore/localization/kencodingprober.cpp:45
#13 ~KEncodingProber (this=0xa752e7f4) at /usr/src/debug/kdelibs-4.2.1/kdecore/localization/kencodingprober.cpp:155
#14 0x007674ef in MetaCue::Track::load (this=0xaa31068, mediaLength=283) at /usr/src/debug/amarok/src/meta/cue/Cue.cpp:343
#15 0x0076921f in Track (this=0xaa31068, url=@0xa752e998, cuefile=@0xa752e8e4) at /usr/src/debug/amarok/src/meta/cue/Cue.cpp:100
#16 0x0077626d in CollectionManager::trackForUrl (this=0xaf407590, url=@0xa752e998) at /usr/src/debug/amarok/src/collection/CollectionManager.cpp:382
#17 0x0072b64b in Meta::M3UPlaylist::loadM3u (this=0xaa3a590, stream=@0xa752ea44) at /usr/src/debug/amarok/src/meta/M3UPlaylist.cpp:119
#18 0x0072c180 in M3UPlaylist (this=0xaa3a590, url=@0xa752eb10) at /usr/src/debug/amarok/src/meta/M3UPlaylist.cpp:71
#19 0x007c7b4e in PlaylistManager::save (this=0x99262a8, fromLocation=@0xa752f08c) at /usr/src/debug/amarok/src/playlistmanager/PlaylistManager.cpp:272
#20 0x01f42c35 in XmlParseJob::run (this=0x99e3cf8) at /usr/src/debug/amarok/src/collection/sqlcollection/ScanManager.cpp:741
#21 0x05c7ad24 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa752f238, th=0x98e2730, job=0x99e3cf8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Job.cpp:106
#22 0x05c7b0c9 in ThreadWeaver::Job::execute (this=0x99e3cf8, th=0x98e2730) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Job.cpp:135
#23 0x05c79c9a in ThreadWeaver::ThreadRunHelper::run (this=0xa752f2a0, parent=0x9a62920, th=0x98e2730) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:95
#24 0x05c7a30b in ThreadWeaver::Thread::run (this=0x98e2730) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#25 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#26 0x00bb351f in start_thread () from /lib/libpthread.so.0
#27 0x002b604e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa6b2eb90 (LWP 19735)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x002ae3d1 in select () from /lib/libc.so.6
#2  0x065761a7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00bb351f in start_thread () from /lib/libpthread.so.0
#5  0x002b604e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa612db90 (LWP 19737)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a54b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x05c78e58 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a62920, th=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x05c7bbfc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9958640, th=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x05c77a3b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a62920, th=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x05c7bcfa in ThreadWeaver::WorkingHardState::applyForWork (this=0x9958640, th=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a62920, th=0x96c60e8, previous=0x9927288) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x05c79cce in ThreadWeaver::ThreadRunHelper::run (this=0xa612d2a0, parent=0x9a62920, th=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:87
#9  0x05c7a30b in ThreadWeaver::Thread::run (this=0x96c60e8) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#10 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#11 0x00bb351f in start_thread () from /lib/libpthread.so.0
#12 0x002b604e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa572cb90 (LWP 19738)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a54b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x05c78e58 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a62920, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x05c7bbfc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9958640, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x05c77a3b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a62920, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x05c7bcfa in ThreadWeaver::WorkingHardState::applyForWork (this=0x9958640, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a62920, th=0x8f9ea80, previous=0x0) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x05c7bd19 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9958640, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x05c793e3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a62920, th=0x8f9ea80, previous=0x0) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x05c79cce in ThreadWeaver::ThreadRunHelper::run (this=0xa572c2a0, parent=0x9a62920, th=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:87
#11 0x05c7a30b in ThreadWeaver::Thread::run (this=0x8f9ea80) at /usr/src/debug/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#12 0x064a446e in ?? () from /usr/lib/libQtCore.so.4
#13 0x00bb351f in start_thread () from /lib/libpthread.so.0
#14 0x002b604e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f84790 (LWP 19719)):
#0  0x00b28416 in __kernel_vsyscall ()
#1  0x00bb7432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x064a3e59 in ?? () from /usr/lib/libQtCore.so.4
#3  0x064a3f8b in QThread::msleep () from /usr/lib/libQtCore.so.4
#4  0x012874a4 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x05b42c32 in ?? () from /usr/lib/libphonon.so.4
#6  0x05b40165 in ?? () from /usr/lib/libphonon.so.4
#7  0x05b3d34b in ?? () from /usr/lib/libphonon.so.4
#8  0x00200949 in exit () from /lib/libc.so.6
#9  0x04ce404b in ?? () from /usr/lib/libQtGui.so.4
#10 0x06bc5aaa in KApplication::xioErrhandler (this=0xbfcb55b4, dpy=0x8f19668) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:413
#11 0x06bc5ae6 in kde_xio_errhandler (dpy=0x8f19668) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:130
#12 0x003fbc02 in _XIOError () from /usr/lib/libX11.so.6
#13 0x00402c63 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#14 0x00402f90 in ?? () from /usr/lib/libX11.so.6
#15 0x0038376c in XRenderSetPictureClipRectangles () from /usr/lib/libXrender.so.1
#16 0x04e888e9 in ?? () from /usr/lib/libQtGui.so.4
#17 0x04e8a368 in ?? () from /usr/lib/libQtGui.so.4
#18 0x04da7808 in ?? () from /usr/lib/libQtGui.so.4
#19 0x04da78eb in ?? () from /usr/lib/libQtGui.so.4
#20 0x04daddb1 in QPainter::setClipRegion () from /usr/lib/libQtGui.so.4
#21 0x0138cd86 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#22 0x0659795a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#23 0x04c7fd4a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x06bc60fd in KApplication::notify (this=0xbfcb55b4, receiver=0x9024bc8, event=0xbfcb3f14) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#26 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0x04c8ae9e in QCoreApplication::sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
#28 0x04cde549 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#29 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#30 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#31 0x04cdecee in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#32 0x04cde13a in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#33 0x04e9962a in ?? () from /usr/lib/libQtGui.so.4
#34 0x04cce9e6 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#35 0x04cd6bb5 in QWidget::event () from /usr/lib/libQtGui.so.4
#36 0x050cc9c7 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#37 0x06ca14a7 in KMainWindow::event (this=0x8f9a8c0, ev=0xbfcb4ae0) at /usr/src/debug/kdelibs-4.2.1/kdeui/widgets/kmainwindow.cpp:1094
#38 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#39 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#40 0x06bc60fd in KApplication::notify (this=0xbfcb55b4, receiver=0x8f9a8c0, event=0xbfcb4ae0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#41 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#42 0x04e96a47 in ?? () from /usr/lib/libQtGui.so.4
#43 0x04e99d67 in ?? () from /usr/lib/libQtGui.so.4
#44 0x04cd1905 in QWidget::repaint () from /usr/lib/libQtGui.so.4
#45 0x04cd1a1c in QWidget::repaint () from /usr/lib/libQtGui.so.4
#46 0x05108c2d in QProgressBar::setValue () from /usr/lib/libQtGui.so.4
#47 0x007f9fa1 in CompoundProgressBar::childPercentageChanged (this=0xaf43f0b8) at /usr/src/debug/amarok/src/statusbar/CompoundProgressBar.cpp:133
#48 0x006195bb in CompoundProgressBar::qt_metacall (this=0xaf43f0b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfcb4d0c)
    at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/moc_CompoundProgressBar.cpp:80
#49 0x065ae9d8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#50 0x065af662 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#51 0x007f7aa3 in ProgressBarNG::percentageChanged (this=0x99fe6e8, _t1=1548) at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/ProgressBar.moc:113
#52 0x007f7cfb in ProgressBarNG::setValue (this=0x99fe6e8, percentage=1548) at /usr/src/debug/amarok/src/statusbar/ProgressBar.cpp:110
#53 0x007f9900 in CompoundProgressBar::incrementProgress (this=0xaf43f0b8, owner=0x99e3cf8) at /usr/src/debug/amarok/src/statusbar/CompoundProgressBar.cpp:104
#54 0x007f755d in StatusBar::incrementProgress () at /usr/src/debug/amarok/src/statusbar/StatusBar.h:112
#55 StatusBar::qt_metacall (this=0xaf407d38, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xaf29f030) at /usr/src/debug/amarok/i386-redhat-linux-gnu/src/StatusBar.moc:113
#56 0x065a762b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#57 0x065a90d0 in QObject::event () from /usr/lib/libQtCore.so.4
#58 0x04cd6270 in QWidget::event () from /usr/lib/libQtGui.so.4
#59 0x05121949 in QStatusBar::event () from /usr/lib/libQtGui.so.4
#60 0x04c7fd6c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#61 0x04c88132 in QApplication::notify () from /usr/lib/libQtGui.so.4
#62 0x06bc60fd in KApplication::notify (this=0xbfcb55b4, receiver=0xaf407d38, event=0xaf2f53b8) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#63 0x0659873b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#64 0x06599395 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#65 0x0659958d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#66 0x065c450f in ?? () from /usr/lib/libQtCore.so.4
#67 0x00e33238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#68 0x00e368e3 in ?? () from /lib/libglib-2.0.so.0
#69 0x00e36aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#70 0x065c4158 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#71 0x04d1f675 in ?? () from /usr/lib/libQtGui.so.4
#72 0x06596d6a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#73 0x065971aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#74 0x06599659 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#75 0x04c7fbe7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#76 0x0804bee8 in main (argc=2, argv=0xbfcb5aa4) at /usr/src/debug/amarok/src/main.cpp:128
Comment 3 Eelko Berkenpies 2009-03-21 11:59:24 UTC
Created attachment 32308 [details]
Cue file that seems to cause a crash
Comment 4 Jeff Mitchell 2009-03-21 13:29:14 UTC
Good news -- found the problem.

Bad news -- it's in kdelibs, so we're trying to figure out the best way to handle it.

KEncodingProber, which we switched to recently, has crashy behavior.  Once the patch is finalized, I'm going to poke the Amarok maintainers and see if they can issue a new kdelibs build with the patch (crashes in kdelibs have pretty high priority I think).  That, or we might depend on 4.2.2 when it comes out.

If you need it, I can help you with some more complicated temporary workarounds, but the easiest one at the moment might be to simply disable importing playlists when scanning (it's a configuration option in the Collection section).
Comment 5 Dan Meltzer 2009-03-24 13:41:32 UTC
*** Bug 187994 has been marked as a duplicate of this bug. ***
Comment 6 Dan Meltzer 2009-03-24 21:34:26 UTC
*** Bug 187994 has been marked as a duplicate of this bug. ***