Bug 245592 - Collection browser fails to scan more than 12000 tracks
Summary: Collection browser fails to scan more than 12000 tracks
Status: RESOLVED DUPLICATE of bug 235480
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: 2.3.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-24 01:15 UTC by pacificprince
Modified: 2010-07-24 12:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pacificprince 2010-07-24 01:15:21 UTC
Version:           2.3.1 (using KDE 4.4.5) 
OS:                Linux

Hi All, 
  This is my first bug report so I will try to be as descriptive as possible. My system:
Laptop	       : Thinkpad T500
OS	       : Kubuntu 10.04
Amarok version : 2.3.1 (from backports repository)

I have approximately 20,000 tracks in an external hard drive (ultra-bay to be exact). I am quite sure that I have configured MySQL correctly. Some things that happened when I tried to scan my collection:
1. Amarok crashed every time I tried. If I restarted the application it would resume scanning, but it could not add over ~12,000 tracks in the collection browser (yes, I quit Amarok and restarted it to make sure the collection browser was updated). 
2. I tried adding one folder at a time, but this was very tedious and the results were the same as in 1). Sometimes, when a new folder was scanned, all the previously scanned entries from the collection would disappear!
3. I deleted the Amarok folder in ~/.kde/share/apps and the configuration files. Restarted Amarok and the scanner STILL failed as in 1).
4. Ok, so I scrounged the internet and forums suggested to run the collection scanner from the command line. I got the file amarokcollectionscanner_fullscan.xml (can't remember the exact file name), put it in the amarok directory and did a full rescan. Failed again.
5. I tried deleting all the playlist (.m3u) files from my collection but this also did not seem to make a difference.

Just to be clear, the collection is scanned perfectly in Amarok 1.4. Also, the Clementine music player is able to scan my entire collection without any problems. 

I have spent --hours-- days trying to scan my full collection. Am I missing something? Could someone please help or suggest other fixes/patches? 

Reproducible: Always

Steps to Reproduce:
1. Start Amarok.
2. Scan collection.


Actual Results:  
Crashes or adds less files than in collection.

Expected Results:  
To scan and add complete collection!
Comment 1 Myriam Schweingruber 2010-07-24 02:18:35 UTC
The amount of files is certainly not the problem, we have people with much bigger collections. Could you please provide a valid backtrace? A crash report without a backtrace is not really useful.
Comment 2 pacificprince 2010-07-24 04:56:17 UTC
Thanks for the quick response. I suspected that the problem was independent of the collection size. Here is the backtrace:


Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f01bc549780 (LWP 3482))]

Thread 14 (Thread 0x7f01a4dd2710 (LWP 3483)):
#0  0x00007f01b784cbc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01aaad2081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#3  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f01a45d1710 (LWP 3484)):
#0  0x00007f01b784a403 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f01b264eee3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f01b264f318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f01b264f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f01b9d5c566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f01b9d31992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f01b9d31d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f01b9c3bd59 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007f01aad2e440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f01b9c3e775 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#11 0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f01a3bc6710 (LWP 3487)):
#0  0x00007f01b93ef4ad in read () from /lib/libc.so.6
#1  0x00007f01ab127fa5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f01ab122c98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f01ab12ca79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f01a3bcb956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#5  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#6  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f01a33c5710 (LWP 3488)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#3  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f01a27b9710 (LWP 3489)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#3  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f01a1fb8710 (LWP 3490)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#3  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f01a17b7710 (LWP 3491)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#3  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f019fdb4710 (LWP 3493)):
#0  0x00007f01b93f0f83 in poll () from /lib/libc.so.6
#1  0x00007f01b264f4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f01b264f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f01b9d5c566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f01b9d31992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f01b9d31d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f01b9c3bd59 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f01b9d12178 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f01b9c3e775 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f01953c0710 (LWP 3494)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01b47a9ca6 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f01b47a9ce9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f019400f710 (LWP 3495)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01b9c3f72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f01a00329a9 in ?? () from /usr/lib/libamarok-sqlcollection.so.1
#3  0x00007f01b62938dd in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f01b6293bde in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007f01b6292bcf in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f01b6293168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f01b9c3e775 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#9  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f018fa10710 (LWP 3496)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01b9c3f72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f01b6292026 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f01b62946ab in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f01b6292bff in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f01b6293168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f01b9c3e775 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f018ea0e710 (LWP 3500)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01b9c3f72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f01b6292026 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f01b62946ab in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f01b6292bff in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f01b6293168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f01b9c3e775 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#8  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f018e20d710 (LWP 3501)):
#0  0x00007f01b784c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f01b5afd2a6 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f01b5afd2e9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f01b78479ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f01b93fd6fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f01bc549780 (LWP 3482)):
[KCrash Handler]
#5  0x00007f01bb67c746 in ?? () from /usr/lib/libamaroklib.so.1
#6  0x00007f01bb63014b in ?? () from /usr/lib/libamaroklib.so.1
#7  0x00007f01b9d278f7 in QAbstractItemModel::itemData(QModelIndex const&) const () from /usr/lib/libQtCore.so.4
#8  0x00007f01bb63a187 in ?? () from /usr/lib/libamaroklib.so.1
#9  0x00007f01bb637a25 in ?? () from /usr/lib/libamaroklib.so.1
#10 0x00007f01bb2da1c9 in ?? () from /usr/lib/libamaroklib.so.1
#11 0x00007f01bb2dd635 in ?? () from /usr/lib/libamaroklib.so.1
#12 0x00007f01b9d45e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007f01bb62ab34 in ?? () from /usr/lib/libamaroklib.so.1
#14 0x00007f01bb2dc998 in ?? () from /usr/lib/libamaroklib.so.1
#15 0x00007f01b9d45e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f01bb678308 in PlaylistManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#17 0x00007f01b9d42d49 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f01ba6a722c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007f01ba6ad6fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007f01bbf52526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f01b9d3306c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007f01b9d357e7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#23 0x00007f01b9d5c9d3 in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007f01b264b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f01b264f748 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f01b264f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007f01b9d5c513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f01ba75746e in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f01b9d31992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007f01b9d31d6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f01b9d35aab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x0000000000408752 in _start ()
Comment 3 pacificprince 2010-07-24 05:44:12 UTC
Apologies, but here is the backtrace with the appropriate debugging symbols:


Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f01bc549780 (LWP 3482))]

Thread 14 (Thread 0x7f01a4dd2710 (LWP 3483)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f01aaad2081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f01a45d1710 (LWP 3484)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f01a45d0a80 in ?? ()
#2  0x00007fff72b41852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0x7f01a3bc6710 (LWP 3487)):
#0  0x00007f01b93f0f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f01a3bcb915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f01a33c5710 (LWP 3488)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f01a27b9710 (LWP 3489)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f01a1fb8710 (LWP 3490)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f01a17b7710 (LWP 3491)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01aaae2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f019fdb4710 (LWP 3493)):
#0  0x00007f01b264eb01 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x00007f01b264f4c3 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f01b264f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f01b9d5c566 in QEventDispatcherGlib::processEvents (this=0x2a43610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f01b9d31992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f01b9d31d6c in QEventLoop::exec (this=0x7f019fdb3d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f01b9c3bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f01b9d12178 in QInotifyFileSystemWatcherEngine::run (this=0x29e8720) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f01b9c3e775 in QThreadPrivate::start (arg=0x29e8720) at thread/qthread_unix.cpp:248
#9  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f01953c0710 (LWP 3494)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01b47a9ca6 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f01b47a9ce9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f019400f710 (LWP 3495)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01b9c3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2cf2a28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2cf2a28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f01a00329a9 in XmlParseJob::run (this=<value optimized out>) at ../../../../../src/core-impl/collections/sqlcollection/ScanManager.cpp:693
#4  0x00007f01b62938dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f019400ed50, th=0x2ba0080, job=0x2cf29e0) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007f01b6293bde in ThreadWeaver::Job::execute (this=0x2cf29e0, th=0x2ba0080) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007f01b6292bcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f019400ede0, parent=0x2b9ed80, th=0x2ba0080) at ../../../threadweaver/Weaver/Thread.cpp:95
#7  0x00007f01b6293168 in ThreadWeaver::Thread::run (this=0x2ba0080) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f01b9c3e775 in QThreadPrivate::start (arg=0x2ba0080) at thread/qthread_unix.cpp:248
#9  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f018fa10710 (LWP 3496)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01b9c3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b9fc50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b9fc50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f01b6292026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2b9ed80, th=0x2c722d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f01b62946ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b9e650, th=0x2c722d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f01b6292bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f018fa0fde0, parent=0x2b9ed80, th=0x2c722d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f01b6293168 in ThreadWeaver::Thread::run (this=0x2c722d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01b9c3e775 in QThreadPrivate::start (arg=0x2c722d0) at thread/qthread_unix.cpp:248
#8  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f018ea0e710 (LWP 3500)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01b9c3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b9fc50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b9fc50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f01b6292026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2b9ed80, th=0x2b388d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f01b62946ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b9e650, th=0x2b388d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f01b6292bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f018ea0dde0, parent=0x2b9ed80, th=0x2b388d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f01b6293168 in ThreadWeaver::Thread::run (this=0x2b388d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f01b9c3e775 in QThreadPrivate::start (arg=0x2b388d0) at thread/qthread_unix.cpp:248
#8  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f018e20d710 (LWP 3501)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f01b5afd2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f01b5ddb220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f01b5afd2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f01b5de92ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f01b78479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f01b93fd6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f01bc549780 (LWP 3482)):
[KCrash Handler]
#5  0x00007f01bb67c746 in KSharedPtr (this=0x8) at /usr/include/KDE/../ksharedptr.h:84
#6  Playlists::PlaylistFileProvider::playlists (this=0x8) at ../../src/playlistmanager/file/PlaylistFileProvider.cpp:100
#7  0x00007f01bb63014b in PlaylistBrowserNS::MetaPlaylistModel::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>)
    at ../../src/browsers/playlistbrowser/MetaPlaylistModel.cpp:159
#8  0x00007f01b9d278f7 in QAbstractItemModel::itemData (this=0x2bd55f0, index=<value optimized out>) at kernel/qabstractitemmodel.cpp:1644
#9  0x00007f01bb63a187 in QtGroupingProxy::belongsTo (this=<value optimized out>, idx=<value optimized out>) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:63
#10 0x00007f01bb637a25 in QtGroupingProxy::buildTree (this=<value optimized out>) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:147
#11 0x00007f01bb2da1c9 in QtGroupingProxy::qt_metacall (this=0x2c23c80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff72b3d2e0) at moc_QtGroupingProxy.cpp:94
#12 0x00007f01bb2dd635 in PlaylistsByProviderProxy::qt_metacall (this=0x7f01b9695e40, _c=QMetaObject::QueryPropertyUser, _id=0, _a=0x7f01bbcf5101) at moc_PlaylistsByProviderProxy.cpp:73
#13 0x00007f01b9d45e3f in QMetaObject::activate (sender=0x2bd55f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f01bbcf5101) at kernel/qobject.cpp:3293
#14 0x00007f01bb62ab34 in PlaylistBrowserNS::MetaPlaylistModel::slotUpdate (this=0x2bd55f0) at ../../src/browsers/playlistbrowser/MetaPlaylistModel.cpp:474
#15 0x00007f01bb2dc998 in PlaylistBrowserNS::MetaPlaylistModel::qt_metacall (this=0x2bd55f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff72b3d490)
    at moc_MetaPlaylistModel.cpp:85
#16 0x00007f01b9d45e3f in QMetaObject::activate (sender=0x22deec0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f01bbcf5101) at kernel/qobject.cpp:3293
#17 0x00007f01bb678308 in PlaylistManager::qt_metacall (this=0x22deec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f018569ca60) at ./PlaylistManager.moc:90
#18 0x00007f01b9d42d49 in QObject::event (this=0x22deec0, e=0x7f01856fdc50) at kernel/qobject.cpp:1248
#19 0x00007f01ba6a722c in QApplicationPrivate::notify_helper (this=0x17e07d0, receiver=0x22deec0, e=0x7f01856fdc50) at kernel/qapplication.cpp:4300
#20 0x00007f01ba6ad6fb in QApplication::notify (this=0x7fff72b3df10, receiver=0x22deec0, e=0x7f01856fdc50) at kernel/qapplication.cpp:4183
#21 0x00007f01bbf52526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007f01b9d3306c in QCoreApplication::notifyInternal (this=0x7fff72b3df10, receiver=0x22deec0, event=0x7f01856fdc50) at kernel/qcoreapplication.cpp:704
#23 0x00007f01b9d357e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x167d9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x167d9f0) at kernel/qcoreapplication.cpp:1345
#25 0x00007f01b9d5c9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007f01b264b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f01b264f748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f01b264f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f01b9d5c513 in QEventDispatcherGlib::processEvents (this=0x167d140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007f01ba75746e in QGuiEventDispatcherGlib::processEvents (this=0x7f01b9695e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f01b9d31992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f01b9d31d6c in QEventLoop::exec (this=0x7fff72b3deb0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f01b9d35aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0000000000408752 in main (argc=1, argv=0x7fff72b3fe88) at ../../src/main.cpp:237
Comment 4 Myriam Schweingruber 2010-07-24 12:03:13 UTC
Thank you for the feedback. This is a known bug.

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