Bug 180578 - Amarok crashes/freezes while scanning collection
Summary: Amarok crashes/freezes while scanning collection
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3-GIT
Platform: Compiled Sources Unspecified
: HI critical
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 189347 194436 195380 197534 202022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-13 20:51 UTC by Emanuele Cisotti
Modified: 2009-12-09 11:34 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Scan debug of 2 folder with mp3s (107.43 KB, text/plain)
2009-04-21 09:49 UTC, Emanuele Cisotti
Details
Debug output during collection scan (176.75 KB, text/plain)
2009-06-04 10:36 UTC, Stephan Menzel
Details
Amarok debug output (245.61 KB, application/octet-stream)
2009-06-05 10:35 UTC, Eelko Berkenpies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Cisotti 2009-01-13 20:51:04 UTC
Version:            (using Devel)
Installed from:    Compiled sources

With Amarok 2.0.1.1

[KCrash handler]
#6  0xafdf3455 in ?? ()
   from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#7  0xafe05f9d in ?? ()
   from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#8  0xafe07e04 in ?? ()
   from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#9  0xafe0917e in ?? ()
   from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#10 0xb6d40d76 in ?? () from /usr/lib/libamaroklib.so.1
#11 0xb5a098b0 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5a09a95 in ThreadWeaver::Job::execute ()
   from /usr/lib/libthreadweaver.so.4
#13 0xb5a08762 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5a08925 in ThreadWeaver::Thread::run ()
   from /usr/lib/libthreadweaver.so.4
#15 0xb7d256ae in ?? () from /usr/lib/libQtCore.so.4
#16 0xb685450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb6a257ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa21ffb90 (LWP 29735)):
#0  0xb7f2d430 in __kernel_vsyscall ()
#1  0xb6858075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6a339ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d266f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb779564a in ?? () from /usr/lib/libQtGui.so.4
#5  0xb7d256ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb685450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6a257ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa19feb90 (LWP 29736)):
#0  0xb6855a3c in pthread_mutex_lock ()
   from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb6a33bb6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb68a3346 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb68a3c8d in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb68a3f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb7e40497 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#6  0xb7e1452a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb7e146ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb7d22419 in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb7df888b in ?? () from /usr/lib/libQtCore.so.4
#10 0xb7d256ae in ?? () from /usr/lib/libQtCore.so.4
#11 0xb685450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb6a257ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3a696e0 (LWP 29687)):
#0  0xb7f2d430 in __kernel_vsyscall ()
#1  0xb6858075 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6a339ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d266f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7d25853 in QThread::wait () from /usr/lib/libQtCore.so.4
#5  0xb7df551e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb7df851a in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6972d69 in exit () from /lib/tls/i686/cmov/libc.so.6
#8  0xb734cd2b in ?? () from /usr/lib/libQtGui.so.4
#9  0xb70146ca in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5
#10 0xb7014706 in ?? () from /usr/lib/libkdeui.so.5
#11 0xb63c2062 in _XIOError () from /usr/lib/libX11.so.6
#12 0xb63ca135 in ?? () from /usr/lib/libX11.so.6
#13 0xb63ca985 in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0xb63b290f in XEventsQueued () from /usr/lib/libX11.so.6
#15 0xb73870da in ?? () from /usr/lib/libQtGui.so.4
#16 0xb68a3602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#17 0xb68a3a8a in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb68a3f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb7e40497 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#20 0xb7386ea5 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb7e1452a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb7e146ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0xb7759987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#24 0xb6d4719c in ?? () from /usr/lib/libamaroklib.so.1
#25 0xb6b3959d in ?? () from /usr/lib/libamaroklib.so.1
#26 0xb7e2aa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb7e2ae60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb78dae61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#29 0xb762e199 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb762fd94 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb7630026 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#32 0xb7344962 in QWidget::event () from /usr/lib/libQtGui.so.4
#33 0xb762e03e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#34 0xb76d4910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#35 0xb72ec8ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#36 0xb72f50e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb7014d1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#38 0xb7e15e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#39 0xb72f436e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#40 0xb735e656 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb735d9e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#42 0xb73877aa in ?? () from /usr/lib/libQtGui.so.4
#43 0xb68a06f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb68a3da3 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0xb68a3f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb7e40478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#47 0xb7386ea5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb7e1452a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#49 0xb7e146ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#50 0xb7e16da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#51 0xb72ec767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#52 0x0804c042 in _start ()
#0  0xb7f2d430 in __kernel_vsyscall ()

A new scan of the same collection works good (with 2.0 failed), but I can't use it because I'm affected by the compilation handling bug (http://bugs.kde.org/show_bug.cgi?id=172953).
Comment 1 Seb Ruiz 2009-01-13 23:13:57 UTC
Sorry, your backtrace is invalid. Please install an amarok-debug package first.
Comment 2 Emanuele Cisotti 2009-01-15 18:57:22 UTC
That's the output:
Applicazione: Amarok (amarok), segnale SIGSEGV
[Current thread is 0 (LWP 18383)]

Thread 10 (Thread 0xb1cd4b90 (LWP 18386)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6b2bf77 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb1cf5532 in ?? () from /usr/lib/libpulse.so.0
#3  0xb1ce7509 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb1ce8cd3 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb1ce8da4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb1cf52e3 in ?? () from /usr/lib/libpulse.so.0
#7  0xb1d168e2 in ?? () from /usr/lib/libpulse.so.0
#8  0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb14d3b90 (LWP 18388)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6b2bf77 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb1cf5532 in ?? () from /usr/lib/libpulse.so.0
#3  0xb1ce7509 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb1ce8cd3 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb1ce8da4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb1cf52e3 in ?? () from /usr/lib/libpulse.so.0
#7  0xb1d168e2 in ?? () from /usr/lib/libpulse.so.0
#8  0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb0cd1b90 (LWP 18394)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6b2ec01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7f06150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xaee1db90 (LWP 18396)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6969075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b449ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e376f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5b17bfb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x847e710, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb5b1b52c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8a13fe0, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb5b1649b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x847e710, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb5b1b66f in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x8aa1f78, previous=0x0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb5b1b691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x8aa1f78, previous=0x8287068) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb5b197ad in ThreadWeaver::ThreadRunHelper::run (this=0xaee1d350, parent=0x847e710, th=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:87
#12 0xb5b19925 in ThreadWeaver::Thread::run (this=0x8aa1f78) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:142
#13 0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#14 0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xae61cb90 (LWP 18397)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6969075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b449ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e376f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5b17bfb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x847e710, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb5b1b52c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8a13fe0, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb5b1649b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x847e710, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb5b1b66f in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x89ed098, previous=0x0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb5b1b691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x89ed098, previous=0x0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb5b1b691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x89ed098, previous=0x0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb5b1b691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x89ed098, previous=0x8b805d0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb5b197ad in ThreadWeaver::ThreadRunHelper::run (this=0xae61c350, parent=0x847e710, th=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:87
#16 0xb5b19925 in ThreadWeaver::Thread::run (this=0x89ed098) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:142
#17 0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#18 0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xade1bb90 (LWP 18399)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6969075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b449ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e376f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5b17bfb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x847e710, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb5b1b52c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8a13fe0, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb5b1649b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x847e710, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb5b1b66f in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x8a5ab80, previous=0x0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb5b1b691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a13fe0, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb5b18c73 in ThreadWeaver::WeaverImpl::applyForWork (this=0x847e710, th=0x8a5ab80, previous=0x9be0300) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb5b197ad in ThreadWeaver::ThreadRunHelper::run (this=0xade1b350, parent=0x847e710, th=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:87
#12 0xb5b19925 in ThreadWeaver::Thread::run (this=0x8a5ab80) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:142
#13 0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#14 0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xacadcb90 (LWP 18406)):
[KCrash Handler]
#6  ScanManager::isDirInCollection (this=0x8316fe8, path=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 64876}, alloc = 0, size = 0, data = 0xb800c9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 3525}, alloc = 0, size = 0, data = 0xb800c9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xacadbaac, static codecForCStrings = 0x8238218}) at /build/buildd/amarok-kde4-2.0.1.1/src/collection/sqlcollection/ScanManager.cpp:183
#7  0xafc29f9d in SqlCollection::isDirInCollection (this=0x8736f28, path=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 64876}, alloc = 0, size = 0, data = 0xb800c9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 3525}, alloc = 0, size = 0, data = 0xb800c9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xacadbb8c, static codecForCStrings = 0x8238218}) at /build/buildd/amarok-kde4-2.0.1.1/src/collection/sqlcollection/SqlCollection.cpp:172
#8  0xafc2be04 in SqlCollectionLocation::updatedMtime (this=0xac84f80, urls=@0xacadbe44) at /build/buildd/amarok-kde4-2.0.1.1/src/collection/sqlcollection/SqlCollectionLocation.cpp:299
#9  0xafc2d17e in SqlCollectionLocation::insertTracks (this=0xac84f80, trackMap=@0xacadc228) at /build/buildd/amarok-kde4-2.0.1.1/src/collection/sqlcollection/SqlCollectionLocation.cpp:260
#10 0xb6e51d76 in FastForwardWorker::run (this=0x9f919a8) at /build/buildd/amarok-kde4-2.0.1.1/src/databaseimporter/amarok14/FastForwardWorker.cpp:166
#11 0xb5b1a8b0 in ThreadWeaver::JobRunHelper::runTheJob (this=0xacadc2d8, th=0x9bdf0d0, job=0x9f919a8) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Job.cpp:106
#12 0xb5b1aa95 in ThreadWeaver::Job::execute (this=0x9f919a8, th=0x9bdf0d0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Job.cpp:135
#13 0xb5b19762 in ThreadWeaver::ThreadRunHelper::run (this=0xacadc350, parent=0x847e710, th=0x9bdf0d0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:95
#14 0xb5b19925 in ThreadWeaver::Thread::run (this=0x9bdf0d0) at /build/buildd/kde4libs-4.1.4/threadweaver/Weaver/Thread.cpp:142
#15 0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#16 0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa2220b90 (LWP 18425)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6969075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b449ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e376f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb78a664a in ?? () from /usr/lib/libQtGui.so.4
#5  0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa1a1fb90 (LWP 18426)):
#0  0xb6a3354a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb7f530ab in ?? () from /usr/lib/libQtCore.so.4
#2  0xb7f53281 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7f54e3c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb7f5165a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb69b4602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb69b4a8a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb69b4f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb7f51497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb7f2552a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb7f256ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb7e33419 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb7f0988b in ?? () from /usr/lib/libQtCore.so.4
#13 0xb7e366ae in ?? () from /usr/lib/libQtCore.so.4
#14 0xb696550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb6b367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3b7a6e0 (LWP 18383)):
#0  0xb803e430 in __kernel_vsyscall ()
#1  0xb6969075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b449ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e376f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7e36853 in QThread::wait () from /usr/lib/libQtCore.so.4
#5  0xb7f0651e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb7f0951a in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6a83d69 in exit () from /lib/tls/i686/cmov/libc.so.6
#8  0xb745dd2b in ?? () from /usr/lib/libQtGui.so.4
#9  0xb71256ca in KApplication::xioErrhandler (this=0xbfc3fa64, dpy=0x825c6e8) at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:417
#10 0xb7125706 in kde_xio_errhandler (dpy=0x825c6e8) at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:130
#11 0xb64d3062 in _XIOError () from /usr/lib/libX11.so.6
#12 0xb64db135 in ?? () from /usr/lib/libX11.so.6
#13 0xb64db985 in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0xb64c390f in XEventsQueued () from /usr/lib/libX11.so.6
#15 0xb749806d in ?? () from /usr/lib/libQtGui.so.4
#16 0xb69b4308 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#17 0xb69b4c8d in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb69b4f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb7f51497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb7497ea5 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb7f2552a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb7f256ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0xb786a987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#24 0xb6e5819c in CollectionSetup::importCollection (this=0x9f986b0) at /build/buildd/amarok-kde4-2.0.1.1/src/dialogs/CollectionSetup.cpp:142
#25 0xb6c4a59d in CollectionSetup::qt_metacall (this=0x9f986b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc3ebdc)
    at /build/buildd/amarok-kde4-2.0.1.1/obj-i486-linux-gnu/src/moc_CollectionSetup.cpp:70
#26 0xb7f3ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb7f3be60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb79ebe61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#29 0xb773f199 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb7740d94 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb7741026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#32 0xb7455962 in QWidget::event () from /usr/lib/libQtGui.so.4
#33 0xb773f03e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#34 0xb77e5910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#35 0xb73fd8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#36 0xb74060e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb7125d1d in KApplication::notify (this=0xbfc3fa64, receiver=0xa0dc1c0, event=0xbfc3f1b8) at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:311
#38 0xb7f26e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#39 0xb740536e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#40 0xb746f656 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb746e9e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#42 0xb74987aa in ?? () from /usr/lib/libQtGui.so.4
#43 0xb69b16f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb69b4da3 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0xb69b4f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb7f51478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb7497ea5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb7f2552a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#49 0xb7f256ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#50 0xb7f27da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#51 0xb73fd767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#52 0x0804c042 in main (argc=1, argv=0xbfc3ff64) at /build/buildd/amarok-kde4-2.0.1.1/src/main.cpp:130
Comment 3 Myriam Schweingruber 2009-02-08 13:02:12 UTC
Is the above backtrace useful? Then this bug should be reopened
Comment 4 Mark Kretschmann 2009-02-08 13:31:33 UTC
It looks useful to me, yep. Reopening then.
Comment 5 Stephan Menzel 2009-02-25 11:02:21 UTC
I got the same problem. Ever since Amarok2 came out I tried to use it but it never managed to import my collection, so I stuck with 1.4.

However, here's what happens.

1. Start Amarok 2
2. Tell it to scan collection
 -> It will start and stop at ~25% with no comment, about 25% of the collection are imported at this point.
3. Tell to to rescan
 -> Crash with this stacktrace


Anwendung: Amarok (amarok), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007f3d03770ce1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f3d068a2790 (LWP 12427))]

Thread 19 (Thread 0x7f3cf1d93950 (LWP 12428)):
#0  0x00007f3d041acfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cf5858611 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f3cf08f1950 (LWP 12429)):
#0  0x00007f3d041abd80 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f3cfc2d1469 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3cfc2d1a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3d0452d50e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f3d045039a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f3d04503b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f3d0441a028 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f3cf5aedb12 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3d037a210d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f3cefee6950 (LWP 12432)):
#0  0x00007f3d041af87b in read () from /lib64/libpthread.so.0
#1  0x00007f3cf6072c85 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007f3cf606dfe8 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007f3cf6077b85 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007f3cefeeba00 in ?? () from /usr/lib64/xine/plugins/1.25/xineplug_ao_out_alsa.so
#5  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f3cef6a3950 (LWP 12433)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cf5869b63 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f3ced34e950 (LWP 12435)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cee033c8d in os_event_wait_low (event=0xf84b30, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007f3cee030f19 in os_aio_simulated_handle (global_segment=0, message1=0x7f3ced34e048, message2=0x7f3ced34e040, type=0x7f3ced34e038) at ../../../innobase/os/os0file.c:4089
#3  0x00007f3cedff4b73 in fil_aio_wait (segment=0) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007f3cede8c080 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f3cebe95950 (LWP 12436)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cee033c8d in os_event_wait_low (event=0xf84be0, reset_sig_count=3) at ../../../innobase/os/os0sync.c:420
#2  0x00007f3cee030f19 in os_aio_simulated_handle (global_segment=1, message1=0x7f3cebe95048, message2=0x7f3cebe95040, type=0x7f3cebe95038) at ../../../innobase/os/os0file.c:4089
#3  0x00007f3cedff4b73 in fil_aio_wait (segment=1) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007f3cede8c080 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f3ceb694950 (LWP 12437)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cee033c8d in os_event_wait_low (event=0xf84c90, reset_sig_count=2) at ../../../innobase/os/os0sync.c:420
#2  0x00007f3cee030f19 in os_aio_simulated_handle (global_segment=2, message1=0x7f3ceb694048, message2=0x7f3ceb694040, type=0x7f3ceb694038) at ../../../innobase/os/os0file.c:4089
#3  0x00007f3cedff4b73 in fil_aio_wait (segment=2) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007f3cede8c080 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f3ceae93950 (LWP 12438)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cee033c8d in os_event_wait_low (event=0xf84d40, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007f3cee030f19 in os_aio_simulated_handle (global_segment=3, message1=0x7f3ceae93048, message2=0x7f3ceae93040, type=0x7f3ceae93038) at ../../../innobase/os/os0file.c:4089
#3  0x00007f3cedff4b73 in fil_aio_wait (segment=3) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007f3cede8c080 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f3ce997b950 (LWP 12440)):
#0  0x00007f3d0379b662 in select () from /lib64/libc.so.6
#1  0x00007f3cee0340cb in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007f3cede88b08 in srv_lock_timeout_and_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:1882
#3  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f3ce917a950 (LWP 12441)):
#0  0x00007f3d0379b662 in select () from /lib64/libc.so.6
#1  0x00007f3cee0340cb in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007f3cede878ba in srv_error_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2106
#3  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3ce8979950 (LWP 12442)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3cee033c8d in os_event_wait_low (event=0x9c6880, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007f3cede86aef in srv_master_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2598
#3  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3cdc1b2950 (LWP 12443)):
#0  0x00007f3d0379b662 in select () from /lib64/libc.so.6
#1  0x00007f3d044e5366 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3cdb9b1950 (LWP 12445)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3d0441df29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d00acd644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f3d00acfda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f3d00ace36f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f3d00ace7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3cdb1b0950 (LWP 12446)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3d0441df29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d00acd644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f3d00acfda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f3d00ace36f in ?? () from /usr/lib64/libthreadweaver.so.4
#9  0x00007f3d00ace7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#10 0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f3d037a210d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3cda9af950 (LWP 12447)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3d0441df29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d00acd644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f3d00acfda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f3d00acfdbc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f3d00ace36f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f3d00ace7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3d037a210d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3cd81d2950 (LWP 12449)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3d0441df29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d00acd644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f3d00acfda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f3d00ace36f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f3d00ace7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3ccdc11950 (LWP 12451)):
#0  0x00007f3d041acd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3d0441df29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3d05493c7e in ?? () from /usr/lib64/libQtGui.so.4
#3  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f3d037a210d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3ccd410950 (LWP 12452)):
#0  0x00007f3d041aa5d8 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f3cfc2d12aa in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3cfc2d15aa in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3cfc2d1a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3d0452d50e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f3d045039a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f3d04503b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f3d0441a028 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f3d044e8b18 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f3d0441cf72 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f3d041a9070 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3d037a210d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3d068a2790 (LWP 12427)):
[KCrash Handler]
#5  0x00007f3d0449e622 in QIODevice::readLine(char*, long long) () from /usr/lib64/libQtCore.so.4
#6  0x00007f3d0449ed68 in QIODevice::readLine(long long) () from /usr/lib64/libQtCore.so.4
#7  0x00007f3cedd6a580 in ScanManager::slotReadReady (this=0x983500) at /usr/src/debug/amarok-2.0.1.1/src/collection/sqlcollection/ScanManager.cpp:238
#8  0x00007f3cedd6dc88 in ScanManager::qt_metacall (this=0x983500, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0e9fe870)
    at /usr/src/debug/amarok-2.0.1.1/build/src/collection/sqlcollection/ScanManager.moc:79
#9  0x00007f3d04519454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x00007f3d044a76b4 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f3d044a7c99 in QProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007f3d04b2a6fd in KProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdecore.so.5
#13 0x00007f3d05cf57d5 in AmarokProcess::qt_metacall (this=0x0, _c=49366872, _id=4096, _a=0x2f14740) at /usr/src/debug/amarok-2.0.1.1/build/src/moc_AmarokProcess.cpp:71
#14 0x00007f3d04519454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007f3d0455008e in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#16 0x00007f3d0451efa3 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007f3d050431bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f3d0504af8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f3d06404c6b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f3d04505091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f3d0452d769 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x00007f3cfc2ce0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f3cfc2d18ad in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f3cfc2d1a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f3d0452d4ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00007f3d050d39bf in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f3d045039a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007f3d04503b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f3d04505ffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#30 0x0000000000404157 in main (argc=1, argv=0x7fff0ea00538) at /usr/src/debug/amarok-2.0.1.1/src/main.cpp:130
Comment 6 Stephan Menzel 2009-02-25 11:03:26 UTC
Ah, it's OpenSuSE 11.1 64 bit by the way. Binary packages

HTH,

Stephan
Comment 7 Seb Ruiz 2009-02-25 11:07:38 UTC
So, as I've said before, I'm unable to reproduce these bugs, but it's very likely that I haven't taken all database setups into account.

Amarok 2.0.2 will be released very shortly, and I'll add some extra debug to help solve the problems.

I'll report back with further instructions soon.
Comment 8 Stephan Menzel 2009-02-25 11:35:17 UTC
Well, I've got quite an extensive collection (~50G) and it contains all sorts of ID3 and data types (mp3, lotsa ogg, flac, ect). I tried to run amarok2 from console to see if it does any stderr to indicate the problem but there was none. If you could cout some status about where in the collection recursion the scanner currently works one may be able to pinpoint a specific file or dir that causes the crash.

Cheers,

Stephan
Comment 9 Stephan Menzel 2009-03-12 09:59:17 UTC
I tried to strace into the processes to find the cause.

It seems to happen after the collection scanner writes some large chunks into what I can only assume is some sort of index file.

pwrite(30, "\3\353\1\0k\32\376\0\0\0\2\27\360\1\0k\34\277\0\0\0\2-\324\1\0k/\200\0\0\0"..., 1024, 304128) = 1024
pwrite(30, "\3\353\1\0q\211\271\0\0\0\1[\\\1\0q\253F\0\0\0\0\340(\1\0q\276\n\0\0\0"..., 1024, 305152) = 1024
pwrite(30, "\3\353\1\0y\0\0\0\0\0\0\335\20\1\0y\30\221\0\0\0\0SD\1\0y\37\236\0\0\0"..., 1024, 306176) = 1024
pwrite(30, "\3\353\1\0\202f\305\0\0\0\0\306L\1\0\202}G\0\0\0\1,\370\1\0\202\237\240\0\0\0"..., 1024, 307200) = 1024
pwrite(30, "\3\353\1\0\217\346'\0\0\0\0\301\200\1\0\2203\351\0\0\0\2\27\230\1\0\220<\210\0\0\0"..., 1024, 308224) = 1024
pwrite(30, "\3\353\1\0\242\217\10\0\0\0\0020$\1\0\242\270j\0\0\0\0_\204\1\0\243\0\0\0\0\0"..., 1024, 309248) = 1024
pwrite(30, "\2\7\1\0\312\340\200\0\0\0\0\334\300\1\0\315h\0\0\0\0\0-`\1\0\320w\330\0\0\0"..., 1024, 310272) = 1024
pwrite(30, "\201K\0\0\0\0\1\34\1\0 \30\2\0\0\0\1\344\314\0\0\0\0\1\35\1\0/:K\0\0"..., 1024, 311296) = 1024
lseek(30, 0, SEEK_END)                  = 312320
pread(30, "\201\30\0\0\0\0\0\1\0\0\0f\0\0\0\0$\310\0\0\0\0\0\5\0\0\0\314\0\0\0\0"..., 1024, 6144) = 1024
pread(30, "\2d\0\0\6\307\0\0\0\2Zx\0\0\6\310\0\0\0\2Z\320\0\0\6\311\0\0\0\2[@"..., 1024, 51200) = 1024
pwrite(30, "\376\376\7\1\0\3\3\322\0\260\0d\1\\\0\r\0\0\r\0\10\2\0\0\0\0018\377\0\0\0\0"..., 348, 0) = 348
pwrite(30, "\376\376\7\1\0\3\3\322\0\260\0d\1\\\0\r\0\0\r\0\10\2\0\0\0\0018\377\0\0\0\0"..., 244, 0) = 244
pwrite(30, "\376\376\7\1\0\3\3\322\0\260\0d\1\\\0\r\0\0\r\0\10\2\0\0\0\0000\377\0\0\0\0"..., 348, 0) = 348
pwrite(30, "\376\376\7\1\0\3\3\322\0\260\0d\1\\\0\r\0\0\r\0\10\2\0\0\0\0000\377\0\0\0\0"..., 244, 0) = 244
fstat(31, {st_mode=S_IFREG|0660, st_size=159728, ...}) = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
write(5, "A", 1) = 1
futex(0x649228, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x649228, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x649228, FUTEX_WAKE_PRIVATE, 1) = 0
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(99, "\0\0", 2, 24) = 2
close(99) = 0
close(100) = 0
unlink("/tmp/#sql16ae_1_13.frm") = 0
readlink("/tmp/#sql16ae_1_13.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_13.MYI") = 0
readlink("/tmp/#sql16ae_1_13.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_13.MYD") = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
futex(0x9d0804, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9d0800, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x9d07d8, FUTEX_WAKE_PRIVATE, 1) = 1
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
write(5, "A", 1) = 1
futex(0x649228, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x649228, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x649228, FUTEX_WAKE_PRIVATE, 1) = 0
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(99, "\0\0", 2, 24) = 2
close(99) = 0
close(100) = 0
unlink("/tmp/#sql16ae_1_13.frm") = 0
readlink("/tmp/#sql16ae_1_13.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_13.MYI") = 0
readlink("/tmp/#sql16ae_1_13.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_13.MYD") = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
futex(0x9d0804, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9d0800, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x9d07d8, FUTEX_WAKE_PRIVATE, 1) = 1
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(97, "\0\0", 2, 24)               = 2
close(97)                               = 0
close(98)                               = 0
unlink("/tmp/#sql16ae_1_11.frm")        = 0
readlink("/tmp/#sql16ae_1_11.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_11.MYI")        = 0
readlink("/tmp/#sql16ae_1_11.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_11.MYD")        = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(85, "\0\0", 2, 24)               = 2
close(85)                               = 0
close(86)                               = 0
unlink("/tmp/#sql16ae_1_9.frm")         = 0
readlink("/tmp/#sql16ae_1_9.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_9.MYI")         = 0
readlink("/tmp/#sql16ae_1_9.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_9.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(91, "\0\0", 2, 24)               = 2
close(91)                               = 0
close(92)                               = 0
unlink("/tmp/#sql16ae_1_b.frm")         = 0
readlink("/tmp/#sql16ae_1_b.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_b.MYI")         = 0
readlink("/tmp/#sql16ae_1_b.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_b.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(95, "\0\0", 2, 24)               = 2
close(95)                               = 0
close(96)                               = 0
unlink("/tmp/#sql16ae_1_f.frm")         = 0
readlink("/tmp/#sql16ae_1_f.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_f.MYI")         = 0
readlink("/tmp/#sql16ae_1_f.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_f.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(93, "\0\0", 2, 24)               = 2
close(93)                               = 0
close(94)                               = 0
unlink("/tmp/#sql16ae_1_d.frm")         = 0
readlink("/tmp/#sql16ae_1_d.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_d.MYI")         = 0
readlink("/tmp/#sql16ae_1_d.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_d.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(87, "\0\0", 2, 24)               = 2
close(87)                               = 0
close(88)                               = 0
unlink("/tmp/#sql16ae_1_4.frm")         = 0
readlink("/tmp/#sql16ae_1_4.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_4.MYI")         = 0
readlink("/tmp/#sql16ae_1_4.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_4.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
close(80)                               = 0
close(83)                               = 0
unlink("/tmp/#sql16ae_1_1.frm")         = 0
readlink("/tmp/#sql16ae_1_1.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_1.MYI")         = 0
readlink("/tmp/#sql16ae_1_1.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_1.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
sched_setscheduler(5826, SCHED_OTHER, { 6 }) = -1 EINVAL (Invalid argument)
pwrite(70, "\0\0", 2, 24)               = 2
pwrite(70, "\376\376\7\1\0\21\1i\0\260\0d\0\304\0\1\0\0\1\0\10\1\0\0\0\0009\377\0\0\0\0"..., 140, 0) = 140
close(70)                               = 0
close(71)                               = 0
unlink("/tmp/#sql16ae_1_2.frm")         = 0
readlink("/tmp/#sql16ae_1_2.MYI", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_2.MYI")         = 0
readlink("/tmp/#sql16ae_1_2.MYD", 0x7fb1c6cdd570, 511) = -1 EINVAL (Invalid argument)
unlink("/tmp/#sql16ae_1_2.MYD")         = 0
sched_setscheduler(5826, SCHED_OTHER, { 8 }) = -1 EINVAL (Invalid argument)
futex(0x21e4f54, FUTEX_WAIT_PRIVATE, 18, NULL) = 0
futex(0x21e4f28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x21e4b2c, FUTEX_WAIT_PRIVATE, 28, NULL)         = 0
futex(0x21e4b00, FUTEX_WAKE_PRIVATE, 1)         = 1
futex(0x21e4f54, FUTEX_WAIT_PRIVATE, 21, NULL)         = 0
futex(0x21e4f28, FUTEX_WAIT_PRIVATE, 2, NULL)         = 0
futex(0x21e4f28, FUTEX_WAKE_PRIVATE, 1)         = 0
futex(0x21e4f54, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x21e4f50, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1})         = 1
futex(0x21e4f54, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x21e4f50, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1})         = 1
futex(0x21e4f28, FUTEX_WAKE_PRIVATE, 1)         = 1
futex(0x3844f8c, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x3844f60, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x3844f60, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x354dac4, FUTEX_WAIT_PRIVATE, 1, NULL) = 0


Couldn't see what file caused it though but I got some traces of forked processes that tried to scan files that are not actually there anymore but have been a couple of months ago. Apparently this is caused by old cached data.

Does that help?

Stephan
Comment 10 Myriam Schweingruber 2009-04-18 12:52:45 UTC
I can now reproduce this every time I try, but instead of a crash I get a total freeze with no useful backtrace :(

2.1-SVN on Kubuntu Jaunty RC, build of today.

I removed the previous database by removing .kde/share/apps/amarok/mysqle
The collection is located on an external USB disk, formatted as ext3 and mounted at boot time.
Running amarok -d --nofork

The scanning stops at 85% and I have to stop the frozen application with Ctrl+C in konsole.  The Konsole output gives no useful clue on what is going wrong unfortunately. 

On restarting Amarok I have a collection showing up, which can be rescanned without new additions, but about 10% of my collection is missing.
Comment 11 Mark Kretschmann 2009-04-18 13:45:06 UTC
I've renamed the report. "Importing" is confusing, as we also have a Collection Importer for Amarok 1.4 and iTunes databases.

So I changed it to "scanning".
Comment 12 Mark Kretschmann 2009-04-18 13:51:30 UTC
Also CC'ing Dan Meltzer, as I know just how much he loves hacking on the scanner code.
Comment 13 Emanuele Cisotti 2009-04-18 15:01:02 UTC
Still have the same problem with 2.1-SVN:
http://amarok.kde.org/forum/index.php/topic,16839.0.html
Comment 14 Mark Kretschmann 2009-04-18 17:58:35 UTC
*** Bug 189347 has been marked as a duplicate of this bug. ***
Comment 15 Mark Kretschmann 2009-04-18 20:46:51 UTC
Adding Jeff to CC list, as he was the last one to touch the scanner code, IIRC. It's currently unclear if this one is a recent regression, or an old bug. 

Lately we've seen an increase of similar reports, which could however just be a result of the increased increased exposure of 2.1, due to the beta release.

Please note, I'm not saying that you have anything to do with this, but I thought that you might have an idea, as you've been working with the code more recently than most of us.

ScanManager.cpp is evil, that's for sure. Dan and I have already lost our marbles over it ;)
Comment 16 Rishad Bharucha 2009-04-19 05:41:18 UTC
I've had this same problem since I first tried Amarok 2 Alpha 1. It produces the same freeze but at 97%.
Comment 17 Jeff Mitchell 2009-04-19 17:37:28 UTC
The best thing that you guys could do would be to try to isolate what file(s) it's freezing/crashing on.  Take a look in ~/.kde4/share/apps/amarok for the various collection scanner files...one of them should have a list of files, and one of them should have the last file that was being scanned.

Try it manually as well -- try running "amarokcollectionscanner --help".  You probably have recursive searching on so you'll want to try something like: "amarokcollectionscanner -r /path/to/my/music"

Knowing whether the problem is in the collection scanner or the processor code will help immensely.  If you can isolate it to specific files, that will also help quite a lot if I can get my hands on them.
Comment 18 Emanuele Cisotti 2009-04-19 17:52:19 UTC
I've already tried with amarokcollectionscanner -r /path/to/my/music
and it works great. It scans all my collection.
Instead, in Amarok it stops everytime. If i select only some subfolders, it stops in different places, so it's not only ONE file.
Comment 19 Mark Kretschmann 2009-04-20 08:58:31 UTC
Could some of you running 2.1-beta1 (or newer) please attach a full debug log here from a session where you are scanning the collection? You can obtain a log file this way:

amarok -d --nofork &> $HOME/amarok_scanning_debug.txt
Comment 20 Emanuele Cisotti 2009-04-20 17:51:50 UTC
I've made 2 different bug report, one of 50MB, and 70MB the other.
So this is only the last rows of the bug report:
          [CollectionManager] Creating MetaFile::Track 
TagLib: ID3v2.4 no longer supports the frame type TDAT.  It will be discarded from the tag.
amarok:              "Read metadata from file for: Made Of Love (Bobina Megadrive Dub Mix)" 
amarok:              track url:  "/home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/08-ferry_corsten_feat_betsie_larkin-made_of_love__bobina_megadrive_dub_mix.mp3" 
amarok: END__: bool Meta::M3UPlaylist::loadM3u(QTextStream&) - Took 0.088s 
amarok: END__: Meta::M3UPlaylist::M3UPlaylist(const KUrl&) - Took 0.09s 
amarok: BEGIN: virtual bool SqlUserPlaylistProvider::save(const Meta::TrackList&, const QString&) 
amarok:            saving  8  tracks to db with name "00-ferry_corsten_feat_betsie_larkin-made_of_love__incl_push_remix-web-2009" 
amarok: BEGIN: bool Meta::SqlPlaylist::saveToDb(bool) 
amarok:              Creating new playlist 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table '/home/ciso/.kde/share/apps/amarok/mysqle/amarok/playlists.MYI'; try to repair it  on  "INSERT INTO playlists ( parent_id, name, description, urlid ) VALUES ( -1, '00-ferry_corsten_feat_betsie_larkin-made_of_love__incl_push_remix-web-2009', '', '' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 1, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/01-ferry_corsten_feat_betsie_larkin-made_of_love__original_extended_mix.mp3', 'Made Of Love (Original Extended Mix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 538, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/01-ferry_corsten_feat_betsie_larkin-made_of_love__original_extended_mix.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 2, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/02-ferry_corsten_feat_betsie_larkin-made_of_love__5am_dub.mp3', 'Made Of Love (5AM Dub)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 542, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/02-ferry_corsten_feat_betsie_larkin-made_of_love__5am_dub.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 3, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/03-ferry_corsten_feat_betsie_larkin-made_of_love__super8_and_tab_remix.mp3', 'Made Of Love (Super8 & Tab Remix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 505, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/03-ferry_corsten_feat_betsie_larkin-made_of_love__super8_and_tab_remix.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 4, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/04-ferry_corsten_feat_betsie_larkin-made_of_love__duderstadt_progressive_remix.mp3', 'Made Of Love (Duderstadt Progressive Remix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 421, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/04-ferry_corsten_feat_betsie_larkin-made_of_love__duderstadt_progressive_remix.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 5, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/05-ferry_corsten_feat_betsie_larkin-made_of_love__push_remix.mp3', 'Made Of Love (Push Remix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 455, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/05-ferry_corsten_feat_betsie_larkin-made_of_love__push_remix.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 6, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/06-ferry_corsten_feat_betsie_larkin-made_of_love__bobina_megadrive_vox.mp3', 'Made Of Love (Bobina Megadrive Vox)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 533, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/06-ferry_corsten_feat_betsie_larkin-made_of_love__bobina_megadrive_vox.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 7, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/07-ferry_corsten_feat_betsie_larkin-made_of_love__duderstadt_progressive_dub_mix.mp3', 'Made Of Love (Duderstadt Progressive Dub Mix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 422, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/07-ferry_corsten_feat_betsie_larkin-made_of_love__duderstadt_progressive_dub_mix.mp3' );" 
amarok:              [ERROR!] GREPME MySQLe query failed! Incorrect key file for table 'me/ciso/.kde/share/apps/amarok/mysqle/amarok/playlist_tracks.MYI'; try to repair it  on  "INSERT INTO playlist_tracks ( playlist_id, track_num, url, title, album, artist, length, uniqueid ) VALUES ( 0, 8, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/08-ferry_corsten_feat_betsie_larkin-made_of_love__bobina_megadrive_dub_mix.mp3', 'Made Of Love (Bobina Megadrive Dub Mix)', 'Made Of Love (Incl Push Remix)', 'Ferry Corsten Feat Betsie Larkin', 450, 'file:///home/ciso/Musica/Ferry_Corsten_Feat_Betsie_Larkin-Made_Of_Love__Incl_Push_Remix-WEB-2009-WAV/08-ferry_corsten_feat_betsie_larkin-made_of_love__bobina_megadrive_dub_mix.mp3' );" 
amarok: END__: bool Meta::SqlPlaylist::saveToDb(bool) - Took 0.0016s 
amarok: BEGIN: void SqlUserPlaylistProvider::reloadFromDb() 
amarok: BEGIN: void Meta::SqlPlaylistGroup::clear() 
amarok: END__: void Meta::SqlPlaylistGroup::clear() - Took 3.8e-05s 
amarok: END__: void SqlUserPlaylistProvider::reloadFromDb() - Took 0.00011s 
amarok: END__: virtual bool SqlUserPlaylistProvider::save(const Meta::TrackList&, const QString&) - Took 0.0019s 
amarok: END__: bool PlaylistManager::save(const QString&) - Took 0.092s 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE deviceid = -1 AND rpath = './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/01-eric_carter-you_make_me_feel_(radio_edit).mp3';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE uniqueid='amarok-sqltrackuid://dabd4668b4769c080c440e061e259527';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'directories_temp' is marked as crashed and should be repaired  on  "SELECT id, changedate FROM directories_temp WHERE deviceid = -1 AND dir = './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Duplicate entry 'amarok-sqltrackuid://dabd4668b4769c080c440e061e259527' for key 'uniqueid'  on  "INSERT INTO urls_temp(directory,deviceid,rpath,uniqueid) VALUES ( 0, -1, './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/01-eric_carter-you_make_me_feel_(radio_edit).mp3', 'amarok-sqltrackuid://dabd4668b4769c080c440e061e259527' );" 
amarok:        [ERROR!] GREPME MySQLe query failed! Duplicate entry '2062' for key 'PRIMARY'  on  "REPLACE INTO tracks_temp(url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES ( 0,0,0,3,1,4,'You Make Me Feel (Radio Edit)','Enjoy!',1,0,201,191,44100,4804827,0,0,1229548795,1229548795,NULL,NULL,NULL,NULL);" 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE deviceid = -1 AND rpath = './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/02-eric_carter-you_make_me_feel_(original_club_mix).mp3';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE uniqueid='amarok-sqltrackuid://07d736f07b4b88c4be0dd2ec654a2190';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'directories_temp' is marked as crashed and should be repaired  on  "SELECT id, changedate FROM directories_temp WHERE deviceid = -1 AND dir = './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/';" 
amarok:        [ERROR!] GREPME MySQLe query failed! Duplicate entry 'amarok-sqltrackuid://07d736f07b4b88c4be0dd2ec654a2190' for key 'uniqueid'  on  "INSERT INTO urls_temp(directory,deviceid,rpath,uniqueid) VALUES ( 0, -1, './home/ciso/Musica/Eric_Carter-You_Make_Me_Feel-Promo_CDS-2008-OBC/02-eric_carter-you_make_me_feel_(original_club_mix).mp3', 'amarok-sqltrackuid://07d736f07b4b88c4be0dd2ec654a2190' );" 
amarok:        [ERROR!] GREPME MySQLe query failed! Duplicate entry '2062' for key 'PRIMARY'  on  "REPLACE INTO tracks_temp(url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES ( 0,0,0,3,1,4,'You Make Me Feel (Original Club Mix)','Enjoy!',2,0,197,347,44100,8557868,0,0,1229548795,1229548795,NULL,NULL,NULL,NULL);"
Comment 21 Jeff Mitchell 2009-04-20 19:39:49 UTC
You've tried a fresh database?
Comment 22 Emanuele Cisotti 2009-04-21 01:23:42 UTC
Yes, everytime I try I delete my amarok folder before it
Comment 23 Jeff Mitchell 2009-04-21 04:06:36 UTC
Do you have playlists in your folders?  If so, what happens if you try scanning only folders that do not have playlists?
Comment 24 Emanuele Cisotti 2009-04-21 09:49:09 UTC
Created attachment 32972 [details]
Scan debug of 2 folder with mp3s
Comment 25 Emanuele Cisotti 2009-04-21 09:50:27 UTC
I have a LOT of playlist. All the albums and the singles I have, has a playlist inside its folder.
I tried with 2 folders of mp3s, and it stops at 87% but doesn't crash.
I attached the log.
Comment 26 Sebastian Wolf 2009-04-24 15:04:50 UTC
I think I got a similar problem with 3 different versions of amarok:
2.0.60-svn Debian package
2.0.90 compiled from source and
2.1-svn

What happens:
Since I mounted a new harddrive to use it for data storage AmaroK always crashes when scanning my new collection which has moved from ~/Daten/Music to ~/DATA/Music while ~/DATA is the new harddrive/partition. ~/Daten was on my /home -partition.
Also I noticed that my old collection is still shown up but it is not posible to open it.
I hope this is helpful for finding the bug.

Here's the backtrace:

Anwendung: Amarok (amarok), Signal SIGSEGV
0x00007f2a872da8d1 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 7778)]

Thread 13 (Thread 0x7f2a68eef950 (LWP 7812)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f2a6e9f4ca1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f2a67850950 (LWP 7813)):
#0  __pthread_mutex_lock (mutex=0x1d48658) at pthread_mutex_lock.c:86
#1  0x00007f2a80794d70 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#2  0x00007f2a80798640 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f2a807987dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f2a87eb32be in QEventDispatcherGlib::processEvents (this=0x1d48580, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#5  0x00007f2a87e884f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1736769472}) at kernel/qeventloop.cpp:149
#6  0x00007f2a87e888bd in QEventLoop::exec (this=0x7f2a67850000, flags={i = 1736769552}) at kernel/qeventloop.cpp:200
#7  0x00007f2a87d9e8a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#8  0x00007f2a6ec4f634 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x1c34540) at thread/qthread_unix.cpp:189
#10 0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 11 (Thread 0x7f2a66e46950 (LWP 7823)):
#0  0x00007f2a87301946 in *__GI___poll (fds=0x7f2a66e45f90, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2a66e4b849 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 10 (Thread 0x7f2a66645950 (LWP 7824)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a6ea05ce3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2a65c42950 (LWP 7825)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a6ea05ce3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 8 (Thread 0x7f2a5df76950 (LWP 7907)):
#0  _int_malloc (av=0x7f2a8758aa00, bytes=156) at malloc.c:4204
#1  0x00007f2a872b28d8 in *__GI___libc_malloc (bytes=156) at malloc.c:3551
#2  0x00007f2a7ee530d7 in ?? () from /usr/lib/libGL.so.1
#3  0x00007f2a7c439a8d in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#4  0x00007f2a87dd410c in QRegExpMatchState::prepareForMatch (this=0xeaeafd0, eng=0xe037cd0) at tools/qregexp.cpp:1306
#5  0x00007f2a87ddc4b3 in prepareEngine_helper (priv=0xeaeafa0) at tools/qregexp.cpp:3311
#6  0x00007f2a87ddce65 in QRegExp::operator= (this=0x7f2a5df74a90, rx=@0x9c) at tools/qregexp.cpp:3318
#7  0x00007f2a87e1e23a in QList<QRegExp>::append (this=0x7f2a5df74b80, t=@0x7f2a5df74b60) at ../../include/QtCore/../../src/corelib/tools/qlist.h:428
#8  0x00007f2a87e1c380 in QDirIteratorPrivate::matchesFilters (this=0xe9dd390, it=0xe959130) at ../../include/QtCore/../../src/corelib/tools/qlist.h:304
#9  0x00007f2a87e1cdc8 in QDirIteratorPrivate::advance (this=0xe9dd390) at io/qdiriterator.cpp:215
#10 0x00007f2a87e1d157 in QDirIterator::hasNext (this=0x7f2a5df74cd0) at io/qdiriterator.cpp:503
#11 0x00007f2a87e104f8 in QAbstractFileEngine::entryList (this=<value optimized out>, filters=<value optimized out>, filterNames=<value optimized out>) at io/qabstractfileengine.cpp:588
#12 0x00007f2a87e5d2f5 in QFSFileEngine::entryList (this=0x9c, filters=<value optimized out>, filterNames=@0x7f2a8758ab00) at io/qfsfileengine.cpp:801
#13 0x00007f2a87e14b34 in QDir::entryList (this=<value optimized out>, nameFilters=@0xe959830, filters=<value optimized out>, sort={i = 1576488496}) at io/qdir.cpp:1358
#14 0x00007f2a87e14dce in QDir::entryList (this=0x9c, filters=<value optimized out>, sort=<value optimized out>) at io/qdir.cpp:1296
#15 0x00007f2a89927ddd in MetaCue::Track::locateCueSheet (trackurl=@0x7f2a5df751e0) at /home/swo/kde4/src/amarok/src/meta/cue/Cue.cpp:381
#16 0x00007f2a89934a6d in CollectionManager::trackForUrl (this=0x1ed1320, url=@0x7f2a5df751e0) at /home/swo/kde4/src/amarok/src/collection/CollectionManager.cpp:377
#17 0x00007f2a898fb1de in Meta::M3UPlaylist::loadM3u (this=0xe7c3df0, stream=@0x7f2a5df75360) at /home/swo/kde4/src/amarok/src/meta/M3UPlaylist.cpp:119
#18 0x00007f2a898fb596 in M3UPlaylist (this=0xe7c3df0, url=@0x7f2a5df754c0) at /home/swo/kde4/src/amarok/src/meta/M3UPlaylist.cpp:71
#19 0x00007f2a8997e251 in PlaylistManager::save (this=0x2155ab0, fromLocation=@0x7f2a5df75e50) at /home/swo/kde4/src/amarok/src/playlistmanager/PlaylistManager.cpp:272
#20 0x00007f2a5ee90b5d in XmlParseJob::run (this=0x2834080) at /home/swo/kde4/src/amarok/src/collection/sqlcollection/ScanManager.cpp:755
#21 0x00007f2a8524a83c in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f2a5df75fc0, th=0x29c8e60, job=0x2834080) at ../../../threadweaver/Weaver/Job.cpp:106
#22 0x00007f2a8524ab61 in ThreadWeaver::Job::execute (this=0x2834080, th=0x29c8e60) at ../../../threadweaver/Weaver/Job.cpp:135
#23 0x00007f2a85249aff in ThreadWeaver::ThreadRunHelper::run (this=0x7f2a5df76050, parent=0x29c80a0, th=0x29c8e60) at ../../../threadweaver/Weaver/Thread.cpp:95
#24 0x00007f2a85249f89 in ThreadWeaver::Thread::run (this=0x29c8e60) at ../../../threadweaver/Weaver/Thread.cpp:142
#25 0x00007f2a87da1802 in QThreadPrivate::start (arg=0x29c8e60) at thread/qthread_unix.cpp:189
#26 0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#27 0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2a57f0c950 (LWP 7933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a87da27f9 in QWaitCondition::wait (this=0x29c80c8, mutex=0x29c8890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2a85248e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x29c80a0, th=0x2916ac0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f2a8524b5b3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x2916ac0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f2a85249b2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2a57f0c050, parent=0x29c80a0, th=0x2916ac0) at ../../../threadweaver/Weaver/Thread.cpp:87
#5  0x00007f2a85249f89 in ThreadWeaver::Thread::run (this=0x2916ac0) at ../../../threadweaver/Weaver/Thread.cpp:142
#6  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x2916ac0) at thread/qthread_unix.cpp:189
#7  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 6 (Thread 0x7f2a5770b950 (LWP 7934)):
#0  0x00007f2a87303b22 in select () from /lib/libc.so.6
#1  0x00007f2a87e68576 in QProcessManager::run (this=0x1b3a2c0) at io/qprocess_unix.cpp:305
#2  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x1b3a2c0) at thread/qthread_unix.cpp:189
#3  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 5 (Thread 0x7f2a568c1950 (LWP 7937)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a87da27f9 in QWaitCondition::wait (this=0x29c80c8, mutex=0x29c8890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2a85248e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x29c80a0, th=0x27b8810) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f2a8524b5b3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x27b8810) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f2a8524b5cc in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x27b8810) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007f2a8524b5cc in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x27b8810) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f2a85249b2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2a568c1050, parent=0x29c80a0, th=0x27b8810) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f2a85249f89 in ThreadWeaver::Thread::run (this=0x27b8810) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x27b8810) at thread/qthread_unix.cpp:189
#9  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 4 (Thread 0x7f2a560c0950 (LWP 7938)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a87da27f9 in QWaitCondition::wait (this=0x29c80c8, mutex=0x29c8890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2a85248e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x29c80a0, th=0x7f2a4c005cf0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f2a8524b5b3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x7f2a4c005cf0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f2a8524b5cc in ThreadWeaver::WorkingHardState::applyForWork (this=0x29c89b0, th=0x7f2a4c005cf0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007f2a85249b2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2a560c0050, parent=0x29c80a0, th=0x7f2a4c005cf0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2a85249f89 in ThreadWeaver::Thread::run (this=0x7f2a4c005cf0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x7f2a4c005cf0) at thread/qthread_unix.cpp:189
#8  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 3 (Thread 0x7f2a551a8950 (LWP 8355)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2a87da27f9 in QWaitCondition::wait (this=0x2e1b608, mutex=0x2e1b600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f2a88f351fe in QFileInfoGatherer::run (this=0x2e1b5f0) at dialogs/qfileinfogatherer.cpp:193
#3  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x2e1b5f0) at thread/qthread_unix.cpp:189
#4  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2a5459f950 (LWP 8356)):
#0  0x00007f2a87301946 in *__GI___poll (fds=0x2e1eec0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2a807984df in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f2a807987dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f2a87eb32be in QEventDispatcherGlib::processEvents (this=0x2e1b780, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#4  0x00007f2a87e884f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1415180240}) at kernel/qeventloop.cpp:149
#5  0x00007f2a87e888bd in QEventLoop::exec (this=0x7f2a5459f010, flags={i = 1415180320}) at kernel/qeventloop.cpp:200
#6  0x00007f2a87d9e8a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#7  0x00007f2a87e6bd88 in QInotifyFileSystemWatcherEngine::run (this=0x7f2a4c04da70) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007f2a87da1802 in QThreadPrivate::start (arg=0x7f2a4c04da70) at thread/qthread_unix.cpp:189
#9  0x00007f2a8286cfaa in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f2a8730a2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2a8a485790 (LWP 7778)):
[KCrash Handler]
#5  0x00007f2a899848f8 in KSharedPtr (this=0x7f2a4c1deec0, o=@0x2794620) at /usr/include/ksharedptr.h:78
#6  0x00007f2a89984cc4 in QList<KSharedPtr<Meta::SqlPlaylist> >::node_copy (this=0x7fff925dcd70, from=0x2fe1de0, to=0x2fe3a38, src=0x2ff8d48) at /usr/include/qt4/QtCore/qlist.h:357
#7  0x00007f2a89985559 in QList<KSharedPtr<Meta::SqlPlaylist> >::operator+= (this=0x7fff925dcd70, l=@0x7fff925dccc0) at /usr/include/qt4/QtCore/qlist.h:618
#8  0x00007f2a89985581 in QList<KSharedPtr<Meta::SqlPlaylist> >::operator<< (this=0x7fff925dcd70, l=@0x7fff925dccc0) at /usr/include/qt4/QtCore/qlist.h:306
#9  0x00007f2a899865db in Meta::SqlPlaylistGroup::allChildPlaylists (this=0x2155a60) at /home/swo/kde4/src/amarok/src/playlistmanager/sql/SqlPlaylistGroup.cpp:206
#10 0x00007f2a89984361 in SqlUserPlaylistProvider::playlists (this=0x2158810) at /home/swo/kde4/src/amarok/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp:62
#11 0x00007f2a8997d5a4 in PlaylistManager::playlistsOfCategory (this=0x2155ab0, playlistCategory=2) at /home/swo/kde4/src/amarok/src/playlistmanager/PlaylistManager.cpp:158
#12 0x00007f2a8996d030 in PlaylistBrowserNS::UserModel::loadPlaylists (this=0x2760780) at /home/swo/kde4/src/amarok/src/browsers/playlistbrowser/UserPlaylistModel.cpp:98
#13 0x00007f2a8996d0b1 in PlaylistBrowserNS::UserModel::slotUpdate (this=0x2760780) at /home/swo/kde4/src/amarok/src/browsers/playlistbrowser/UserPlaylistModel.cpp:88
#14 0x00007f2a8996d174 in PlaylistBrowserNS::UserModel::qt_metacall (this=0x2760780, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff925dcf40)
    at /home/swo/kde4/src/amarok/build/src/UserPlaylistModel.moc:79
#15 0x00007f2a87e9f622 in QMetaObject::activate (sender=0x2155ab0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x7f2a4c1deeb0) at kernel/qobject.cpp:3069
#16 0x00007f2a8997d1ca in PlaylistManager::updated (this=0x2155ab0) at /home/swo/kde4/src/amarok/build/src/PlaylistManager.moc:89
#17 0x00007f2a8997e0b1 in PlaylistManager::slotUpdated (this=0x2155ab0) at /home/swo/kde4/src/amarok/src/playlistmanager/PlaylistManager.cpp:147
#18 0x00007f2a8997e684 in PlaylistManager::qt_metacall (this=0x2155ab0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7f2a4c314900) at /home/swo/kde4/src/amarok/build/src/PlaylistManager.moc:77
#19 0x00007f2a87e99c78 in QObject::event (this=0x2155ab0, e=0x7f2a4c2d9340) at kernel/qobject.cpp:1118
#20 0x00007f2a88a3d67d in QApplicationPrivate::notify_helper (this=0x1b2b6c0, receiver=0x2155ab0, e=0x7f2a4c2d9340) at kernel/qapplication.cpp:4084
#21 0x00007f2a88a4586a in QApplication::notify (this=0x7fff925dd970, receiver=0x2155ab0, e=0x7f2a4c2d9340) at kernel/qapplication.cpp:4049
#22 0x00007f2a89fd355b in KApplication::notify (this=0x7fff925dd970, receiver=0x2155ab0, event=0x7f2a4c2d9340) at ../../kdeui/kernel/kapplication.cpp:307
#23 0x00007f2a87e89c4c in QCoreApplication::notifyInternal (this=0x7fff925dd970, receiver=0x2155ab0, event=0x7f2a4c2d9340) at kernel/qcoreapplication.cpp:602
#24 0x00007f2a87e8a8ba in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ab1bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 0x00007f2a87eb3613 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 0x00007f2a80794f7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f2a80798640 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f2a807987dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f2a87eb329f in QEventDispatcherGlib::processEvents (this=0x1b09c70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#30 0x00007f2a88ad574f in QGuiEventDispatcherGlib::processEvents (this=0x7f2a4c1deec0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f2a87e884f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1839343424}) at kernel/qeventloop.cpp:149
#32 0x00007f2a87e888bd in QEventLoop::exec (this=0x7fff925dd900, flags={i = -1839343344}) at kernel/qeventloop.cpp:200
#33 0x00007f2a87e8ab84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#34 0x00000000004036ed in main (argc=1, argv=0x7fff925deb38) at /home/swo/kde4/src/amarok/src/main.cpp:128
Current language:  auto; currently c
Comment 27 Jeff Mitchell 2009-04-24 22:58:55 UTC
Sebastian, not sure you have the same problem -- that sounds like a dynamic collection problem.
Comment 28 Stephan Menzel 2009-06-04 10:36:22 UTC
Created attachment 34257 [details]
Debug output during collection scan

I just tried the new 2.1 and things are apparently getting worse. Right now, nothing of my collection seems to be visible. I couldn't manage to import my 1.4 collection either. It seems to work for a while and then stop. I attach the debug out.

Can I provide any more information? I'm afraid the shiny new 2.1 is in this state quite unusable for me.
Comment 29 mangus 2009-06-04 19:01:45 UTC
I've spent the last 2 hours trying to make it work but it always crash creating the collection..
this with 2.1 final and svn locally recompiled , just in case.
I deleted all previous config files, nothing...I've started with a fresh user , same same...
no way. 

it dies with


amarok:    [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE deviceid = 1 AND rpath = './Audio/Live/Radiohead Ferrara 11.7.03/2-08 the gloaming.mp3';"                                                                         
amarok:    [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE uniqueid='amarok-sqltrackuid://37fc5d2b56c58b68df76522fed9f391a';"                                                                                                
amarok:    [ERROR!] GREPME MySQLe query failed! Duplicate entry 'amarok-sqltrackuid://37fc5d2b56c58b68df76522fed9f391a' for key 'uniqueid'  on  "INSERT INTO urls_temp(directory,deviceid,rpath,uniqueid) VALUES ( 53, 1, './Audio/Live/Radiohead Ferrara 11.7.03/2-08 the gloaming.mp3', 'amarok-sqltrackuid://37fc5d2b56c58b68df76522fed9f391a' );"                                                                       
amarok:    [ERROR!] GREPME MySQLe query failed! Incorrect key file for table '/tmp/#sql55ae_1_3b.MYI'; try to repair it  on  "REPLACE INTO tracks_temp(url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES ( 0,161,87,1,1,1,'the gloaming','recorded live by mind-detonator; produced by ardohead for L\'Idioteca, the message board of Radiohead Italia:  http://www.radioheaditalia.com/',8,2,160,254,44100,6784713,0,0,1237031248,1237031248,NULL,NULL,NULL,NULL);"

this is repeted for a lot of files and /tmp is full with aborted sql stuff
I'm recompiling svn with debug symbols for provide a backtrace
Comment 30 mangus 2009-06-04 19:20:20 UTC
this is after a complete new start:
by default amarok find something in my home scanning /home/user/music and that's ok
when I add another dir (in another partition) with recursive scan it crash with:

Application: Amarok (amarok), signal: Aborted
[Current thread is 0 (LWP 1353)]

Thread 12 (Thread 0xb03e6b70 (LWP 1354)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8f82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e86e4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb124f7e1 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 11 (Thread 0xafb9eb70 (LWP 1355)):
#0  0xb4454eb6 in clock_gettime () from /lib/librt.so.1
#1  0xb69c050b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb69c0701 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb69c0c9e in QEventDispatcherUNIXPrivate::doSelect () from /usr/lib/libQtCore.so.4
#4  0xb69c1c65 in QEventDispatcherUNIX::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6991cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6992122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb689f0c3 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb129c479 in Phonon::Xine::XineThread::run () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#10 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#11 0xb67daffe in clone () from /lib/libc.so.6

Thread 10 (Thread 0xaf39db70 (LWP 1358)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb67d11d6 in poll () from /lib/libc.so.6
#2  0xafbe0ee4 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 9 (Thread 0xaeb5ab70 (LWP 1359)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb12618e3 in ao_loop () from /usr/lib/libxine.so.1
#4  0xaeb5a2c8 in ?? ()
#5  0xaeb5a2d4 in ?? ()
#6  0x00000001 in ?? ()
#7  0x00000005 in ?? ()
#8  0x00000000 in ?? ()

Thread 8 (Thread 0xae317b70 (LWP 1360)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb12618e3 in ao_loop () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 7 (Thread 0xad379b70 (LWP 1362)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb68a33e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5c14b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#5  0xb5c1717c in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#6  0xb5c131bb in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#7  0xb5c17272 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#9  0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#10 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#11 0xb5c1538e in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#12 0xb5c159ab in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#13 0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#14 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#15 0xb67daffe in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaadb1b70 (LWP 1363)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb68a33e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xad536490 in XmlParseJob::run (this=0xbb15ad8) at /root/pkg/kde4add/multimedia/amarok-svn/src/multimedia/amarok/src/collection/sqlcollection/ScanManager.cpp:631
#5  0xb5c1634d in ThreadWeaver::JobRunHelper::runTheJob () from /usr/lib/libthreadweaver.so.4
#6  0xb5c166b1 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#7  0xb5c1535a in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#8  0xb5c159ab in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#9  0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#10 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#11 0xb67daffe in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa9dafb70 (LWP 1366)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb68a33e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5c14b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#5  0xb5c1717c in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#6  0xb5c131bb in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#7  0xb5c17272 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#9  0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#10 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#11 0xb5c1538e in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#12 0xb5c159ab in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#13 0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#14 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#15 0xb67daffe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa95aeb70 (LWP 1367)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb68a33e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5c14b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#5  0xb5c1717c in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#6  0xb5c131bb in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /usr/lib/libthreadweaver.so.4
#7  0xb5c17272 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#9  0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#10 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#11 0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#12 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#13 0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#14 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#15 0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#16 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#17 0xb5c17291 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#18 0xb5c14d83 in ThreadWeaver::WeaverImpl::applyForWork () from /usr/lib/libthreadweaver.so.4
#19 0xb5c1538e in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#20 0xb5c159ab in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#21 0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#22 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#23 0xb67daffe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa57b8b70 (LWP 1500)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb66a8c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e868d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb68a33e7 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb73736ba in ?? () from /usr/lib/libQtGui.so.4
#5  0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#6  0xb66a46bc in start_thread () from /lib/libpthread.so.0
#7  0xb67daffe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa4fb7b70 (LWP 1501)):
#0  0xb4454eb6 in clock_gettime () from /lib/librt.so.1
#1  0xb69c050b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb69c0701 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb69c0c9e in QEventDispatcherUNIXPrivate::doSelect () from /usr/lib/libQtCore.so.4
#4  0xb69c1c65 in QEventDispatcherUNIX::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb6991cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6992122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb689f0c3 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb69744bb in ?? () from /usr/lib/libQtCore.so.4
#9  0xb68a23be in ?? () from /usr/lib/libQtCore.so.4
#10 0xb66a46bc in start_thread () from /lib/libpthread.so.0
#11 0xb67daffe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2b96730 (LWP 1353)):
[KCrash Handler]
#6  0xb7f0c424 in __kernel_vsyscall ()
#7  0xb67367a1 in raise () from /lib/libc.so.6
#8  0xb6737fd4 in abort () from /lib/libc.so.6
#9  0xb67782ab in malloc_printerr () from /lib/libc.so.6
#10 0xb677cb26 in free () from /lib/libc.so.6
#11 0xb689cb5d in qFree () from /usr/lib/libQtCore.so.4
#12 0xb69c677e in QTextCodec::codecForName () from /usr/lib/libQtCore.so.4
#13 0xad53c555 in QTextCodec::codecForName (name=0xad83c0be "UTF-8") at /usr/include/QtCore/qtextcodec.h:67
#14 0xad538be1 in ScanManager::slotReadReady (this=0x93ce930) at /root/pkg/kde4add/multimedia/amarok-svn/src/multimedia/amarok/src/collection/sqlcollection/ScanManager.cpp:276
#15 0xad53a70b in ScanManager::qt_metacall (this=0x93ce930, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfc293ec)
    at /root/pkg/kde4add/multimedia/amarok-svn/src/multimedia/amarok/src/collection/sqlcollection/ScanManager.moc:80
#16 0xb69a9831 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb69aa4a2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb69300f7 in QProcess::readyReadStandardOutput () from /usr/lib/libQtCore.so.4
#19 0xb6932c5a in ?? () from /usr/lib/libQtCore.so.4
#20 0xb6935fb6 in QProcess::qt_metacall () from /usr/lib/libQtCore.so.4
#21 0xb6b4d53a in KProcess::qt_metacall () from /usr/lib/libkdecore.so.5
#22 0xb777eceb in AmarokProcess::qt_metacall (this=0xbb1deb0, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfc29628)
    at /root/pkg/kde4add/multimedia/amarok-svn/src/multimedia/amarok/src/moc_AmarokProcess.cpp:72
#23 0xb69a9831 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb69aa4a2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb69e43a3 in QSocketNotifier::activated () from /usr/lib/libQtCore.so.4
#26 0xb69ae267 in QSocketNotifier::event () from /usr/lib/libQtCore.so.4
#27 0xb6e196ac in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#28 0xb6e20e44 in QApplication::notify () from /usr/lib/libQtGui.so.4
#29 0xb7ce14da in KApplication::notify () from /usr/lib/libkdeui.so.5
#30 0xb699374b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#31 0xb69c0c20 in QEventDispatcherUNIX::activateSocketNotifiers () from /usr/lib/libQtCore.so.4
#32 0xb69c0f17 in QEventDispatcherUNIXPrivate::doSelect () from /usr/lib/libQtCore.so.4
#33 0xb69c1c65 in QEventDispatcherUNIX::processEvents () from /usr/lib/libQtCore.so.4
#34 0xb6eb9a64 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6991cd9 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#36 0xb6992122 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0xb699449f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#38 0xb6e19527 in QApplication::exec () from /usr/lib/libQtGui.so.4
#39 0x0804b621 in main (argc=2, argv=0xbfc2a3c4) at /root/pkg/kde4add/multimedia/amarok-svn/src/multimedia/amarok/src/main.cpp:128
Comment 31 Rasmus Steinke 2009-06-04 20:50:39 UTC
i had this issue too, but only on kde 4.3 trunk - it worked again with 4.2 - i know at least 2 ppl where the same applies...
Comment 32 Eelko Berkenpies 2009-06-05 10:35:02 UTC
Created attachment 34283 [details]
Amarok debug output

I think I'm having the same problem.

Components:
-----------
Amarok2.1-SVN revision: 977716
mysql-embedded-5.1.34-1.fc11.i586
kdebase-4.2.85-1.fc11.i586
qt-4.5.1-13.fc11.i586
qtscriptbindings-0.1.0-5.fc11.i586

Description:
------------
Amarok crashes on start-up and it *looks* like it's hanging on the collectionscanner. Running the collectionscanner separately is not a problem. I'm now going to try to isolate every other suggestion in this bugreport.

Attached:
---------
Debug output from the command line.

Crash report:
-------------
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0xb7fa27a0 (LWP 29646))]

Thread 9 (Thread 0xb67f5b70 (LWP 29647)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a42d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0x014cd74d in ?? () from /usr/lib/libxine.so.1
#3  0x0049f935 in start_thread (arg=0xb67f5b70) at pthread_create.c:297
#4  0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb5df4b70 (LWP 29648)):
#0  0x0051cf86 in *__GI_clock_gettime (clock_id=5378036, tp=0xb5df3f58) at ../sysdeps/unix/clock_gettime.c:100
#1  0x03637783 in QTimerInfoList::getTime (this=0x8d2edac, t=@0x8d2edd0) at kernel/qeventdispatcher_unix.cpp:339
#2  0x03637971 in QTimerInfoList::updateCurrentTime (this=0x8d2edac) at kernel/qeventdispatcher_unix.cpp:297
#3  0x0363841c in QTimerInfoList::timerWait (this=0x8d2edac, tm=@0xb5df3fe4) at kernel/qeventdispatcher_unix.cpp:420
#4  0x03635ec0 in timerSourcePrepare (source=0x8d2ed78, timeout=0xb5df404c) at kernel/qeventdispatcher_glib.cpp:140
#5  0x0055bb70 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x0055bf31 in ?? () from /lib/libglib-2.0.so.0
#7  0x0055c443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x03635d17 in QEventDispatcherGlib::processEvents (this=0x8ddf890, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:326
#9  0x036095c9 in QEventLoop::processEvents (this=0xb5df4214, flags={i = 36}) at kernel/qeventloop.cpp:149
#10 0x03609a12 in QEventLoop::exec (this=0xb5df4214, flags={i = 0}) at kernel/qeventloop.cpp:200
#11 0x03517f83 in QThread::exec (this=0x8d2ef10) at thread/qthread.cpp:487
#12 0x010a980a in Phonon::Xine::XineThread::run (this=0x8d2ef10) at /usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#13 0x0351b21e in QThreadPrivate::start (arg=0x8d2ef10) at thread/qthread_unix.cpp:189
#14 0x0049f935 in start_thread (arg=0xb5df4b70) at pthread_create.c:297
#15 0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb13f2b70 (LWP 29654)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x014df918 in ?? () from /usr/lib/libxine.so.1
#3  0x0049f935 in start_thread (arg=0xb13f2b70) at pthread_create.c:297
#4  0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb09f1b70 (LWP 29655)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x014df918 in ?? () from /usr/lib/libxine.so.1
#3  0x0049f935 in start_thread (arg=0xb09f1b70) at pthread_create.c:297
#4  0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaffaeb70 (LWP 29657)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x04dc8c2c in XmlParseJob::run (this=0x95d2c50) at /home/eelko/Software/amarok/src/collection/sqlcollection/ScanManager.cpp:631
#5  0x00db3b4d in ThreadWeaver::JobRunHelper::runTheJob (this=0xaffae1dc, th=0x9676b28, job=0x95d2c50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Job.cpp:106
#6  0x00db3eb1 in ThreadWeaver::Job::execute (this=0x95d2c50, th=0x9676b28) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Job.cpp:135
#7  0x00db2b5a in ThreadWeaver::ThreadRunHelper::run (this=0xaffae264, parent=0x96764a8, th=0x9676b28) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:95
#8  0x00db31ab in ThreadWeaver::Thread::run (this=0x9676b28) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#9  0x0351b21e in QThreadPrivate::start (arg=0x9676b28) at thread/qthread_unix.cpp:189
#10 0x0049f935 in start_thread (arg=0xaffaeb70) at pthread_create.c:297
#11 0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb40e4b70 (LWP 29658)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x96764a8, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x96767c0, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x96764a8, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96767c0, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96764a8, th=0x958c890, previous=0x0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db4a91 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96767c0, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96764a8, th=0x958c890, previous=0x9541a10) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb40e4264, parent=0x96764a8, th=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#12 0x00db31ab in ThreadWeaver::Thread::run (this=0x958c890) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#13 0x0351b21e in QThreadPrivate::start (arg=0x958c890) at thread/qthread_unix.cpp:189
#14 0x0049f935 in start_thread (arg=0xb40e4b70) at pthread_create.c:297
#15 0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb2ce2b70 (LWP 29661)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x96764a8, th=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x96767c0, th=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x96764a8, th=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96767c0, th=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96764a8, th=0x9633a50, previous=0x94fa7d8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb2ce2264, parent=0x96764a8, th=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#10 0x00db31ab in ThreadWeaver::Thread::run (this=0x9633a50) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#11 0x0351b21e in QThreadPrivate::start (arg=0x9633a50) at thread/qthread_unix.cpp:189
#12 0x0049f935 in start_thread (arg=0xb2ce2b70) at pthread_create.c:297
#13 0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb218db70 (LWP 29662)):
#0  0x002b5422 in __kernel_vsyscall ()
#1  0x004a3fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x96764a8, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x96767c0, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x96764a8, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96767c0, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96764a8, th=0x962b018, previous=0x0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db4a91 in ThreadWeaver::WorkingHardState::applyForWork (this=0x96767c0, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x96764a8, th=0x962b018, previous=0x947a268) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb218d264, parent=0x96764a8, th=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#12 0x00db31ab in ThreadWeaver::Thread::run (this=0x962b018) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#13 0x0351b21e in QThreadPrivate::start (arg=0x962b018) at thread/qthread_unix.cpp:189
#14 0x0049f935 in start_thread (arg=0xb218db70) at pthread_create.c:297
#15 0x003d382e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7fa27a0 (LWP 29646)):
[KCrash Handler]
#6  0x002b5422 in __kernel_vsyscall ()
#7  0x003207c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00322092 in *__GI_abort () at abort.c:88
#9  0x0036525b in malloc_printerr (action=2, str=0x6 <Address 0x6 out of bounds>, ptr=0x9de4e40) at malloc.c:6201
#10 0x00368fbb in *__GI___libc_free (mem=0x6) at malloc.c:3677
#11 0x03515a9d in qFree (ptr=0x9de4e40) at global/qmalloc.cpp:60
#12 0x035609e0 in QString::free (d=0x9de4e40) at tools/qstring.cpp:953
#13 0x03567638 in ~QString (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qstring.h:866
#14 QChar::fromAscii (this=<value optimized out>, __in_chrg=<value optimized out>) at tools/qchar.cpp:1288
#15 0x03c1b4b5 in operator+ (s=<value optimized out>, c=<value optimized out>) at /usr/include/QtCore/qstring.h:1018
#16 KIconThemeDir::iconPath (s=<value optimized out>, c=<value optimized out>) at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kicontheme.cpp:703
#17 0x03c1b741 in KIconTheme::iconPath (this=0x8d5cba8, name=@0xbf9cb82c, size=8, match=KIconLoader::MatchBest) at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kicontheme.cpp:489
#18 0x03c11e80 in KIconLoaderPrivate::findMatchingIcon (this=0x8d60080, name=@0xbf9cbb28, size=8) at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconloader.cpp:871
#19 0x03c120f7 in KIconLoaderPrivate::findMatchingIconWithGenericFallbacks (this=0x8d60080, name=@0xbf9cbb28, size=8) at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconloader.cpp:717
#20 0x03c16f9a in KIconLoader::loadIcon (this=0x8d31888, _name=@0x9ce25a4, group=KIconLoader::Desktop, size=8, state=0, overlays=@0xbf9cbc38, path_store=0x0, canReturnNull=true)
    at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconloader.cpp:1171
#21 0x03c199a4 in KIconLoaderPrivate::drawOverlays (this=0x8d60080, iconLoader=0x8d31888, group=KIconLoader::Desktop, state=0, pix=@0xbf9cbdf8, overlays=@0xa6f3e8c)
    at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconloader.cpp:332
#22 0x03c173c1 in KIconLoader::loadIcon (this=0x8d31888, _name=@0xa6f3e88, group=KIconLoader::Desktop, size=16, state=0, overlays=@0xa6f3e8c, path_store=0x0, canReturnNull=false)
    at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconloader.cpp:1314
#23 0x03c0e3d8 in KIconEngine::actualSize (this=0xa71d738, size=@0xbf9cc068, mode=QIcon::Normal, state=QIcon::Off) at /usr/src/debug/kdelibs-4.2.85/kdeui/icons/kiconengine.cpp:80
#24 0x045a0956 in QIcon::actualSize (this=0xbf9cc09c, size=@0xbf9cc068, mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:744
#25 0x03f80a96 in KFileItemDelegate::Private::decorationSizeHint (this=0x95fafb0, option=@0xbf9cc02c, index=@0xbf9cc220) at /usr/src/debug/kdelibs-4.2.85/kio/kio/kfileitemdelegate.cpp:469
#26 0x03f85d8d in KFileItemDelegate::sizeHint (this=0x95faeb0, option=@0xbf9cc1a0, index=@0xbf9cc220) at /usr/src/debug/kdelibs-4.2.85/kio/kio/kfileitemdelegate.cpp:873
#27 0x04a9c9bc in QListViewPrivate::itemSize (this=0x95fb5d8, option=@0xbf9cc1a0, index=@0xbf9cc220) at itemviews/qlistview.cpp:2097
#28 0x04a9cbf8 in QCommonListViewBase::itemSize (idx=<value optimized out>, opt=<value optimized out>, this=<value optimized out>) at ../../src/gui/itemviews/qlistview_p.h:433
#29 QDynamicListViewBase::createItems (idx=<value optimized out>, opt=<value optimized out>, this=<value optimized out>) at itemviews/qlistview.cpp:2779
#30 0x04a9cd6c in QDynamicListViewBase::doBatchedItemLayout (this=0x95fa560, info=@0xbf9cc2b0, max=8) at itemviews/qlistview.cpp:2586
#31 0x04aa08a2 in QListViewPrivate::doItemsLayout (this=0x95fb5d8, delta=9) at itemviews/qlistview.cpp:2020
#32 0x04aa0a4e in QListView::doItemsLayout (this=0x95f55e0) at itemviews/qlistview.cpp:1664
#33 0x04a9d8d0 in QAbstractItemViewPrivate::executePostedLayout (this=<value optimized out>) at ../../src/gui/itemviews/qabstractitemview_p.h:191
#34 QListView::rectForIndex (this=<value optimized out>) at itemviews/qlistview.cpp:1432
#35 0x04a9da08 in QListView::visualRect (this=0x95f55e0, index=@0xbf9cc4ac) at itemviews/qlistview.cpp:576
#36 0x03efe3e6 in KIO::DefaultViewAdapter::visualRect (this=0x96213e8, index=@0xbf9cc4ac) at /usr/src/debug/kdelibs-4.2.85/kio/kio/defaultviewadapter.cpp:57
#37 0x0421d516 in KFilePreviewGenerator::Private::orderItems (this=0x9625318, items=@0xbf9cc5cc) at /usr/src/debug/kdelibs-4.2.85/kfile/kfilepreviewgenerator.cpp:982
#38 0x0422026d in KFilePreviewGenerator::Private::updateIcons (this=0x9625318, items=@0xa6d9650) at /usr/src/debug/kdelibs-4.2.85/kfile/kfilepreviewgenerator.cpp:456
#39 0x04221120 in KFilePreviewGenerator::qt_metacall (this=0x962abd0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9cc6f8)
    at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kfile/kfilepreviewgenerator.moc:83
#40 0x03620fc3 in QMetaObject::activate (sender=0x95e2650, from_signal_index=13, to_signal_index=13, argv=0xbf9cc6f8) at kernel/qobject.cpp:3120
#41 0x03621c12 in QMetaObject::activate (sender=0x95e2650, m=0x411787c, local_signal_index=9, argv=0xbf9cc6f8) at kernel/qobject.cpp:3194
#42 0x03f419b3 in KDirLister::newItems (this=0x95e2650, _t1=@0xa6d9650) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/kdirlister.moc:261
#43 0x03f42a12 in KDirLister::Private::emitItems (this=0x95e2cc0) at /usr/src/debug/kdelibs-4.2.85/kio/kio/kdirlister.cpp:2304
#44 0x03f471fd in KDirListerCache::slotEntries (this=0x95d00d8, job=0x95e33d0, entries=@0xbf9ccc7c) at /usr/src/debug/kdelibs-4.2.85/kio/kio/kdirlister.cpp:1096
#45 0x03f54e96 in KDirListerCache::qt_metacall (this=0x95d00d8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf9cc984) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/kdirlister_p.moc:98
#46 0x03620fc3 in QMetaObject::activate (sender=0x95e33d0, from_signal_index=40, to_signal_index=40, argv=0xbf9cc984) at kernel/qobject.cpp:3120
#47 0x03621c12 in QMetaObject::activate (sender=0x95e33d0, m=0x4116be0, local_signal_index=0, argv=0xbf9cc984) at kernel/qobject.cpp:3194
#48 0x03f1a4d9 in KIO::ListJob::entries (this=0x95e33d0, _t1=0x95e33d0, _t2=@0xbf9ccc7c) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/jobclasses.moc:781
#49 0x03f29a9b in KIO::ListJobPrivate::slotListEntries (this=0x95fcd28, list=@0xbf9ccc7c) at /usr/src/debug/kdelibs-4.2.85/kio/kio/job.cpp:2347
#50 0x03f29e48 in KIO::ListJob::qt_metacall (this=0x95e33d0, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbf9ccb88) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/jobclasses.moc:767
#51 0x03620fc3 in QMetaObject::activate (sender=0x92ebf48, from_signal_index=10, to_signal_index=10, argv=0xbf9ccb88) at kernel/qobject.cpp:3120
#52 0x03621c12 in QMetaObject::activate (sender=0x92ebf48, m=0x41197a4, local_signal_index=6, argv=0xbf9ccb88) at kernel/qobject.cpp:3194
#53 0x03fee143 in KIO::SlaveInterface::listEntries (this=0x92ebf48, _t1=@0xbf9ccc7c) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/slaveinterface.moc:179
#54 0x03ff1f97 in KIO::SlaveInterface::dispatch (this=0x92ebf48, _cmd=106, rawdata=@0xbf9cccd8) at /usr/src/debug/kdelibs-4.2.85/kio/kio/slaveinterface.cpp:193
#55 0x03fee6b3 in KIO::SlaveInterface::dispatch (this=0x92ebf48) at /usr/src/debug/kdelibs-4.2.85/kio/kio/slaveinterface.cpp:91
#56 0x03fe075a in KIO::Slave::gotInput (this=0x92ebf48) at /usr/src/debug/kdelibs-4.2.85/kio/kio/slave.cpp:322
#57 0x03fe2b83 in KIO::Slave::qt_metacall (this=0x92ebf48, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf9cce2c) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/slave.moc:76
#58 0x03620fc3 in QMetaObject::activate (sender=0x92e65a8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120
#59 0x03621c12 in QMetaObject::activate (sender=0x92e65a8, m=0x41160e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#60 0x03ee9d57 in KIO::Connection::readyRead (this=0x92e65a8) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/connection.moc:86
#61 0x03eebb1e in KIO::ConnectionPrivate::dequeue (this=0x96bfad8) at /usr/src/debug/kdelibs-4.2.85/kio/kio/connection.cpp:82
#62 0x03eebc4e in KIO::Connection::qt_metacall (this=0x92e65a8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9c01d80) at /usr/src/debug/kdelibs-4.2.85/i586-redhat-linux-gnu/kio/connection.moc:73
#63 0x03619b7b in QMetaCallEvent::placeMetaCall (this=0x9b0ea00, object=0x92e65a8) at kernel/qobject.cpp:489
#64 0x0361b26e in QObject::event (this=0x92e65a8, e=0x9b0ea00) at kernel/qobject.cpp:1118
#65 0x044ff444 in QApplicationPrivate::notify_helper (this=0x8d01168, receiver=0x92e65a8, e=0x9b0ea00) at kernel/qapplication.cpp:4057
#66 0x04506abe in QApplication::notify (this=0xbf9cf4f0, receiver=0x92e65a8, e=0x9b0ea00) at kernel/qapplication.cpp:4022
#67 0x03c4b37a in KApplication::notify (this=0xbf9cf4f0, receiver=0x92e65a8, event=0x9b0ea00) at /usr/src/debug/kdelibs-4.2.85/kdeui/kernel/kapplication.cpp:307
#68 0x0360afdb in QCoreApplication::notifyInternal (this=0xbf9cf4f0, receiver=0x92e65a8, event=0x9b0ea00) at kernel/qcoreapplication.cpp:610
#69 0x0360bad8 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#70 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#71 0x0360bcad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#72 0x036360af in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#73 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:209
#74 0x00558d78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#75 0x0055c310 in ?? () from /lib/libglib-2.0.so.0
#76 0x0055c443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#77 0x03635cdc in QEventDispatcherGlib::processEvents (this=0x8cfb8b0, flags={i = 0}) at kernel/qeventdispatcher_glib.cpp:324
#78 0x0459e305 in QGuiEventDispatcherGlib::processEvents (this=0x8cfb8b0, flags={i = 0}) at kernel/qguieventdispatcher_glib.cpp:202
#79 0x0360bf11 in QCoreApplication::processEvents (flags={i = 0}) at kernel/qcoreapplication.cpp:803
#80 0x0521f817 in QScriptEnginePrivate::processEvents (this=0x96e1478) at qscriptengine_p.cpp:2198
#81 0x0520c688 in QScriptContextPrivate::execute (this=0x97591f8, code=0x97820a8) at qscriptcontext_p.cpp:1003
#82 0x0523b27c in QScript::EvalFunction::evaluate (this=0x9756368, context=0x97591f8, contents=@0xbf9cead8, lineNo=1, fileName=@0xbf9cead4, calledFromScript=false) at qscriptengine_p.cpp:366
#83 0x0522fb3b in QScriptEnginePrivate::evaluate (this=0x96e1478, context=0x97591f8, contents=@0xbf9cead8, lineNumber=1, fileName=@0xbf9cead4) at qscriptengine_p.cpp:938
#84 0x0521c5fd in QScriptEngine::evaluate (this=0x96239e0, program=@0xbf9cead8, fileName=@0xbf9cead4, lineNumber=1) at qscriptengine.cpp:944
#85 0x05f51940 in ScriptManager::slotRunScript (this=) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:436
#86 0x05f523ee in ScriptManager::slotConfigChanged (this=) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:517
#87 0x05f50834 in ScriptManager::findScripts (this=) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:280
#88 0x05f545b2 in ScriptManager::qt_metacall (this=) at /home/eelko/Software/amarok/amarok-build/src/ScriptManager.moc:92
#89 0x03620fc3 in QMetaObject::activate (sender=0x93dcab8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120
#90 0x03621c12 in QMetaObject::activate (sender=0x93dcab8, m=0x36fb348, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#91 0x036260b7 in QSingleShotTimer::timeout (this=0x93dcab8) at .moc/release-shared/qtimer.moc:76
#92 0x036261cc in QSingleShotTimer::timerEvent (this=0x93dcab8) at kernel/qtimer.cpp:298
#93 0x0361b02f in QObject::event (this=0x93dcab8, e=0xbf9cf1c0) at kernel/qobject.cpp:1082
#94 0x044ff444 in QApplicationPrivate::notify_helper (this=0x8d01168, receiver=0x93dcab8, e=0xbf9cf1c0) at kernel/qapplication.cpp:4057
#95 0x04506abe in QApplication::notify (this=0xbf9cf4f0, receiver=0x93dcab8, e=0xbf9cf1c0) at kernel/qapplication.cpp:4022
#96 0x03c4b37a in KApplication::notify (this=0xbf9cf4f0, receiver=0x93dcab8, event=0xbf9cf1c0) at /usr/src/debug/kdelibs-4.2.85/kdeui/kernel/kapplication.cpp:307
#97 0x0360afdb in QCoreApplication::notifyInternal (this=0xbf9cf4f0, receiver=0x93dcab8, event=0xbf9cf1c0) at kernel/qcoreapplication.cpp:610
#98 0x0363835e in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#99 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#100 0x03635d90 in timerSourceDispatch (source=0x8cfcf00) at kernel/qeventdispatcher_glib.cpp:164
#101 0x00558d78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#102 0x0055c310 in ?? () from /lib/libglib-2.0.so.0
#103 0x0055c443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#104 0x03635cdc in QEventDispatcherGlib::processEvents (this=0x8cfb8b0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:324
#105 0x0459e305 in QGuiEventDispatcherGlib::processEvents (this=0x8cfb8b0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#106 0x036095c9 in QEventLoop::processEvents (this=0xbf9cf484, flags={i = 36}) at kernel/qeventloop.cpp:149
#107 0x03609a12 in QEventLoop::exec (this=0xbf9cf484, flags={i = 0}) at kernel/qeventloop.cpp:200
#108 0x0360bd6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#109 0x044ff2c7 in QApplication::exec () at kernel/qapplication.cpp:3526
#110 0x0804bd40 in main (argc=1, argv=0xbf9cfa04) at /home/eelko/Software/amarok/src/main.cpp:128
Comment 33 Eelko Berkenpies 2009-06-05 12:40:07 UTC
- A single folder with a bunch of MP3 files and a cover doesn't seem to be a problem.

- With all files and folders added, collection_scan.files seems to be holding pretty much everything that's supposed to be in my collection. It looks like Amarok is still crashing on the scanner though.
Comment 34 Jeff Mitchell 2009-06-05 13:43:34 UTC
Eelko, I don't suppose you can try it with KDE 4.2?
Comment 35 Eelko Berkenpies 2009-06-05 13:57:05 UTC
Jeff, not on this PC but I'll try to hijack a co-worker's PC. If I manage to squeeze out anything useful, I'll let you know. :)
Comment 36 Eelko Berkenpies 2009-06-05 16:33:47 UTC
Alright, I compiled Amarok on a Fedora 10 machine the same way I have on this F11 machine. 

The F10/KDE 4.2.3 machine seems to work fine, no problems while scanning and adding the almost the same collection as on the F11 machine (I copied the music over to the F10 machine).

It's about 80% of the music I have on the F11 machine. I accidentally deleted the other 20% on the F10 machine while cleaning up. I'd need to re-transfer and unpack a 4.5GB tarball for an exact copy which is a pain in the ass since it's a low-spec machine.

I could do an one-on-one copy by Monday (at earliest) since I'm running out of time now. Please let me know when this is desired. Otherwise I'd settle with these results. :)

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build
   * qtscript-qt - QtScript Qt Bindings
   * mysqld - Embedded MySQL
   * zlib - zlib
   * strigi - Index metadata of files
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes


Components:
-----------
Amarok2.1-SVN revision: 977773
mysql-embedded-5.0.77-1.fc10.i386 
kdebase-4.2.3-1.fc10.i386
qt-4.5.0-14.fc10.i386
qtscriptbindings-0.1.0-5.fc10.i386
Comment 37 Mark Kretschmann 2009-06-06 12:57:14 UTC
*** Bug 195380 has been marked as a duplicate of this bug. ***
Comment 38 Peter ZHOU 2009-06-07 10:24:08 UTC
This is caused by the encoding probe code. I've fixed it. Please try the latest SVN version.
Comment 39 Gary Steinert 2009-06-07 11:11:13 UTC
Closing the report.
Peter: if you fix a bug please remember to close the report =)

Gary
Comment 40 mangus 2009-06-07 13:14:49 UTC
still crash on kde 4.2.90 , starting from a fresh user and clean conf
my collection is in another partition of the disk, I would reopen....
Comment 41 Peter ZHOU 2009-06-07 15:03:37 UTC
This is not the problem of KDE but Amarok. Are you using the latest SVN version?
Comment 42 mangus 2009-06-07 18:07:14 UTC
yep, just compiled. Someone reports that works with kde stable
fresh installation crash on scanning , see
http://pastebin.ca/1450853
Comment 43 Eelko Berkenpies 2009-06-08 08:45:39 UTC
@Peter ZHOU

Unfortunately your commits does not seem to fix the problem for me. Conditions are the same as in comment #32 except for the Amarok revision obviously. I am now trying to run revision 978758.

Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0xb80407a0 (LWP 9563))]

Thread 9 (Thread 0xb601bb70 (LWP 9564)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x001762d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0x0133674d in ?? () from /usr/lib/libxine.so.1
#3  0x00171935 in start_thread (arg=0xb601bb70) at pthread_create.c:297
#4  0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb561ab70 (LWP 9565)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00818276 in *__GI___poll (fds=0x8b1ff4, nfds=1, timeout=726) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00eb73db in g_poll () from /lib/libglib-2.0.so.0
#3  0x00eaa14b in ?? () from /lib/libglib-2.0.so.0
#4  0x00eaa443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x03635d17 in QEventDispatcherGlib::processEvents (this=0x86abc90, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:326
#6  0x036095c9 in QEventLoop::processEvents (this=0xb561a214, flags={i = 36}) at kernel/qeventloop.cpp:149
#7  0x03609a12 in QEventLoop::exec (this=0xb561a214, flags={i = 0}) at kernel/qeventloop.cpp:200
#8  0x03517f83 in QThread::exec (this=0x85fb088) at thread/qthread.cpp:487
#9  0x012d680a in Phonon::Xine::XineThread::run (this=0x85fb088) at /usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#10 0x0351b21e in QThreadPrivate::start (arg=0x85fb088) at thread/qthread_unix.cpp:189
#11 0x00171935 in start_thread (arg=0xb561ab70) at pthread_create.c:297
#12 0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb0c18b70 (LWP 9571)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00175fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x01348918 in ?? () from /usr/lib/libxine.so.1
#3  0x00171935 in start_thread (arg=0xb0c18b70) at pthread_create.c:297
#4  0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb0217b70 (LWP 9572)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00175fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x01348918 in ?? () from /usr/lib/libxine.so.1
#3  0x00171935 in start_thread (arg=0xb0217b70) at pthread_create.c:297
#4  0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaf7d4b70 (LWP 9574)):
[KCrash Handler]
#6  0x00c88422 in __kernel_vsyscall ()
#7  0x0076f7c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00771092 in *__GI_abort () at abort.c:88
#9  0x007b425b in malloc_printerr (action=2, str=0x6 <Address 0x6 out of bounds>, ptr=0x94b24d0) at malloc.c:6201
#10 0x007b7fbb in *__GI___libc_free (mem=0x6) at malloc.c:3677
#11 0x03515a9d in qFree (ptr=0x94b24d0) at global/qmalloc.cpp:60
#12 0x035609e0 in QString::free (d=0x94b24d0) at tools/qstring.cpp:953
#13 0x03560b2e in QString::operator= (this=0xaf7d3860, other=@0xaf7d3880) at tools/qstring.cpp:1131
#14 0x01b63b48 in ScanResultProcessor::urlId (this=0xaf7d3c80, url=@0xaf7d3968, uid=@0xaf7d3958) at /home/eelko/Software/amarok/src/collection/sqlcollection/ScanResultProcessor.cpp:549
#15 0x01b616c0 in ScanResultProcessor::addTrack (this=0xaf7d3c80, trackData=@0x93e1aa8, albumArtistId=0) at /home/eelko/Software/amarok/src/collection/sqlcollection/ScanResultProcessor.cpp:327
#16 0x01b60836 in ScanResultProcessor::processDirectory (this=0xaf7d3c80, data=@0xaf7d3d04) at /home/eelko/Software/amarok/src/collection/sqlcollection/ScanResultProcessor.cpp:197
#17 0x01b5c5eb in XmlParseJob::run (this=0x8f35ee8) at /home/eelko/Software/amarok/src/collection/sqlcollection/ScanManager.cpp:731
#18 0x00db3b4d in ThreadWeaver::JobRunHelper::runTheJob (this=0xaf7d41dc, th=0x8f41050, job=0x8f35ee8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Job.cpp:106
#19 0x00db3eb1 in ThreadWeaver::Job::execute (this=0x8f35ee8, th=0x8f41050) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Job.cpp:135
#20 0x00db2b5a in ThreadWeaver::ThreadRunHelper::run (this=0xaf7d4264, parent=0x8f40a00, th=0x8f41050) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:95
#21 0x00db31ab in ThreadWeaver::Thread::run (this=0x8f41050) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#22 0x0351b21e in QThreadPrivate::start (arg=0x8f41050) at thread/qthread_unix.cpp:189
#23 0x00171935 in start_thread (arg=0xaf7d4b70) at pthread_create.c:297
#24 0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb390ab70 (LWP 9575)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00175fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f40a00, th=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f40d38, th=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f40a00, th=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f40d38, th=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f40a00, th=0x8ec7f70, previous=0x8f8b050) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb390a264, parent=0x8f40a00, th=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#10 0x00db31ab in ThreadWeaver::Thread::run (this=0x8ec7f70) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#11 0x0351b21e in QThreadPrivate::start (arg=0x8ec7f70) at thread/qthread_unix.cpp:189
#12 0x00171935 in start_thread (arg=0xb390ab70) at pthread_create.c:297
#13 0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb2508b70 (LWP 9578)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00175fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f40a00, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f40d38, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f40a00, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f40d38, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f40a00, th=0x8f0fde0, previous=0x0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db4a91 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f40d38, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f40a00, th=0x8f0fde0, previous=0x0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb2508264, parent=0x8f40a00, th=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#12 0x00db31ab in ThreadWeaver::Thread::run (this=0x8f0fde0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#13 0x0351b21e in QThreadPrivate::start (arg=0x8f0fde0) at thread/qthread_unix.cpp:189
#14 0x00171935 in start_thread (arg=0xb2508b70) at pthread_create.c:297
#15 0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb19b4b70 (LWP 9579)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00175fa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x0351c257 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x00db2300 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f40a00, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00db497c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f40d38, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00db09cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f40a00, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00db4a72 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f40d38, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f40a00, th=0x8f040e8, previous=0x0) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00db4a91 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f40d38, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00db2583 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f40a00, th=0x8f040e8, previous=0x8e0db48) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00db2b8e in ThreadWeaver::ThreadRunHelper::run (this=0xb19b4264, parent=0x8f40a00, th=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:87
#12 0x00db31ab in ThreadWeaver::Thread::run (this=0x8f040e8) at /usr/src/debug/kdelibs-4.2.85/threadweaver/Weaver/Thread.cpp:142
#13 0x0351b21e in QThreadPrivate::start (arg=0x8f040e8) at thread/qthread_unix.cpp:189
#14 0x00171935 in start_thread (arg=0xb19b4b70) at pthread_create.c:297
#15 0x0082282e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb80407a0 (LWP 9563)):
#0  0x00c88422 in __kernel_vsyscall ()
#1  0x00818276 in *__GI___poll (fds=0x8b1ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00d30060 in ?? () from /usr/lib/libxcb.so.1
#3  0x00d305db in ?? () from /usr/lib/libxcb.so.1
#4  0x00d30977 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x008f7de9 in _XSend () from /usr/lib/libX11.so.6
#6  0x008e45e5 in ?? () from /usr/lib/libX11.so.6
#7  0x008e47ab in XPutImage () from /usr/lib/libX11.so.6
#8  0x045df7c1 in QX11PixmapData::fromImage (this=0x94b5aa8, img=@0xbfa68988, flags={i = 0}) at image/qpixmap_x11.cpp:563
#9  0x045cbc57 in QPixmap::fromImage (image=@0xbfa68988, flags={i = 0}) at image/qpixmap.cpp:1954
#10 0x03cd2ff3 in KPixmapCache::Private::loadData (this=0x943b068, offset=1166, pix=@0xbfa68be0) at /usr/src/debug/kdelibs-4.2.85/kdeui/util/kpixmapcache.cpp:1355
#11 0x03cd41b4 in KPixmapCache::find (this=0x9437618, key=@0xbfa68a84, pix=@0xbfa68be0) at /usr/src/debug/kdelibs-4.2.85/kdeui/util/kpixmapcache.cpp:1314
#12 0x00586b1b in SvgHandler::renderSvg (this=0x93e0ad0, name=@0x93e0ae4, keyname=@0xbfa68ca8, width=4, height=152, element=@0xbfa68ca4) at /home/eelko/Software/amarok/src/SvgHandler.cpp:139
#13 0x00586cad in SvgHandler::renderSvg (this=0x93e0ad0, keyname=@0xbfa68ca8, width=4, height=152, element=@0xbfa68ca4) at /home/eelko/Software/amarok/src/SvgHandler.cpp:156
#14 0x0060c5f6 in SideBarButton::paintEvent (this=0x8e4c5d8) at /home/eelko/Software/amarok/src/widgets/SidebarWidget.cpp:160
#15 0x04553f5a in QWidget::event (this=0x8e4c5d8, event=0xbfa691f4) at kernel/qwidget.cpp:7659
#16 0x048e14ae in QAbstractButton::event (this=0x8e4c5d8, e=0xffffffff) at widgets/qabstractbutton.cpp:1077
#17 0x044ff444 in QApplicationPrivate::notify_helper (this=0x85ccdd8, receiver=0x8e4c5d8, e=0xbfa691f4) at kernel/qapplication.cpp:4057
#18 0x04506abe in QApplication::notify (this=0xbfa6dd80, receiver=0x8e4c5d8, e=0xbfa691f4) at kernel/qapplication.cpp:4022
#19 0x03c4b37a in KApplication::notify (this=0xbfa6dd80, receiver=0x8e4c5d8, event=0xbfa691f4) at /usr/src/debug/kdelibs-4.2.85/kdeui/kernel/kapplication.cpp:307
#20 0x0360afdb in QCoreApplication::notifyInternal (this=0xbfa6dd80, receiver=0x8e4c5d8, event=0xbfa691f4) at kernel/qcoreapplication.cpp:610
#21 0x0455c6c5 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#22 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5052
#23 0x0455ceed in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb44e8, pdev=0x862eb4c, siblings=@0x8bb44f4, index=4, rgn=@0xbfa69438, offset=@0xbfa697b0, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5162
#24 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb44e8, pdev=0x862eb4c, siblings=@0x8bb44f4, index=7, rgn=@0xbfa694e8, offset=@0xbfa697b0, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#25 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb44e8, pdev=0x862eb4c, siblings=@0x8bb44f4, index=10, rgn=@0xbfa69598, offset=@0xbfa697b0, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#26 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb44e8, pdev=0x862eb4c, siblings=@0x8bb44f4, index=13, rgn=@0xbfa697b8, offset=@0xbfa697b0, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#27 0x0455c2b6 in QWidgetPrivate::drawWidget (this=0x8bb44e8, pdev=0x862eb4c, rgn=@0xbfa697b8, offset=@0xbfa697b0, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x86d7b88)
    at kernel/qwidget.cpp:5101
#28 0x0455ceed in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb41c8, pdev=0x862eb4c, siblings=@0x8bb41d4, index=1, rgn=@0xbfa69868, offset=@0xbfa69a80, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5162
#29 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8bb41c8, pdev=0x862eb4c, siblings=@0x8bb41d4, index=2, rgn=@0xbfa69a88, offset=@0xbfa69a80, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#30 0x0455c2b6 in QWidgetPrivate::drawWidget (this=0x8bb41c8, pdev=0x862eb4c, rgn=@0xbfa69a88, offset=@0xbfa69a80, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x86d7b88)
    at kernel/qwidget.cpp:5101
#31 0x0455ceed in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd39f0, pdev=0x862eb4c, siblings=@0x8dd39fc, index=3, rgn=@0xbfa69b38, offset=@0xbfa69e00, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5162
#32 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd39f0, pdev=0x862eb4c, siblings=@0x8dd39fc, index=4, rgn=@0xbfa69be8, offset=@0xbfa69e00, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#33 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd39f0, pdev=0x862eb4c, siblings=@0x8dd39fc, index=5, rgn=@0xbfa69e08, offset=@0xbfa69e00, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#34 0x0455c2b6 in QWidgetPrivate::drawWidget (this=0x8dd39f0, pdev=0x862eb4c, rgn=@0xbfa69e08, offset=@0xbfa69e00, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x86d7b88)
    at kernel/qwidget.cpp:5101
#35 0x0455ceed in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd3858, pdev=0x862eb4c, siblings=@0x8dd3864, index=1, rgn=@0xbfa69eb8, offset=@0xbfa6a180, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5162
#36 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd3858, pdev=0x862eb4c, siblings=@0x8dd3864, index=2, rgn=@0xbfa69f68, offset=@0xbfa6a180, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#37 0x0455ce09 in QWidgetPrivate::paintSiblingsRecursive (this=0x8dd3858, pdev=0x862eb4c, siblings=@0x8dd3864, index=3, rgn=@0xbfa6a188, offset=@0xbfa6a180, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5153
#38 0x0455c2b6 in QWidgetPrivate::drawWidget (this=0x8dd3858, pdev=0x862eb4c, rgn=@0xbfa6a188, offset=@0xbfa6a180, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x86d7b88)
    at kernel/qwidget.cpp:5101
#39 0x0455ceed in QWidgetPrivate::paintSiblingsRecursive (this=0x86afbc8, pdev=0x862eb4c, siblings=@0x86afbd4, index=58, rgn=@0xbfa6a460, offset=@0x86d7bac, flags=4, sharedPainter=0x0, 
    backingStore=0x86d7b88) at kernel/qwidget.cpp:5162
#40 0x0455c2b6 in QWidgetPrivate::drawWidget (this=0x86afbc8, pdev=0x862eb4c, rgn=@0xbfa6a460, offset=@0x86d7bac, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x86d7b88)
    at kernel/qwidget.cpp:5101
#41 0x04718168 in QWidgetBackingStore::sync (this=0x86d7b88) at painting/qbackingstore.cpp:1268
#42 0x047185da in QWidgetBackingStore::sync (this=0x86d7b88, exposedWidget=0x85bf670, exposedRegion=@0xbfa6a674) at painting/qbackingstore.cpp:1073
#43 0x0454d495 in QWidgetPrivate::syncBackingStore (this=0x86afbc8, region=@0xbfa6a674) at kernel/qwidget.cpp:1611
#44 0x04565390 in QETWidget::translatePaintEvent (this=0x85bf670, event=0xbfa6bbbc) at kernel/qapplication_x11.cpp:5148
#45 0x0457377a in QApplication::x11ProcessEvent (this=0xbfa6dd80, event=0xbfa6bbbc) at kernel/qapplication_x11.cpp:3466
#46 0x0459ec22 in x11EventSourceDispatch (s=0x85ce7b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00ea6d78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00eaa310 in ?? () from /lib/libglib-2.0.so.0
#49 0x00eaa443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x03635cdc in QEventDispatcherGlib::processEvents (this=0x85ccec0, flags={i = 0}) at kernel/qeventdispatcher_glib.cpp:324
#51 0x0459e305 in QGuiEventDispatcherGlib::processEvents (this=0x85ccec0, flags={i = 0}) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x0360bf11 in QCoreApplication::processEvents (flags={i = 0}) at kernel/qcoreapplication.cpp:803
#53 0x0521f817 in QScriptEnginePrivate::processEvents (this=0x8fdb728) at qscriptengine_p.cpp:2198
#54 0x0520c688 in QScriptContextPrivate::execute (this=0x90122e0, code=0x903b180) at qscriptcontext_p.cpp:1003
#55 0x0523b27c in QScript::EvalFunction::evaluate (this=0x900f450, context=0x90122e0, contents=@0xbfa6d368, lineNo=1, fileName=@0xbfa6d364, calledFromScript=false) at qscriptengine_p.cpp:366
#56 0x0522fb3b in QScriptEnginePrivate::evaluate (this=0x8fdb728, context=0x90122e0, contents=@0xbfa6d368, lineNumber=1, fileName=@0xbfa6d364) at qscriptengine_p.cpp:938
#57 0x0521c5fd in QScriptEngine::evaluate (this=0x8e83840, program=@0xbfa6d368, fileName=@0xbfa6d364, lineNumber=1) at qscriptengine.cpp:944
#58 0x005c1f2c in ScriptManager::slotRunScript (this=0x8f406d8, name=
    {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13728}, alloc = 0, size = 0, data = 0x36fce9a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 377}, alloc = 0, size = 0, data = 0x36fceae, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x85c2dc0, static codecForCStrings = 0x85aaed8}, silent=false) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:436
#59 0x005c29da in ScriptManager::slotConfigChanged (this=0x8f406d8, changed=true) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:517
#60 0x005c0e20 in ScriptManager::findScripts (this=0x8f406d8) at /home/eelko/Software/amarok/src/dialogs/ScriptManager.cpp:280
#61 0x005c4e0a in ScriptManager::qt_metacall (this=0x8f406d8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa6d5bc) at /home/eelko/Software/amarok/amarok-build/src/ScriptManager.moc:92
#62 0x03620fc3 in QMetaObject::activate (sender=0x8f5f598, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120
#63 0x03621c12 in QMetaObject::activate (sender=0x8f5f598, m=0x36fb348, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#64 0x036260b7 in QSingleShotTimer::timeout (this=0x8f5f598) at .moc/release-shared/qtimer.moc:76
#65 0x036261cc in QSingleShotTimer::timerEvent (this=0x8f5f598) at kernel/qtimer.cpp:298
#66 0x0361b02f in QObject::event (this=0x8f5f598, e=0xbfa6da50) at kernel/qobject.cpp:1082
#67 0x044ff444 in QApplicationPrivate::notify_helper (this=0x85ccdd8, receiver=0x8f5f598, e=0xbfa6da50) at kernel/qapplication.cpp:4057
#68 0x04506abe in QApplication::notify (this=0xbfa6dd80, receiver=0x8f5f598, e=0xbfa6da50) at kernel/qapplication.cpp:4022
#69 0x03c4b37a in KApplication::notify (this=0xbfa6dd80, receiver=0x8f5f598, event=0xbfa6da50) at /usr/src/debug/kdelibs-4.2.85/kdeui/kernel/kapplication.cpp:307
#70 0x0360afdb in QCoreApplication::notifyInternal (this=0xbfa6dd80, receiver=0x8f5f598, event=0xbfa6da50) at kernel/qcoreapplication.cpp:610
#71 0x0363835e in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#72 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#73 0x03635d90 in timerSourceDispatch (source=0x85ce740) at kernel/qeventdispatcher_glib.cpp:164
#74 0x00ea6d78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#75 0x00eaa310 in ?? () from /lib/libglib-2.0.so.0
#76 0x00eaa443 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#77 0x03635cdc in QEventDispatcherGlib::processEvents (this=0x85ccec0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:324
#78 0x0459e305 in QGuiEventDispatcherGlib::processEvents (this=0x85ccec0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#79 0x036095c9 in QEventLoop::processEvents (this=0xbfa6dd14, flags={i = 36}) at kernel/qeventloop.cpp:149
#80 0x03609a12 in QEventLoop::exec (this=0xbfa6dd14, flags={i = 0}) at kernel/qeventloop.cpp:200
#81 0x0360bd6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#82 0x044ff2c7 in QApplication::exec () at kernel/qapplication.cpp:3526
#83 0x0804bd40 in main (argc=1, argv=0xbfa6e294) at /home/eelko/Software/amarok/src/main.cpp:128
Comment 44 Jeff Mitchell 2009-06-08 12:57:21 UTC
This looks like a crash in Qt, or perhaps in its glib backend.  It would really help if you can isolate the file that it is crashing on and send it to mitchell kde org.
Comment 45 Rasmus Steinke 2009-06-08 13:48:35 UTC
It DOES look like a crash in QT - BUT: the very same qt version with kde 4.2.3 works... 
Also it doesnt crash on particular files... its more or less random
Comment 46 Alexey Shildyakov 2009-06-23 01:10:53 UTC
*** Bug 194673 has been marked as a duplicate of this bug. ***
Comment 47 Alexey Shildyakov 2009-06-23 01:21:22 UTC
*** Bug 195257 has been marked as a duplicate of this bug. ***
Comment 48 Alexey Shildyakov 2009-06-23 01:23:30 UTC
Reopen by many reports in new version
Comment 49 Alexey Shildyakov 2009-06-23 01:25:40 UTC
*** Bug 196499 has been marked as a duplicate of this bug. ***
Comment 50 Alexey Shildyakov 2009-06-23 01:31:51 UTC
*** Bug 197534 has been marked as a duplicate of this bug. ***
Comment 51 Myriam Schweingruber 2009-07-30 18:55:55 UTC
*** Bug 194436 has been marked as a duplicate of this bug. ***
Comment 52 Myriam Schweingruber 2009-07-30 19:38:08 UTC
*** Bug 202022 has been marked as a duplicate of this bug. ***
Comment 53 Myriam Schweingruber 2009-08-02 13:58:50 UTC
Still present in current 2.2-git, Amarok freezes completely and has to be killed with Ctrl+C. It Always crashes at about 86%, but I can't identify any file that could be the culprit.

See also bug 191447 and 197782. Bug 196207 might give a hint, too.
Comment 54 Jeff Mitchell 2009-08-02 17:08:21 UTC
@Eelko in comment 43: it looks like your problem is definitely bug 196207.
Comment 55 Myriam Schweingruber 2009-08-14 20:03:38 UTC
OK, found the origin of the problem:

My Music is stored in subfolders by artists. As soon as then scanner reaches the artists starting with "The..." it freezes and doesn't progress anymore.
Renaming these folders did the trick (removed the The of the name, e.g a folder previously called "The Rolling Stones" is now called "Rolling Stones".
I have found again the approx. 300 missing tracks, and the scanner proceeds correctly.

Closing as solved in current Amarok 2.2-GIT, build of today.