Bug 315672

Summary: Amarok crash on system boot
Product: [Applications] amarok Reporter: eddie_strantor
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 2.6.0   
Target Milestone: 2.8   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description eddie_strantor 2013-02-23 09:12:59 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-24-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Just booting the system. Amarok is configured to autostart and continue playing

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f51cd47f780 (LWP 1873))]

Thread 7 (Thread 0x7f51ab851700 (LWP 1952)):
#0  0x00007f51c9dce8c1 in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f51c486715f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f51c482a914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f51c482ad22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f51c482aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f51ca766c16 in QEventDispatcherGlib::processEvents (this=0x7f51a00025f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f51ca7372bf in QEventLoop::processEvents (this=this@entry=0x7f51ab850dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f51ca737548 in QEventLoop::exec (this=0x7f51ab850dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f51ca638b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f51ca7179af in QInotifyFileSystemWatcherEngine::run (this=0x171fc10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f51ca63baec in QThreadPrivate::start (arg=0x171fc10) at thread/qthread_unix.cpp:338
#11 0x00007f51c6320e9a in start_thread (arg=0x7f51ab851700) at pthread_create.c:308
#12 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f51a4c70700 (LWP 2125)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f51ca63a594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x10795f0, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x10795f0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f51ca6368dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f51cabd5dd5 in lockInline (this=0x10795d8) at /usr/include/qt4/QtCore/qmutex.h:188
#5  QMutexLocker (m=0x10795d8, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#6  KStandardDirs::KStandardDirsPrivate::resourceDirs (this=0x1079590, type=type@entry=0x7f51cacc9cb9 "xdgdata-mime", subdirForRestrictions=...) at ../../kdecore/kernel/kstandarddirs.cpp:1078
#7  0x00007f51cabd82f0 in KStandardDirs::findAllResources (this=0x1078f40, type=0x7f51cacc9cb9 "xdgdata-mime", filter=..., options=..., relList=...) at ../../kdecore/kernel/kstandarddirs.cpp:882
#8  0x00007f51cabd850e in KStandardDirs::findAllResources (this=<optimized out>, type=<optimized out>, filter=..., options=...) at ../../kdecore/kernel/kstandarddirs.cpp:907
#9  0x00007f51cabef833 in KMimeTypeRepository::checkMimeTypes (this=this@entry=0x7f519439d140) at ../../kdecore/services/kmimetyperepository.cpp:80
#10 0x00007f51cabefaa2 in KMimeTypeRepository::checkEssentialMimeTypes (this=0x7f519439d140) at ../../kdecore/services/kmimetyperepository.cpp:625
#11 0x00007f51cabe8f53 in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f51a4c6fb60, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:184
#12 0x00007f51cabe9fc3 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at ../../kdecore/services/kmimetype.cpp:323
#13 0x00007f51cabea3c7 in KMimeType::findByPath (path=..., mode=0, fast_mode=<optimized out>, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:333
#14 0x00007f51cc2dd518 in MetaFile::Track::isTrack(KUrl const&) () from /usr/lib/libamaroklib.so.1
#15 0x00007f51cc34e746 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib/libamaroklib.so.1
#16 0x00007f51cc2f47fc in ?? () from /usr/lib/libamaroklib.so.1
#17 0x00007f51c7895f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f51a4c6fdb0, th=th@entry=0x1d91ed0, job=job@entry=0x2f90790) at ../../../threadweaver/Weaver/Job.cpp:106
#18 0x00007f51c7896111 in ThreadWeaver::Job::execute (this=0x2f90790, th=0x1d91ed0) at ../../../threadweaver/Weaver/Job.cpp:135
#19 0x00007f51c789576f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f51a4c6fe00, parent=0x2b4d7a0, th=th@entry=0x1d91ed0) at ../../../threadweaver/Weaver/Thread.cpp:95
#20 0x00007f51c789582b in ThreadWeaver::Thread::run (this=0x1d91ed0) at ../../../threadweaver/Weaver/Thread.cpp:142
#21 0x00007f51ca63baec in QThreadPrivate::start (arg=0x1d91ed0) at thread/qthread_unix.cpp:338
#22 0x00007f51c6320e9a in start_thread (arg=0x7f51a4c70700) at pthread_create.c:308
#23 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f519ffff700 (LWP 2126)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f51ca63c04b in wait (time=18446744073709551615, this=0x7f519439dda0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f519439c320, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f51ca636ba6 in QReadWriteLock::lockForWrite (this=0x7f519439d190) at thread/qreadwritelock.cpp:293
#4  0x00007f51cabefef8 in relock (this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:155
#5  QWriteLocker (areadWriteLock=0x7f519439d190, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:175
#6  KMimeTypeRepository::checkEssentialMimeTypes (this=0x7f519439d140) at ../../kdecore/services/kmimetyperepository.cpp:617
#7  0x00007f51cabe8f53 in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f519fffeb60, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:184
#8  0x00007f51cabe9fc3 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at ../../kdecore/services/kmimetype.cpp:323
#9  0x00007f51cabea3c7 in KMimeType::findByPath (path=..., mode=0, fast_mode=<optimized out>, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:333
#10 0x00007f51cc2dd518 in MetaFile::Track::isTrack(KUrl const&) () from /usr/lib/libamaroklib.so.1
#11 0x00007f51cc34e746 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007f51cc2f47fc in ?? () from /usr/lib/libamaroklib.so.1
#13 0x00007f51c7895f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f519fffedb0, th=th@entry=0x1f5ff00, job=job@entry=0x2f92e10) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f51c7896111 in ThreadWeaver::Job::execute (this=0x2f92e10, th=0x1f5ff00) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f51c789576f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f519fffee00, parent=0x2b4d7a0, th=th@entry=0x1f5ff00) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007f51c789582b in ThreadWeaver::Thread::run (this=0x1f5ff00) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f51ca63baec in QThreadPrivate::start (arg=0x1f5ff00) at thread/qthread_unix.cpp:338
#18 0x00007f51c6320e9a in start_thread (arg=0x7f519ffff700) at pthread_create.c:308
#19 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f519f7fe700 (LWP 2127)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f51ca63c04b in wait (time=18446744073709551615, this=0x7f519439dda0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f519439c320, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f51ca636ba6 in QReadWriteLock::lockForWrite (this=0x7f519439d190) at thread/qreadwritelock.cpp:293
#4  0x00007f51cabefef8 in relock (this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:155
#5  QWriteLocker (areadWriteLock=0x7f519439d190, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:175
#6  KMimeTypeRepository::checkEssentialMimeTypes (this=0x7f519439d140) at ../../kdecore/services/kmimetyperepository.cpp:617
#7  0x00007f51cabe8f53 in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f519f7fdb60, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:184
#8  0x00007f51cabe9fc3 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at ../../kdecore/services/kmimetype.cpp:323
#9  0x00007f51cabea3c7 in KMimeType::findByPath (path=..., mode=0, fast_mode=<optimized out>, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:333
#10 0x00007f51cc2dd518 in MetaFile::Track::isTrack(KUrl const&) () from /usr/lib/libamaroklib.so.1
#11 0x00007f51cc34e746 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007f51cc2f47fc in ?? () from /usr/lib/libamaroklib.so.1
#13 0x00007f51c7895f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f519f7fddb0, th=th@entry=0x20eafb0, job=job@entry=0x2f94990) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f51c7896111 in ThreadWeaver::Job::execute (this=0x2f94990, th=0x20eafb0) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f51c789576f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f519f7fde00, parent=0x2b4d7a0, th=th@entry=0x20eafb0) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007f51c789582b in ThreadWeaver::Thread::run (this=0x20eafb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f51ca63baec in QThreadPrivate::start (arg=0x20eafb0) at thread/qthread_unix.cpp:338
#18 0x00007f51c6320e9a in start_thread (arg=0x7f519f7fe700) at pthread_create.c:308
#19 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f519effd700 (LWP 2128)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f51ca63c04b in wait (time=18446744073709551615, this=0x7f519439dda0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f519439c320, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f51ca636ba6 in QReadWriteLock::lockForWrite (this=0x7f519439d190) at thread/qreadwritelock.cpp:293
#4  0x00007f51cabefef8 in relock (this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:155
#5  QWriteLocker (areadWriteLock=0x7f519439d190, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qreadwritelock.h:175
#6  KMimeTypeRepository::checkEssentialMimeTypes (this=0x7f519439d140) at ../../kdecore/services/kmimetyperepository.cpp:617
#7  0x00007f51cabe8f53 in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f519effcb60, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:184
#8  0x00007f51cabe9fc3 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at ../../kdecore/services/kmimetype.cpp:323
#9  0x00007f51cabea3c7 in KMimeType::findByPath (path=..., mode=0, fast_mode=<optimized out>, accuracy=0x0) at ../../kdecore/services/kmimetype.cpp:333
#10 0x00007f51cc2dd518 in MetaFile::Track::isTrack(KUrl const&) () from /usr/lib/libamaroklib.so.1
#11 0x00007f51cc34e746 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007f51cc2f47fc in ?? () from /usr/lib/libamaroklib.so.1
#13 0x00007f51c7895f9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f519effcdb0, th=th@entry=0x2275ba0, job=job@entry=0x2f94410) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f51c7896111 in ThreadWeaver::Job::execute (this=0x2f94410, th=0x2275ba0) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f51c789576f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f519effce00, parent=0x2b4d7a0, th=th@entry=0x2275ba0) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007f51c789582b in ThreadWeaver::Thread::run (this=0x2275ba0) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f51ca63baec in QThreadPrivate::start (arg=0x2275ba0) at thread/qthread_unix.cpp:338
#18 0x00007f51c6320e9a in start_thread (arg=0x7f519effd700) at pthread_create.c:308
#19 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f519e36e700 (LWP 2129)):
#0  0x00007f51c9dd0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f51c482ad84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f51c482aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f51ca766c16 in QEventDispatcherGlib::processEvents (this=0x7f518c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f51ca7372bf in QEventLoop::processEvents (this=this@entry=0x7f519e36ddd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f51ca737548 in QEventLoop::exec (this=0x7f519e36ddd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f51ca638b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f51ca7179af in QInotifyFileSystemWatcherEngine::run (this=0x2a4d340) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f51ca63baec in QThreadPrivate::start (arg=0x2a4d340) at thread/qthread_unix.cpp:338
#9  0x00007f51c6320e9a in start_thread (arg=0x7f519e36e700) at pthread_create.c:308
#10 0x00007f51c9ddbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f51cd47f780 (LWP 1873)):
[KCrash Handler]
#6  0x00007f51c9d1e425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f51c9d21b8b in __GI_abort () at abort.c:91
#8  0x00007f51c9d5c39e in __libc_message (do_abort=2, fmt=0x7f51c9e66028 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f51c9d66b96 in malloc_printerr (action=3, str=0x7f51c9e6294b "invalid fastbin entry (free)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f51cabd5d57 in ~QByteArray (this=0x7fff34dff520, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#11 KStandardDirs::KStandardDirsPrivate::resourceDirs (this=0x1079590, type=<optimized out>, type@entry=0x7f51cacc7d37 "config", subdirForRestrictions=...) at ../../kdecore/kernel/kstandarddirs.cpp:1083
#12 0x00007f51cabd82f0 in KStandardDirs::findAllResources (this=0x1078f40, type=0x7f51cacc7d37 "config", filter=..., options=..., relList=...) at ../../kdecore/kernel/kstandarddirs.cpp:882
#13 0x00007f51cabd850e in KStandardDirs::findAllResources (this=<optimized out>, type=<optimized out>, filter=..., options=...) at ../../kdecore/kernel/kstandarddirs.cpp:907
#14 0x00007f51cab2d099 in KConfigPrivate::getGlobalFiles (this=this@entry=0x1079ac0) at ../../kdecore/config/kconfig.cpp:599
#15 0x00007f51cab2d39e in KConfigPrivate::parseGlobalFiles (this=this@entry=0x1079ac0) at ../../kdecore/config/kconfig.cpp:610
#16 0x00007f51cab2dc6c in KConfig::reparseConfiguration (this=<optimized out>) at ../../kdecore/config/kconfig.cpp:589
#17 0x00007f51cab45336 in KCoreConfigSkeleton::readConfig (this=0x16bb610) at ../../kdecore/config/kcoreconfigskeleton.cpp:1065
#18 0x00007f51cab48374 in KCoreConfigSkeleton::writeConfig (this=0x16bb610) at ../../kdecore/config/kcoreconfigskeleton.cpp:1086
#19 0x00007f51cc496594 in MainWindow::setLayoutLocked(bool) () from /usr/lib/libamaroklib.so.1
#20 0x00007f51cc4a003b in MainWindow::init() () from /usr/lib/libamaroklib.so.1
#21 0x00007f51cc4a2251 in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#22 0x00007f51cc47d0f8 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#23 0x00007f51cc47e867 in App::App() () from /usr/lib/libamaroklib.so.1
#24 0x0000000000408ddd in ?? ()
#25 0x00007f51c9d0976d in __libc_start_main (main=0x402290, argc=3, ubp_av=0x7fff34e02928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff34e02918) at libc-start.c:226
#26 0x000000000040b805 in _start ()

This bug may be a duplicate of or related to bug 308447.

Possible duplicates by query: bug 314531, bug 314055, bug 313037, bug 311589, bug 309216.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2013-02-23 09:43:47 UTC
Please upgrade to Amarok 2.7 and install the debugging symbols (amarok-dbg package) the above backtrace is not useful. See also http://kubuntu.org/news/amarok-27
Comment 2 eddie_strantor 2013-02-23 10:12:50 UTC
Upgrading will take some time since my internet connection is slow (1Mbps). Thanks
Comment 3 eddie_strantor 2013-02-24 11:05:41 UTC
System is upgraded and amarok -dbg package is installed. Is there any way to redo the backtrace or do I have to wait for a new crash?
Comment 4 Myriam Schweingruber 2013-02-24 11:40:19 UTC
Well, if you can't reproduce the bug then it is unlikely to be something we can really solve. I close this for now, as any other crash might not be related at all. Feel free to reopen a new one if the duplicate check on the next craash doesn't show any duplicates.
Comment 5 eddie_strantor 2013-02-24 11:52:19 UTC
Ok, this crash is pretty random so maybe I don't see it again in a long time. If it shows again I'll reopen this. Thanks
Comment 6 Myriam Schweingruber 2013-02-24 16:12:05 UTC
Why did you reopen it? It is apparently not reproducible, so there is no point in keeping that open.
Comment 7 eddie_strantor 2013-02-24 17:41:49 UTC
I did not reopened it. As I say on my last comment, I'll reopen it if it shows again