Application: amarok (2.6.0) KDE Platform Version: 4.9.4 Qt Version: 4.8.3 Operating System: Linux 3.5.0-19-generic x86_64 Distribution: Ubuntu 12.10 -- Information about the crash: - What I was doing when the application crashed: amarok crash when i listening music and updating a library of songs The crash can be reproduced some of the time. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3c595da780 (LWP 16100))] Thread 10 (Thread 0x7f3c2a20f700 (LWP 16105)): #0 __pthread_mutex_lock (mutex=0x7f3c24000aa0) at pthread_mutex_lock.c:54 #1 0x00007f3c509c6c31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f3c50989d3d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f3c50989ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f3c568c5c16 in QEventDispatcherGlib::processEvents (this=0x7f3c24000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #5 0x00007f3c568962bf in QEventLoop::processEvents (this=this@entry=0x7f3c2a20edd0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f3c56896548 in QEventLoop::exec (this=0x7f3c2a20edd0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f3c56797b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #8 0x00007f3c568769af in QInotifyFileSystemWatcherEngine::run (this=0x193a9b0) at io/qfilesystemwatcher_inotify.cpp:248 #9 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x193a9b0) at thread/qthread_unix.cpp:338 #10 0x00007f3c5247fe9a in start_thread (arg=0x7f3c2a20f700) at pthread_create.c:308 #11 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f3c23b2b700 (LWP 16106)): #0 QHash<QString, KSharedPtr<Meta::Track> >::findNode (this=this@entry=0x18b3b68, akey=..., ahp=ahp@entry=0x7f3c23b2aaac) at /usr/include/qt4/QtCore/qhash.h:888 #1 0x00007f3c34b21ef6 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x18b3b68, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:759 #2 0x00007f3c34b199d4 in SqlRegistry::getTrack (this=0x18b3b50, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173 #3 0x00007f3c34b0167b in Collections::SqlCollection::trackForUrl (this=0x18e5940, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423 #4 0x00007f3c584ad7a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457 #5 0x00007f3c584537fc in MetaProxy::Worker::run (this=0x219b330) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32 #6 0x00007f3c539f4f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3c23b2adb0, th=th@entry=0x1c56940, job=job@entry=0x219b330) at ../../../threadweaver/Weaver/Job.cpp:106 #7 0x00007f3c539f5111 in ThreadWeaver::Job::execute (this=0x219b330, th=0x1c56940) at ../../../threadweaver/Weaver/Job.cpp:135 #8 0x00007f3c539f476f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3c23b2ae00, parent=0x1c55910, th=th@entry=0x1c56940) at ../../../threadweaver/Weaver/Thread.cpp:95 #9 0x00007f3c539f482b in ThreadWeaver::Thread::run (this=0x1c56940) at ../../../threadweaver/Weaver/Thread.cpp:142 #10 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1c56940) at thread/qthread_unix.cpp:338 #11 0x00007f3c5247fe9a in start_thread (arg=0x7f3c23b2b700) at pthread_create.c:308 #12 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f3c22d07700 (LWP 16107)): #0 0x00007f3c567b6af6 in QHashData::rehash (this=0x7f3c1c00f410, hint=<optimized out>) at tools/qhash.cpp:384 #1 0x00007f3c34af2e70 in QHashData::willGrow (this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:163 #2 0x00007f3c34b21f80 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x18b3b68, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:761 #3 0x00007f3c34b199d4 in SqlRegistry::getTrack (this=0x18b3b50, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173 #4 0x00007f3c34b0167b in Collections::SqlCollection::trackForUrl (this=0x18e5940, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423 #5 0x00007f3c584ad7a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457 #6 0x00007f3c584537fc in MetaProxy::Worker::run (this=0x2198cb0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32 #7 0x00007f3c539f4f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3c22d06db0, th=th@entry=0x1df2b90, job=job@entry=0x2198cb0) at ../../../threadweaver/Weaver/Job.cpp:106 #8 0x00007f3c539f5111 in ThreadWeaver::Job::execute (this=0x2198cb0, th=0x1df2b90) at ../../../threadweaver/Weaver/Job.cpp:135 #9 0x00007f3c539f476f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3c22d06e00, parent=0x1c55910, th=th@entry=0x1df2b90) at ../../../threadweaver/Weaver/Thread.cpp:95 #10 0x00007f3c539f482b in ThreadWeaver::Thread::run (this=0x1df2b90) at ../../../threadweaver/Weaver/Thread.cpp:142 #11 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1df2b90) at thread/qthread_unix.cpp:338 #12 0x00007f3c5247fe9a in start_thread (arg=0x7f3c22d07700) at pthread_create.c:308 #13 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f3c21eed700 (LWP 16108)): #0 same_key (key0=..., h0=204541013, this=0x7f3c0c03b270) at /usr/include/qt4/QtCore/qhash.h:225 #1 QHash<QString, KSharedPtr<Meta::Track> >::findNode (this=this@entry=0x18b3b68, akey=..., ahp=ahp@entry=0x7f3c21eecaac) at /usr/include/qt4/QtCore/qhash.h:887 #2 0x00007f3c34b21ef6 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x18b3b68, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:759 #3 0x00007f3c34b199d4 in SqlRegistry::getTrack (this=0x18b3b50, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173 #4 0x00007f3c34b0167b in Collections::SqlCollection::trackForUrl (this=0x18e5940, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423 #5 0x00007f3c584ad7a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457 #6 0x00007f3c584537fc in MetaProxy::Worker::run (this=0x219e820) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32 #7 0x00007f3c539f4f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3c21eecdb0, th=th@entry=0x1e91950, job=job@entry=0x219e820) at ../../../threadweaver/Weaver/Job.cpp:106 #8 0x00007f3c539f5111 in ThreadWeaver::Job::execute (this=0x219e820, th=0x1e91950) at ../../../threadweaver/Weaver/Job.cpp:135 #9 0x00007f3c539f476f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3c21eece00, parent=0x1c55910, th=th@entry=0x1e91950) at ../../../threadweaver/Weaver/Thread.cpp:95 #10 0x00007f3c539f482b in ThreadWeaver::Thread::run (this=0x1e91950) at ../../../threadweaver/Weaver/Thread.cpp:142 #11 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1e91950) at thread/qthread_unix.cpp:338 #12 0x00007f3c5247fe9a in start_thread (arg=0x7f3c21eed700) at pthread_create.c:308 #13 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3c216ec700 (LWP 16109)): #0 0x00007f3c567b6af0 in QHashData::rehash (this=0x7f3c1c00f410, hint=<optimized out>) at tools/qhash.cpp:384 #1 0x00007f3c34af2e70 in QHashData::willGrow (this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:163 #2 0x00007f3c34b21f80 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x18b3b68, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:761 #3 0x00007f3c34b199d4 in SqlRegistry::getTrack (this=0x18b3b50, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173 #4 0x00007f3c34b0167b in Collections::SqlCollection::trackForUrl (this=0x18e5940, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423 #5 0x00007f3c584ad7a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457 #6 0x00007f3c584537fc in MetaProxy::Worker::run (this=0x2199230) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32 #7 0x00007f3c539f4f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3c216ebdb0, th=th@entry=0x1e3f1b0, job=job@entry=0x2199230) at ../../../threadweaver/Weaver/Job.cpp:106 #8 0x00007f3c539f5111 in ThreadWeaver::Job::execute (this=0x2199230, th=0x1e3f1b0) at ../../../threadweaver/Weaver/Job.cpp:135 #9 0x00007f3c539f476f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3c216ebe00, parent=0x1c55910, th=th@entry=0x1e3f1b0) at ../../../threadweaver/Weaver/Thread.cpp:95 #10 0x00007f3c539f482b in ThreadWeaver::Thread::run (this=0x1e3f1b0) at ../../../threadweaver/Weaver/Thread.cpp:142 #11 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1e3f1b0) at thread/qthread_unix.cpp:338 #12 0x00007f3c5247fe9a in start_thread (arg=0x7f3c216ec700) at pthread_create.c:308 #13 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f3c13fff700 (LWP 16110)): #0 0x00007f3c55f2f303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f3c50989d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f3c50989ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f3c568c5c16 in QEventDispatcherGlib::processEvents (this=0x7f3c080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f3c568962bf in QEventLoop::processEvents (this=this@entry=0x7f3c13ffedd0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f3c56896548 in QEventLoop::exec (this=0x7f3c13ffedd0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f3c56797b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f3c568769af in QInotifyFileSystemWatcherEngine::run (this=0x1f74c90) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1f74c90) at thread/qthread_unix.cpp:338 #9 0x00007f3c5247fe9a in start_thread (arg=0x7f3c13fff700) at pthread_create.c:308 #10 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f3c131be700 (LWP 16111)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f3c4d5dbb2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #2 0x00007f3c4d5dbc39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #3 0x00007f3c5247fe9a in start_thread (arg=0x7f3c131be700) at pthread_create.c:308 #4 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3c128bd700 (LWP 16112)): #0 0x00007f3c55f2f303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f3c50989d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f3c50989ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f3c568c5c16 in QEventDispatcherGlib::processEvents (this=0x7f3c000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f3c568962bf in QEventLoop::processEvents (this=this@entry=0x7f3c128bce00, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f3c56896548 in QEventLoop::exec (this=0x7f3c128bce00, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f3c56797b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #7 0x00007f3c5679aaec in QThreadPrivate::start (arg=0x1f43d90) at thread/qthread_unix.cpp:338 #8 0x00007f3c5247fe9a in start_thread (arg=0x7f3c128bd700) at pthread_create.c:308 #9 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3c1102c700 (LWP 16115)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f3c52a58cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007f3c52a58d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007f3c5247fe9a in start_thread (arg=0x7f3c1102c700) at pthread_create.c:308 #4 0x00007f3c55f3acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f3c595da780 (LWP 16100)): [KCrash Handler] #6 deref (this=0xd5c57a3) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133 #7 ~KSharedPtr (this=0x7f3c14037c48, __in_chrg=<optimized out>) at /usr/include/KDE/../ksharedptr.h:90 #8 ~QHashNode (this=0x7f3c14037c30, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216 #9 QHash<QString, KSharedPtr<Meta::Track> >::deleteNode2 (node=0x7f3c14037c30) at /usr/include/qt4/QtCore/qhash.h:521 #10 0x00007f3c567b66cb in QHashData::free_helper (this=0x7f3c1c00f410, node_delete=0x7f3c34b1f8e0 <QHash<QString, KSharedPtr<Meta::Track> >::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275 #11 0x00007f3c34b17c27 in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:570 #12 ~QHash (this=0x18b3b68, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:283 #13 SqlRegistry::~SqlRegistry (this=0x18b3b50, __in_chrg=<optimized out>) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:60 #14 0x00007f3c34b17c59 in SqlRegistry::~SqlRegistry (this=0x18b3b50, __in_chrg=<optimized out>) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:63 #15 0x00007f3c34b01388 in Collections::SqlCollection::~SqlCollection (this=0x18e5940, __in_chrg=<optimized out>) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:229 #16 0x00007f3c34b01419 in Collections::SqlCollection::~SqlCollection (this=0x18e5940, __in_chrg=<optimized out>) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:231 #17 0x00007f3c584aed1c in CollectionManager::~CollectionManager (this=0x184ffa0, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:139 #18 0x00007f3c584aef89 in CollectionManager::~CollectionManager (this=0x184ffa0, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:144 #19 0x00007f3c584acdf6 in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:106 #20 0x00007f3c585db6f5 in App::~App (this=0x7fffd6f3d900, __in_chrg=<optimized out>) at ../../src/App.cpp:247 #21 0x0000000000408df9 in main (argc=1, argv=0x7fffd6f3da68) at ../../src/main.cpp:306 This bug may be a duplicate of or related to bug 233726. Reported using DrKonqi
Are you using the embedded database or an external MySQL server? Strange we haven't seen this crash reported yet although Amarok 2.6 is out since August
I use the built-in database. In Kubuntu 12.04 all is ok.
Thank you for the feedback. What exactly are the steps to reproduce this crash? I can't reproduce this at all.
This is a crash on when closing Amarok, right?
(In reply to comment #4) > This is a crash on when closing Amarok, right? Well, no, the description says otherwise. Miras1990: please give exact steps on how to reproduce this crash, else the bug report is not really helpful.
(In reply to comment #5) > (In reply to comment #4) > > This is a crash on when closing Amarok, right? > > Well, no, the description says otherwise. > > Miras1990: please give exact steps on how to reproduce this crash, else the > bug report is not really helpful. Amarok crash when I wanted to update the music library, but before the operation turned music. I do not know English well so I used Google Translator.
(In reply to comment #4) > This is a crash on when closing Amarok, right? No. when i listen music and update a library of music.
In kde 4.10 SC RC2 I don't have a problem. I do not know English well so I used Google Translator.
(In reply to comment #8) > In kde 4.10 SC RC2 I don't have a problem. With the same Amarok version? Then it was not an Amarok bug.
(In reply to comment #9) > (In reply to comment #8) > > In kde 4.10 SC RC2 I don't have a problem. > > With the same Amarok version? Then it was not an Amarok bug. Amarok 2.6.90