Bug 313169 - Amarok crash on startup
Summary: Amarok crash on startup
Status: RESOLVED DUPLICATE of bug 230991
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-13 10:28 UTC by Andrey Loskutov
Modified: 2013-05-15 14:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (14.92 KB, text/plain)
2013-05-15 14:47 UTC, Daniel Koch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov 2013-01-13 10:28:00 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed: 
Usual KDE startup.
Amarok is configured to continue playback on startup.
Instead I've got a crash while listening to the KDE startup sound :-(

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132
[Current thread is 1 (Thread 0x7fc95c9f17c0 (LWP 1957))]

Thread 7 (Thread 0x7fc93c0ee700 (LWP 1993)):
#0  0x00007fc959465303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc95172bb6f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fc95171d0b5 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fc95171d719 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fc95171d7d0 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fc95172bb1f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fc94cdfd543 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so
#7  0x00007fc9559b5e9a in start_thread (arg=0x7fc93c0ee700) at pthread_create.c:308
#8  0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc93a100700 (LWP 2003)):
#0  0x00007fc953efcbcf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc953efce49 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc953ebfd79 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc953ebfea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc959dfbc16 in QEventDispatcherGlib::processEvents (this=0x7fc924000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc959dcc2bf in QEventLoop::processEvents (this=this@entry=0x7fc93a0ffd90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc959dcc548 in QEventLoop::exec (this=0x7fc93a0ffd90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc959ccdb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fc959dac9af in QInotifyFileSystemWatcherEngine::run (this=0x1ed4090) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc959cd0aec in QThreadPrivate::start (arg=0x1ed4090) at thread/qthread_unix.cpp:338
#10 0x00007fc9559b5e9a in start_thread (arg=0x7fc93a100700) at pthread_create.c:308
#11 0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc9385ee700 (LWP 2004)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007fc959ccf594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1e4cc80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x1e4cc80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007fc959ccb8dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fc93aa5c690 in lockInline (this=0x1e36f20) at /usr/include/qt4/QtCore/qmutex.h:188
#5  QMutexLocker (m=0x1e36f20, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#6  MySqlStorage::escape (this=0x1e36f10, text=...) at ../../../../../../../src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:213
#7  0x00007fc95b9e7ceb in SqlStorageWrapper::escape (this=<optimized out>, text=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:60
#8  0x00007fc95b98cedc in PermanentUrlStatisticsProvider::PermanentUrlStatisticsProvider (this=0x7fc91c0065e0, permanentUrl=...) at ../../src/core-impl/statistics/providers/url/PermanentUrlStatisticsProvider.cpp:38
#9  0x00007fc95b9740b8 in MetaFile::Track::Track (this=0x7fc91c002b00, url=...) at ../../src/core-impl/meta/file/File.cpp:190
#10 0x00007fc95b9e3781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#11 0x00007fc95b9897fc in MetaProxy::Worker::run (this=0x211d570) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#12 0x00007fc956f2af9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fc9385edd70, th=th@entry=0x20f9580, job=job@entry=0x211d570) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0x00007fc956f2b111 in ThreadWeaver::Job::execute (this=0x211d570, th=0x20f9580) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0x00007fc956f2a76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fc9385eddc0, parent=0x21380d0, th=th@entry=0x20f9580) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0x00007fc956f2a82b in ThreadWeaver::Thread::run (this=0x20f9580) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00007fc959cd0aec in QThreadPrivate::start (arg=0x20f9580) at thread/qthread_unix.cpp:338
#17 0x00007fc9559b5e9a in start_thread (arg=0x7fc9385ee700) at pthread_create.c:308
#18 0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc936c2e700 (LWP 2005)):
[KCrash Handler]
#6  same_key (key0=..., h0=25673235, this=0x13c4) at /usr/include/qt4/QtCore/qhash.h:225
#7  QHash<QPair<int, QString>, KSharedPtr<Meta::Track> >::findNode (this=this@entry=0x1e7ed10, akey=..., ahp=ahp@entry=0x7fc936c2da6c) at /usr/include/qt4/QtCore/qhash.h:887
#8  0x00007fc93a598a67 in QHash<QPair<int, QString>, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x1e7ed10, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:762
#9  0x00007fc93a5909a9 in SqlRegistry::getTrack (this=0x1e7ed00, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:172
#10 0x00007fc93a57867b in Collections::SqlCollection::trackForUrl (this=0x1e7f340, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423
#11 0x00007fc95b9e37a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457
#12 0x00007fc95b9897fc in MetaProxy::Worker::run (this=0x2137720) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#13 0x00007fc956f2af9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fc936c2dd70, th=th@entry=0x20f9340, job=job@entry=0x2137720) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007fc956f2b111 in ThreadWeaver::Job::execute (this=0x2137720, th=0x20f9340) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007fc956f2a76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fc936c2ddc0, parent=0x21380d0, th=th@entry=0x20f9340) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007fc956f2a82b in ThreadWeaver::Thread::run (this=0x20f9340) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007fc959cd0aec in QThreadPrivate::start (arg=0x20f9340) at thread/qthread_unix.cpp:338
#18 0x00007fc9559b5e9a in start_thread (arg=0x7fc936c2e700) at pthread_create.c:308
#19 0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc93642d700 (LWP 2006)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007fc959ccf594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1e4cc80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x1e4cc80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007fc959ccb8dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fc93aa5c690 in lockInline (this=0x1e36f20) at /usr/include/qt4/QtCore/qmutex.h:188
#5  QMutexLocker (m=0x1e36f20, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#6  MySqlStorage::escape (this=0x1e36f10, text=...) at ../../../../../../../src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:213
#7  0x00007fc95b9e7ceb in SqlStorageWrapper::escape (this=<optimized out>, text=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:60
#8  0x00007fc95b98cedc in PermanentUrlStatisticsProvider::PermanentUrlStatisticsProvider (this=0x7fc910009580, permanentUrl=...) at ../../src/core-impl/statistics/providers/url/PermanentUrlStatisticsProvider.cpp:38
#9  0x00007fc95b9740b8 in MetaFile::Track::Track (this=0x7fc9100026b0, url=...) at ../../src/core-impl/meta/file/File.cpp:190
#10 0x00007fc95b9e3781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#11 0x00007fc95b9897fc in MetaProxy::Worker::run (this=0x210fa10) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#12 0x00007fc956f2af9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fc93642cd70, th=th@entry=0x20e3020, job=job@entry=0x210fa10) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0x00007fc956f2b111 in ThreadWeaver::Job::execute (this=0x210fa10, th=0x20e3020) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0x00007fc956f2a76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fc93642cdc0, parent=0x21380d0, th=th@entry=0x20e3020) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0x00007fc956f2a82b in ThreadWeaver::Thread::run (this=0x20e3020) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00007fc959cd0aec in QThreadPrivate::start (arg=0x20e3020) at thread/qthread_unix.cpp:338
#17 0x00007fc9559b5e9a in start_thread (arg=0x7fc93642d700) at pthread_create.c:308
#18 0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc923fff700 (LWP 2007)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007fc959ccf594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1e4cc80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x1e4cc80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007fc959ccb8dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fc93aa5c690 in lockInline (this=0x1e36f20) at /usr/include/qt4/QtCore/qmutex.h:188
#5  QMutexLocker (m=0x1e36f20, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#6  MySqlStorage::escape (this=0x1e36f10, text=...) at ../../../../../../../src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:213
#7  0x00007fc95b9e7ceb in SqlStorageWrapper::escape (this=<optimized out>, text=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:60
#8  0x00007fc95b98cedc in PermanentUrlStatisticsProvider::PermanentUrlStatisticsProvider (this=0x7fc9140138a0, permanentUrl=...) at ../../src/core-impl/statistics/providers/url/PermanentUrlStatisticsProvider.cpp:38
#9  0x00007fc95b9740b8 in MetaFile::Track::Track (this=0x7fc914006010, url=...) at ../../src/core-impl/meta/file/File.cpp:190
#10 0x00007fc95b9e3781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#11 0x00007fc95b9897fc in MetaProxy::Worker::run (this=0x2117bb0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#12 0x00007fc956f2af9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fc923ffed70, th=th@entry=0x20e2b40, job=job@entry=0x2117bb0) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0x00007fc956f2b111 in ThreadWeaver::Job::execute (this=0x2117bb0, th=0x20e2b40) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0x00007fc956f2a76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fc923ffedc0, parent=0x21380d0, th=th@entry=0x20e2b40) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0x00007fc956f2a82b in ThreadWeaver::Thread::run (this=0x20e2b40) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00007fc959cd0aec in QThreadPrivate::start (arg=0x20e2b40) at thread/qthread_unix.cpp:338
#17 0x00007fc9559b5e9a in start_thread (arg=0x7fc923fff700) at pthread_create.c:308
#18 0x00007fc959470cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc95c9f17c0 (LWP 1957)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132
#1  0x00007fc9559b809b in _L_lock_1006 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fc9559b801c in __pthread_mutex_lock (mutex=0x1e949e0) at pthread_mutex_lock.c:101
#3  0x00007fc93ac5368c in _mi_report_crashed () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007fc93ac7a02c in mi_lock_database () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007fc93abe392a in handler::ha_external_lock(THD*, int) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#6  0x00007fc93aadfda3 in mysql_unlock_tables(THD*, st_mysql_lock*) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#7  0x00007fc93ab795b2 in close_thread_tables(THD*) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#8  0x00007fc93ab890e6 in mysql_execute_command(THD*) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#9  0x00007fc93ab8c2f9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#10 0x00007fc93ab8cf01 in dispatch_command(enum_server_command, THD*, char*, unsigned int) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#11 0x00007fc93aab0edf in emb_advanced_command () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#12 0x00007fc93aa6499d in mysql_send_query () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#13 0x00007fc93aa649b9 in mysql_real_query () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#14 0x00007fc93aa5e60e in MySqlStorage::query (this=0x1e36f10, statement=...) at ../../../../../../../src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:125
#15 0x00007fc95b9e7d2b in SqlStorageWrapper::query (this=this@entry=0x1e076a0, query=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:61
#16 0x00007fc95bae0b28 in BookmarkModel::checkTables (this=this@entry=0x211ee30) at ../../src/amarokurls/BookmarkModel.cpp:485
#17 0x00007fc95bae0e83 in BookmarkModel::BookmarkModel (this=0x211ee30) at ../../src/amarokurls/BookmarkModel.cpp:52
#18 0x00007fc95bae10b5 in BookmarkModel::instance () at ../../src/amarokurls/BookmarkModel.cpp:43
#19 0x00007fc95bac85f1 in AmarokUrlHandler::AmarokUrlHandler (this=0x211ede0) at ../../src/amarokurls/AmarokUrlHandler.cpp:56
#20 0x00007fc95bac8835 in The::amarokUrlHandler () at ../../src/amarokurls/AmarokUrlHandler.cpp:41
#21 0x00007fc95bb2d6d1 in MainWindow::createActions (this=this@entry=0x1dd4e90) at ../../src/MainWindow.cpp:753
#22 0x00007fc95bb37154 in MainWindow::MainWindow (this=0x1dd4e90) at ../../src/MainWindow.cpp:143
#23 0x00007fc95bb120f8 in App::continueInit (this=this@entry=0x7fff03397730) at ../../src/App.cpp:545
#24 0x00007fc95bb13867 in App::App (this=0x7fff03397730) at ../../src/App.cpp:184
#25 0x0000000000408ddd in main (argc=1, argv=0x7fff03397898) at ../../src/main.cpp:304

Possible duplicates by query: bug 311583, bug 307184, bug 305348.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2013-01-13 12:18:40 UTC
This is already solved in the upcoming Amarok 2.7. You can already try Amarok 2.6.90 aka 2.7. beta, Amarok 2.7 final should be released any day now.

*** This bug has been marked as a duplicate of bug 230991 ***
Comment 2 Daniel Koch 2013-05-15 14:47:40 UTC
Created attachment 79900 [details]
New crash information added by DrKonqi

amarok (2.6.0) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

I noticed the same problem. It happens when i run amarok after boot

-- Backtrace (Reduced):
#6  same_key (key0=..., h0=184507604, this=0x7f9) at /usr/include/qt4/QtCore/qhash.h:225
#7  QHash<QString, KSharedPtr<Meta::Track> >::findNode (this=this@entry=0x1f8f428, akey=..., ahp=ahp@entry=0x7f1aba4f8acc) at /usr/include/qt4/QtCore/qhash.h:887
#8  0x00007f1ac4fd2466 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x1f8f428, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:759
#9  0x00007f1ac4fc9f44 in SqlRegistry::getTrack (this=0x1f8f410, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173
#10 0x00007f1ac4fb1beb in Collections::SqlCollection::trackForUrl (this=0x1f8bf00, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423