Bug 311289 - Amarok sometimes crashes on start-up
Summary: Amarok sometimes crashes on start-up
Status: RESOLVED DUPLICATE of bug 230991
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 07:39 UTC by Dave Jeffery
Modified: 2012-12-07 18:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Jeffery 2012-12-07 07:39:17 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.3
Qt Version: 4.8.4
Operating System: Linux 3.6.9-4.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: Start up my computer and log in. About 50% of the time Amarok crashes, 50% of the time it doesn't.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135	2:	movl	%edx, %eax
[Current thread is 1 (Thread 0x7f75425d6880 (LWP 1371))]

Thread 6 (Thread 0x7f7530d65700 (LWP 1396)):
#0  0x00000032914e97ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003d50831d5f in poll_func () from /lib64/libpulse.so.0
#2  0x0000003d508232bc in pa_mainloop_poll () from /lib64/libpulse.so.0
#3  0x0000003d50823919 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4  0x0000003d508239d0 in pa_mainloop_run () from /lib64/libpulse.so.0
#5  0x0000003d50831d0f in thread () from /lib64/libpulse.so.0
#6  0x0000003d50c42c73 in internal_thread_func () from /usr/lib64/pulseaudio/libpulsecommon-2.1.so
#7  0x0000003291807d15 in start_thread (arg=0x7f7530d65700) at pthread_create.c:308
#8  0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 5 (Thread 0x7f752a627700 (LWP 1398)):
#0  0x00000032914e97ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003291047d44 in g_main_context_poll (n_fds=1, fds=0x7f751c001c30, timeout=-1, context=0x7f751c0009e0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f751c0009e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003291047e64 in g_main_context_iteration (context=0x7f751c0009e0, may_block=1) at gmain.c:3351
#4  0x00000032765a60f6 in QEventDispatcherGlib::processEvents (this=0x7f751c000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000032765767df in QEventLoop::processEvents (this=this@entry=0x7f752a626cd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003276576a68 in QEventLoop::exec (this=0x7f752a626cd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003276478950 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x000000327655700f in QInotifyFileSystemWatcherEngine::run (this=0x24be050) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x000000327647b92c in QThreadPrivate::start (arg=0x24be050) at thread/qthread_unix.cpp:338
#10 0x0000003291807d15 in start_thread (arg=0x7f752a627700) at pthread_create.c:308
#11 0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f752880c700 (LWP 1401)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000327647be8b in wait (time=18446744073709551615, this=0x2579b30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2579c70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000327f40aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25799e0, th=0x257a080) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000327f40d31b in ThreadWeaver::WorkingHardState::applyForWork (this=0x257a950, th=0x257a080) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000327f40c18f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f752880bd00, parent=0x25799e0, th=th@entry=0x257a080) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#6  0x000000327f40c21b in ThreadWeaver::Thread::run (this=0x257a080) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#7  0x000000327647b92c in QThreadPrivate::start (arg=0x257a080) at thread/qthread_unix.cpp:338
#8  0x0000003291807d15 in start_thread (arg=0x7f752880c700) at pthread_create.c:308
#9  0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f752375f700 (LWP 1402)):
[KCrash Handler]
#6  ref (this=0x7f750000000a) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  KSharedPtr (this=0x7f7518005a98, o=...) at /usr/include/kde4/ksharedptr.h:84
#8  QHashNode (value0=..., key0=..., this=0x7f7518005a80) at /usr/include/QtCore/qhash.h:224
#9  QHash<QString, KSharedPtr<Meta::Track> >::duplicateNode (node=0x7f750c011c30, newNode=0x7f7518005a80) at /usr/include/QtCore/qhash.h:532
#10 0x00000032764976b7 in QHashData::detach_helper2 (this=0x7f750c0059e0, node_duplicate=0x7f752b7728c0 <QHash<QString, KSharedPtr<Meta::Track> >::duplicateNode(QHashData::Node*, void*)>, node_delete=0x7f752b772b70 <QHash<QString, KSharedPtr<Meta::Track> >::deleteNode2(QHashData::Node*)>, nodeSize=<optimized out>, nodeAlign=8) at tools/qhash.cpp:239
#11 0x00007f752b775082 in QHash<QString, KSharedPtr<Meta::Track> >::detach_helper (this=this@entry=0x2469858) at /usr/include/QtCore/qhash.h:584
#12 0x00007f752b775176 in detach (this=this@entry=0x2469858) at /usr/include/QtCore/qhash.h:303
#13 QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x2469858, akey=..., avalue=...) at /usr/include/QtCore/qhash.h:756
#14 0x00007f752b76cc64 in SqlRegistry::getTrack (this=0x2469840, path=...) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/db/sql/SqlRegistry.cpp:173
#15 0x00007f752b75490b in Collections::SqlCollection::trackForUrl (this=0x2469970, url=...) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/db/sql/SqlCollection.cpp:423
#16 0x000000387d829771 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/support/CollectionManager.cpp:457
#17 0x000000387d7cf6bc in MetaProxy::Worker::run (this=0x257a910) at /usr/src/debug/amarok-2.6.0/src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#18 0x000000327f40c98a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f752375ecb0, th=th@entry=0x257f7e0, job=job@entry=0x257a910) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Job.cpp:106
#19 0x000000327f40cb01 in ThreadWeaver::Job::execute (this=0x257a910, th=0x257f7e0) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Job.cpp:135
#20 0x000000327f40c15f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f752375ed00, parent=0x25799e0, th=th@entry=0x257f7e0) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:95
#21 0x000000327f40c21b in ThreadWeaver::Thread::run (this=0x257f7e0) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#22 0x000000327647b92c in QThreadPrivate::start (arg=0x257f7e0) at thread/qthread_unix.cpp:338
#23 0x0000003291807d15 in start_thread (arg=0x7f752375f700) at pthread_create.c:308
#24 0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f7522f5e700 (LWP 1403)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000327647be8b in wait (time=18446744073709551615, this=0x2579b30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2579c70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000327f40aad1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25799e0, th=0x2580300) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000327f40d31b in ThreadWeaver::WorkingHardState::applyForWork (this=0x257a950, th=0x2580300) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000327f40c18f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f7522f5dd00, parent=0x25799e0, th=th@entry=0x2580300) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:87
#6  0x000000327f40c21b in ThreadWeaver::Thread::run (this=0x2580300) at /usr/src/debug/kdelibs-4.9.3/threadweaver/Weaver/Thread.cpp:142
#7  0x000000327647b92c in QThreadPrivate::start (arg=0x2580300) at thread/qthread_unix.cpp:338
#8  0x0000003291807d15 in start_thread (arg=0x7f7522f5e700) at pthread_create.c:308
#9  0x00000032914f22cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f75425d6880 (LWP 1371)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x0000003291809cdc in _L_lock_1024 () from /lib64/libpthread.so.0
#2  0x0000003291809c85 in __GI___pthread_mutex_lock (mutex=0x247ea80) at pthread_mutex_lock.c:104
#3  0x00007f752adc67bc in inline_mysql_mutex_lock (src_line=622, that=0x247ea80, src_file=<optimized out>) at /usr/src/debug/mysql-5.5.28/include/mysql/psi/mysql_thread.h:617
#4  _mi_report_crashed (file=file@entry=0x247ecd0, message=message@entry=0x0, sfile=sfile@entry=0x7f752b2cacb8 "/builddir/build/BUILD/mysql-5.5.28/storage/myisam/mi_locking.c", sline=sline@entry=116) at /usr/src/debug/mysql-5.5.28/storage/myisam/ha_myisam.cc:622
#5  0x00007f752aecf25c in mi_lock_database (info=0x247ecd0, lock_type=<optimized out>) at /usr/src/debug/mysql-5.5.28/storage/myisam/mi_locking.c:116
#6  0x00007f752adde273 in handler::ha_external_lock (this=0x24691a0, thd=<optimized out>, lock_type=2) at /usr/src/debug/mysql-5.5.28/sql/handler.cc:5095
#7  0x00007f752ae7ec13 in unlock_external (thd=thd@entry=0x2470200, table=0x264c738, count=<optimized out>) at /usr/src/debug/mysql-5.5.28/sql/lock.cc:643
#8  0x00007f752ae7ec7d in mysql_unlock_tables (thd=0x2470200, sql_lock=0x264c710) at /usr/src/debug/mysql-5.5.28/sql/lock.cc:386
#9  0x00007f752af96cd2 in close_thread_tables (thd=0x2470200) at /usr/src/debug/mysql-5.5.28/sql/sql_base.cc:1557
#10 0x00007f752afce4de in mysql_execute_command (thd=thd@entry=0x2470200) at /usr/src/debug/mysql-5.5.28/sql/sql_parse.cc:4493
#11 0x00007f752afd1637 in mysql_parse (parser_state=0x7fffa7ed84b0, thd=0x2470200, rawbuf=<optimized out>, length=<optimized out>) at /usr/src/debug/mysql-5.5.28/sql/sql_parse.cc:5627
#12 mysql_parse (thd=0x2470200, rawbuf=<optimized out>, length=65, parser_state=0x7fffa7ed84b0) at /usr/src/debug/mysql-5.5.28/sql/sql_parse.cc:5551
#13 0x00007f752afd2392 in dispatch_command (command=COM_QUERY, thd=0x2470200, packet=0x26694a8 "INSERT INTO admin(component,version) VALUES('AMAROK_BOOKMARKS',4);", packet_length=<optimized out>) at /usr/src/debug/mysql-5.5.28/sql/sql_parse.cc:1037
#14 0x00007f752ae773af in emb_advanced_command (mysql=0x24651e0, command=COM_QUERY, header=0x0, header_length=0, arg=0x26694a8 "INSERT INTO admin(component,version) VALUES('AMAROK_BOOKMARKS',4);", arg_length=66, skip_check=1 '\001', stmt=0x0) at /usr/src/debug/mysql-5.5.28/libmysqld/lib_sql.cc:156
#15 0x00007f752ad3e8dd in mysql_send_query (mysql=mysql@entry=0x24651e0, query=<optimized out>, length=<optimized out>) at /usr/src/debug/mysql-5.5.28/sql-common/client.c:3903
#16 0x00007f752ad3e8f9 in mysql_real_query (mysql=0x24651e0, query=<optimized out>, length=<optimized out>) at /usr/src/debug/mysql-5.5.28/sql-common/client.c:3914
#17 0x00007f752b9ceae9 in MySqlStorage::query (this=0x1e81390, statement=...) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:125
#18 0x000000387d82dcdb in SqlStorageWrapper::query (this=this@entry=0x23e82f0, query=...) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/support/CollectionManager.cpp:61
#19 0x000000387d9267a8 in BookmarkModel::checkTables (this=this@entry=0x1df90e0) at /usr/src/debug/amarok-2.6.0/src/amarokurls/BookmarkModel.cpp:485
#20 0x000000387d926b03 in BookmarkModel::BookmarkModel (this=0x1df90e0) at /usr/src/debug/amarok-2.6.0/src/amarokurls/BookmarkModel.cpp:52
#21 0x000000387d926d35 in BookmarkModel::instance () at /usr/src/debug/amarok-2.6.0/src/amarokurls/BookmarkModel.cpp:43
#22 0x000000387d90e411 in AmarokUrlHandler::AmarokUrlHandler (this=0x2647100) at /usr/src/debug/amarok-2.6.0/src/amarokurls/AmarokUrlHandler.cpp:56
#23 0x000000387d90e655 in The::amarokUrlHandler () at /usr/src/debug/amarok-2.6.0/src/amarokurls/AmarokUrlHandler.cpp:41
#24 0x000000387d973921 in MainWindow::createActions (this=this@entry=0x23f7910) at /usr/src/debug/amarok-2.6.0/src/MainWindow.cpp:753
#25 0x000000387d97d3a4 in MainWindow::MainWindow (this=0x23f7910) at /usr/src/debug/amarok-2.6.0/src/MainWindow.cpp:143
#26 0x000000387d958348 in App::continueInit (this=this@entry=0x7fffa7edbe60) at /usr/src/debug/amarok-2.6.0/src/App.cpp:545
#27 0x000000387d959ab7 in App::App (this=0x7fffa7edbe60) at /usr/src/debug/amarok-2.6.0/src/App.cpp:184
#28 0x0000000000408e4d in main (argc=3, argv=0x7fffa7edbfc8) at /usr/src/debug/amarok-2.6.0/src/main.cpp:304

Possible duplicates by query: bug 311231, bug 310934, bug 310607, bug 310439, bug 309705.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-12-07 18:56:52 UTC

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