Bug 300999

Summary: Amarok crashes on exit
Product: [Applications] amarok Reporter: Oliver Zimmermann <o-z>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.6   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oliver Zimmermann 2012-06-01 14:37:30 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.9-default i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
Closing Amarok made it crash. And there is a problem with the database...

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
[Current thread is 1 (Thread 0xafb8d720 (LWP 17073))]

Thread 8 (Thread 0xacf5bb70 (LWP 17090)):
#0  0xb56c7bb4 in __GI___poll (fds=0xac6013b8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0xb4439f7b in g_poll () from /usr/lib/libglib-2.0.so.0
#2  0xb442b466 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb442b7fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb64b18a7 in QEventDispatcherGlib::processEvents (this=0xac600488, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb648245d in QEventLoop::processEvents (this=0xacf5b2a0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb64826a1 in QEventLoop::exec (this=0xacf5b2a0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb638575b in QThread::exec (this=0x816dad8) at thread/qthread.cpp:498
#8  0xb646309d in QInotifyFileSystemWatcherEngine::run (this=0x816dad8) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb6388613 in QThreadPrivate::start (arg=0x816dad8) at thread/qthread_unix.cpp:331
#10 0xb5240a7d in start_thread (arg=0xacf5bb70) at pthread_create.c:301
#11 0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xab2ffb70 (LWP 17094)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb56e05cc in __pthread_cond_wait (cond=0x8681078, mutex=0x8681060) at forward.c:139
#2  0xb6388b20 in wait (time=4294967295, this=0x8681060) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x81f51d0, mutex=0x862b620, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb4e73c96 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81f51b8, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4e7678b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4e738ca in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x81f51b8, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e7688c in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#18 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#19 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#20 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#21 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#22 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865da38, previous=0x943a7c0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#23 0xb4e753c4 in ThreadWeaver::ThreadRunHelper::run (this=0xab2ff304, parent=0x81f51b8, th=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#24 0xb4e7547a in ThreadWeaver::Thread::run (this=0x865da38) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#25 0xb6388613 in QThreadPrivate::start (arg=0x865da38) at thread/qthread_unix.cpp:331
#26 0xb5240a7d in start_thread (arg=0xab2ffb70) at pthread_create.c:301
#27 0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xabaffb70 (LWP 17127)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb56e05cc in __pthread_cond_wait (cond=0x8681078, mutex=0x8681060) at forward.c:139
#2  0xb6388b20 in wait (time=4294967295, this=0x8681060) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x81f51d0, mutex=0x862b620, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb4e73c96 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81f51b8, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4e7678b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4e738ca in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x81f51b8, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e7688c in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865d3c8, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865d3c8, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865d3c8, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865d3c8, previous=0x0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb4e768a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x865d3c8, previous=0x962d978) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb4e753c4 in ThreadWeaver::ThreadRunHelper::run (this=0xabaff304, parent=0x81f51b8, th=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#18 0xb4e7547a in ThreadWeaver::Thread::run (this=0x865d3c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#19 0xb6388613 in QThreadPrivate::start (arg=0x865d3c8) at thread/qthread_unix.cpp:331
#20 0xb5240a7d in start_thread (arg=0xabaffb70) at pthread_create.c:301
#21 0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xa9d94b70 (LWP 17220)):
[KCrash Handler]
#6  QXmlStreamReader::atEnd (this=0x96f7304) at xml/qxmlstream.cpp:570
#7  0xae163590 in ScannerJob::run (this=0x96f72c8) at /usr/src/debug/amarok-2.5.0/src/core-impl/collections/db/ScanManager.cpp:512
#8  0xb4e75d3d in ThreadWeaver::JobRunHelper::runTheJob (this=0xa9d9427c, th=0x918bbf8, job=0x96f72c8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Job.cpp:106
#9  0xb4e75ea3 in ThreadWeaver::Job::execute (this=0x96f72c8, th=0x918bbf8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Job.cpp:135
#10 0xb4e75392 in ThreadWeaver::ThreadRunHelper::run (this=0xa9d94304, parent=0x81f51b8, th=0x918bbf8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:95
#11 0xb4e7547a in ThreadWeaver::Thread::run (this=0x918bbf8) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#12 0xb6388613 in QThreadPrivate::start (arg=0x918bbf8) at thread/qthread_unix.cpp:331
#13 0xb5240a7d in start_thread (arg=0xa9d94b70) at pthread_create.c:301
#14 0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa955db70 (LWP 17228)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb56e05cc in __pthread_cond_wait (cond=0x8681078, mutex=0x8681060) at forward.c:139
#2  0xb6388b20 in wait (time=4294967295, this=0x8681060) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x81f51d0, mutex=0x862b620, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb4e73c96 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81f51b8, th=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb4e7678b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x86ea660, th=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb4e738ca in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x81f51b8, th=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e7688c in ThreadWeaver::WorkingHardState::applyForWork (this=0x86ea660, th=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e73823 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81f51b8, th=0x92d34b0, previous=0x93e7e18) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e753c4 in ThreadWeaver::ThreadRunHelper::run (this=0xa955d304, parent=0x81f51b8, th=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#10 0xb4e7547a in ThreadWeaver::Thread::run (this=0x92d34b0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#11 0xb6388613 in QThreadPrivate::start (arg=0x92d34b0) at thread/qthread_unix.cpp:331
#12 0xb5240a7d in start_thread (arg=0xa955db70) at pthread_create.c:301
#13 0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xa8d17b70 (LWP 17229)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb56e05cc in __pthread_cond_wait (cond=0xb402a430, mutex=0xb402a418) at forward.c:139
#2  0xb39088fb in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb4025340) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#3  0xb3908a1f in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4025340) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#4  0xb5240a7d in start_thread (arg=0xa8d17b70) at pthread_create.c:301
#5  0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xa334db70 (LWP 17259)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0xb56e05cc in __pthread_cond_wait (cond=0xb49c2890, mutex=0xb49c2878) at forward.c:139
#2  0xb48be4f9 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb49bd7a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb48be53f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb49bd7a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb5240a7d in start_thread (arg=0xa334db70) at pthread_create.c:301
#5  0xb56d2abe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xafb8d720 (LWP 17073)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:97
#1  0xb5244637 in _L_lock_18 () from /lib/libpthread.so.0
#2  0xb52444d6 in __pthread_cond_destroy (cond=0xa8510244) at pthread_cond_destroy.c:33
#3  0xb56e04f4 in __pthread_cond_destroy (cond=0xa8510244) at forward.c:107
#4  0xad8fd4ad in inline_mysql_cond_destroy (that=0xa8510244) at /usr/src/debug/mysql-5.5.23/include/mysql/psi/mysql_thread.h:957
#5  my_thread_end () at /usr/src/debug/mysql-5.5.23/mysys/my_thr_init.c:407
#6  0xad905034 in mysql_thread_end () at /usr/src/debug/mysql-5.5.23/libmysql/libmysql.c:240
#7  0xae275939 in ~ThreadInitializer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.5.0/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:64
#8  QThreadStorage<ThreadInitializer*>::deleteData (x=0x85e1048) at /usr/include/QtCore/qthreadstorage.h:133
#9  0xb6386939 in QThreadStorageData::finish (p=0x80619f8) at thread/qthreadstorage.cpp:202
#10 0xb6486377 in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x8195620, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:347
#11 0xb59b9e73 in QApplicationPrivate::~QApplicationPrivate (this=0x8195620, __in_chrg=<optimized out>) at kernel/qapplication.cpp:217
#12 0xb59ba062 in QApplicationPrivate::~QApplicationPrivate (this=0x8195620, __in_chrg=<optimized out>) at kernel/qapplication.cpp:221
#13 0xb649c131 in cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0xbfdd0898, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0xbfdd0894, __in_chrg=<optimized out>) at kernel/qobject.cpp:818
#16 0xb64862c8 in QCoreApplication::~QCoreApplication (this=0xbfdd0894, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:671
#17 0xb59c5a43 in QApplication::~QApplication (this=0xbfdd0894, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1088
#18 0xb74c4698 in KApplication::~KApplication (this=0xbfdd0894, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:894
#19 0xb74cc458 in KUniqueApplication::~KUniqueApplication (this=0xbfdd0894, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kuniqueapplication.cpp:347
#20 0xb6eed157 in App::~App (this=0xbfdd0894, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.5.0/src/App.cpp:188
#21 0x0804fe82 in main (argc=) at /usr/src/debug/amarok-2.5.0/src/main.cpp:301

Possible duplicates by query: bug 295146, bug 288385.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-06-03 11:54:03 UTC

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