Bug 237582

Summary: Amarok doesn't retain collection info and crashes on rescan
Product: [Applications] amarok Reporter: sendittodevnull
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sendittodevnull 2010-05-14 08:57:20 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Amarok doesn't retain collection info and crashes on rescan

The crash can be reproduced every time.

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

Thread 12 (Thread 0x7f124db82710 (LWP 23863)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f1253eec081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f124d381710 (LWP 23864)):
#0  0x00007f1262710f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f125bbf04a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f125bbf08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f126307b566 in QEventDispatcherGlib::processEvents (this=0x1b60230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f1263050992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f1263050d6c in QEventLoop::exec (this=0x7f124d380d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f1262f5ad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f1254148440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x1be10a0) at thread/qthread_unix.cpp:248
#9  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

Thread 9 (Thread 0x7f122f6ac710 (LWP 23875)):
#0  0x00007f1260b6ba2d in __pthread_mutex_unlock_usercnt (mutex=0x23829e8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x23829e8) at pthread_mutex_unlock.c:290
#2  0x00007f125bbf05aa in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f125bbf08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f126307b566 in QEventDispatcherGlib::processEvents (this=0x2af24d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f1263050992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f1263050d6c in QEventLoop::exec (this=0x7f122f6abd90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f1262f5ad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f1263031178 in QInotifyFileSystemWatcherEngine::run (this=0x2af1680) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x2af1680) at thread/qthread_unix.cpp:248
#10 0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f123b01e710 (LWP 23876)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1262f5e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f125f5b2026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2ad3750, th=0x2ad49c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f125f5b46ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2ad2ee0, th=0x2ad49c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f125f5b46c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2ad2ee0, th=0x2ad49c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f125f5b2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f123b01dde0, parent=0x2ad3750, th=0x2ad49c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f125f5b3168 in ThreadWeaver::Thread::run (this=0x2ad49c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x2ad49c0) at thread/qthread_unix.cpp:248
#9  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f123a81d710 (LWP 23877)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1262f5e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f125f5b2026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2ad3750, th=0x2b60450) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f125f5b46ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2ad2ee0, th=0x2b60450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f125f5b2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f123a81cde0, parent=0x2ad3750, th=0x2b60450) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f125f5b3168 in ThreadWeaver::Thread::run (this=0x2b60450) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x2b60450) at thread/qthread_unix.cpp:248
#8  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1236483710 (LWP 23878)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1262f5e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ad4590, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f125f5b2026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2ad3750, th=0x7f124857c550) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f125f5b46ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2ad2ee0, th=0x7f124857c550) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f125f5b2bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f1236482de0, parent=0x2ad3750, th=0x7f124857c550) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f125f5b3168 in ThreadWeaver::Thread::run (this=0x7f124857c550) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x7f124857c550) at thread/qthread_unix.cpp:248
#8  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1235c82710 (LWP 23879)):
[KCrash Handler]
#5  0x00007f1262f9f7c9 in QString::operator== (this=0x7f1235c816f0, other=...) at tools/qstring.cpp:2060
#6  0x00007f12634a8a45 in KMimeType::is (this=<value optimized out>, mimeTypeName=...) at ../../kdecore/services/kmimetype.cpp:649
#7  0x00007f1243b5a1e4 in Meta::UmsHandler::addPath (this=0x26194a0, path=...) at ../../../../src/collection/umscollection/handler/UmsHandler.cpp:409
#8  0x00007f1243b5a62a in Meta::UmsHandler::prepareToParseTracks (this=0x26194a0) at ../../../../src/collection/umscollection/handler/UmsHandler.cpp:859
#9  0x00007f12647ff073 in Meta::MediaDeviceHandler::privateParseTracks (this=0x26194a0) at ../../src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:832
#10 0x00007f1264800c5d in Meta::ParseWorkerThread::run (this=0x2abbad0) at ../../src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:1277
#11 0x00007f125f5b38dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f1235c81d50, th=0x25fb2d0, job=0x2abbad0) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x00007f125f5b3bde in ThreadWeaver::Job::execute (this=0x2abbad0, th=0x25fb2d0) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x00007f125f5b2bcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1235c81de0, parent=0x2ad3750, th=0x25fb2d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f125f5b3168 in ThreadWeaver::Thread::run (this=0x25fb2d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f1262f5d775 in QThreadPrivate::start (arg=0x25fb2d0) at thread/qthread_unix.cpp:248
#16 0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1234c80710 (LWP 23882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f125ee1d2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f125f0fb220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f125ee1d2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f125f1092ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1226ddd710 (LWP 23892)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1262f5e72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x942e038, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x942e038, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1263ecc026 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x942e028) at thread/qthread_unix.cpp:248
#5  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f12265dc710 (LWP 23893)):
#0  0x00007f1262710f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f125bbf04a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f125bbf08fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f126307b566 in QEventDispatcherGlib::processEvents (this=0x39c38d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f1263050992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f1263050d6c in QEventLoop::exec (this=0x7f12265dbd90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f1262f5ad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f1263031178 in QInotifyFileSystemWatcherEngine::run (this=0x9495130) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1262f5d775 in QThreadPrivate::start (arg=0x9495130) at thread/qthread_unix.cpp:248
#9  0x00007f1260b679ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f126271d69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1265807780 (LWP 23862)):
#0  0x00007f125a234f00 in poll@plt () from /usr/lib/libxcb.so.1
#1  0x00007f125a23529a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f125a2357d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f125a235a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f1261ccc6fa in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f1261ccc839 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007f1261ca9bd3 in XGetSelectionOwner () from /usr/lib/libX11.so.6
#7  0x00007f1263a53564 in QClipboard::event (this=0x1a8a840, e=<value optimized out>) at kernel/qclipboard_x11.cpp:928
#8  0x00007f12639c622c in QApplicationPrivate::notify_helper (this=0x1a42ee0, receiver=0x1a8a840, e=0x7fffbcea0470) at kernel/qapplication.cpp:4300
#9  0x00007f12639cc6fb in QApplication::notify (this=0x7fffbcea0630, receiver=0x1a8a840, e=0x7fffbcea0470) at kernel/qapplication.cpp:4183
#10 0x00007f126305206c in QCoreApplication::notifyInternal (this=0x7fffbcea0630, receiver=0x1a8a840, event=0x7fffbcea0470) at kernel/qcoreapplication.cpp:704
#11 0x00007f12639cf2fb in QCoreApplication::sendEvent (this=0x7fffbcea0630, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 ~QApplication (this=0x7fffbcea0630, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1011
#13 0x00007f1264a321a7 in ~App (this=0x7fffbcea0630, __in_chrg=<value optimized out>) at ../../src/App.cpp:302
#14 0x000000000040878e in main (argc=1, argv=0x7fffbcea25a8) at ../../src/main.cpp:237

Possible duplicates by query: bug 232051.

Reported using DrKonqi
Comment 1 Sven Krohlas 2010-05-14 13:10:32 UTC
Still a problem in 2.3.1?

*** This bug has been marked as a duplicate of bug 232051 ***
Comment 2 sendittodevnull 2010-05-14 18:12:04 UTC
(In reply to comment #1)
> Still a problem in 2.3.1?
> 
> *** This bug has been marked as a duplicate of bug 232051 ***

Latest version  I can find is 2.3.0.90 and I can't get it to compile.