Bug 315270

Summary: Amarok crash on startup
Product: [Applications] amarok Reporter: Carlos Correia <carlos>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
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 Carlos Correia 2013-02-16 13:16:25 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Starting amarok on session startup (autostart). It does not crash allways, though.

-- 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 0x7f2a4ec7b780 (LWP 32464))]

Thread 8 (Thread 0x7f2a2d233700 (LWP 372)):
#0  0x00007f2a4b5d7303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2a4389db6f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f2a4388f0b5 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f2a4388f719 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f2a4388f7d0 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f2a4389db1f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f2a3ef6f543 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so
#7  0x00007f2a47b27e9a in start_thread (arg=0x7f2a2d233700) at pthread_create.c:308
#8  0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2a1fbb4700 (LWP 392)):
#0  0x00007f2a4b5d7303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2a46031d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2a46031ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2a4bf6dc16 in QEventDispatcherGlib::processEvents (this=0x7f2a18000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2a4bf3e2bf in QEventLoop::processEvents (this=this@entry=0x7f2a1fbb3dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2a4bf3e548 in QEventLoop::exec (this=0x7f2a1fbb3dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2a4be3fb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2a4bf1e9af in QInotifyFileSystemWatcherEngine::run (this=0x20187a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2a4be42aec in QThreadPrivate::start (arg=0x20187a0) at thread/qthread_unix.cpp:338
#9  0x00007f2a47b27e9a in start_thread (arg=0x7f2a1fbb4700) at pthread_create.c:308
#10 0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2a1d9ff700 (LWP 393)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f2a4be41594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x16d6670, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x16d6670, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f2a4be3d7a5 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f2a4dac472b in lockInline (this=0x7f2a4e1dbc20 <Meta::Tag::s_mutex>) at /usr/include/qt4/QtCore/qmutex.h:190
#5  QMutexLocker (m=0x7f2a4e1dbc20 <Meta::Tag::s_mutex>, this=0x7f2a1d9fe4c0) at /usr/include/qt4/QtCore/qmutex.h:109
#6  Meta::Tag::readTags (path=...) at ../../shared/MetaTagLib.cpp:213
#7  0x00007f2a4dae47ab in MetaFile::Track::Private::readMetaData (this=0x7f2a101eefe0) at ../../src/core-impl/meta/file/File_p.h:153
#8  0x00007f2a4dae60dc in MetaFile::Track::Track (this=0x7f2a101ecb00, url=...) at ../../src/core-impl/meta/file/File.cpp:191
#9  0x00007f2a4db55781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#10 0x00007f2a4dafb7fc in MetaProxy::Worker::run (this=0x4e3ff40) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#11 0x00007f2a4909cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2a1d9fedb0, th=th@entry=0x1f67c30, job=job@entry=0x4e3ff40) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x00007f2a4909d111 in ThreadWeaver::Job::execute (this=0x4e3ff40, th=0x1f67c30) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x00007f2a4909c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2a1d9fee00, parent=0x1f7b830, th=th@entry=0x1f67c30) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f2a4909c82b in ThreadWeaver::Thread::run (this=0x1f67c30) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f2a4be42aec in QThreadPrivate::start (arg=0x1f67c30) at thread/qthread_unix.cpp:338
#16 0x00007f2a47b27e9a in start_thread (arg=0x7f2a1d9ff700) at pthread_create.c:308
#17 0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2a1cbe5700 (LWP 395)):
[KCrash Handler]
#6  QHashData::rehash (this=0x7f2a080055d0, hint=<optimized out>) at tools/qhash.cpp:375
#7  0x00007f2a26a40e70 in QHashData::willGrow (this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:163
#8  0x00007f2a26a6ff80 in QHash<QString, KSharedPtr<Meta::Track> >::insert (this=this@entry=0x1fda888, akey=..., avalue=...) at /usr/include/qt4/QtCore/qhash.h:761
#9  0x00007f2a26a679d4 in SqlRegistry::getTrack (this=0x1fda870, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:173
#10 0x00007f2a26a4f67b in Collections::SqlCollection::trackForUrl (this=0x1f9dc70, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423
#11 0x00007f2a4db557a1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457
#12 0x00007f2a4dafb7fc in MetaProxy::Worker::run (this=0x4c771b0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#13 0x00007f2a4909cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2a1cbe4db0, th=th@entry=0x211eab0, job=job@entry=0x4c771b0) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f2a4909d111 in ThreadWeaver::Job::execute (this=0x4c771b0, th=0x211eab0) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f2a4909c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2a1cbe4e00, parent=0x1f7b830, th=th@entry=0x211eab0) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007f2a4909c82b in ThreadWeaver::Thread::run (this=0x211eab0) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f2a4be42aec in QThreadPrivate::start (arg=0x211eab0) at thread/qthread_unix.cpp:338
#18 0x00007f2a47b27e9a in start_thread (arg=0x7f2a1cbe5700) at pthread_create.c:308
#19 0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2a17fff700 (LWP 396)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f2a4be41594 in _q_futex (timeout=0x0, val=2, op=0, addr=0x16d6670, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x16d6670, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f2a4be3d7a5 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f2a4dac472b in lockInline (this=0x7f2a4e1dbc20 <Meta::Tag::s_mutex>) at /usr/include/qt4/QtCore/qmutex.h:190
#5  QMutexLocker (m=0x7f2a4e1dbc20 <Meta::Tag::s_mutex>, this=0x7f2a17ffe4c0) at /usr/include/qt4/QtCore/qmutex.h:109
#6  Meta::Tag::readTags (path=...) at ../../shared/MetaTagLib.cpp:213
#7  0x00007f2a4dae47ab in MetaFile::Track::Private::readMetaData (this=0x7f2a054b9900) at ../../src/core-impl/meta/file/File_p.h:153
#8  0x00007f2a4dae60dc in MetaFile::Track::Track (this=0x7f2a054a88d0, url=...) at ../../src/core-impl/meta/file/File.cpp:191
#9  0x00007f2a4db55781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#10 0x00007f2a4dafb7fc in MetaProxy::Worker::run (this=0x4e404c0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#11 0x00007f2a4909cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2a17ffedb0, th=th@entry=0x21cdcc0, job=job@entry=0x4e404c0) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x00007f2a4909d111 in ThreadWeaver::Job::execute (this=0x4e404c0, th=0x21cdcc0) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x00007f2a4909c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2a17ffee00, parent=0x1f7b830, th=th@entry=0x21cdcc0) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f2a4909c82b in ThreadWeaver::Thread::run (this=0x21cdcc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f2a4be42aec in QThreadPrivate::start (arg=0x21cdcc0) at thread/qthread_unix.cpp:338
#16 0x00007f2a47b27e9a in start_thread (arg=0x7f2a17fff700) at pthread_create.c:308
#17 0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2a177fe700 (LWP 397)):
#0  0x00007f2a4b5d58bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2a4b569ff8 in _IO_new_file_underflow (fp=0x7f2a094cef50) at fileops.c:619
#2  0x00007f2a4b56a4a0 in _IO_file_xsgetn (fp=0x7f2a094cef50, data=<optimized out>, n=1024) at fileops.c:1458
#3  0x00007f2a4b55e783 in _IO_fread (buf=<optimized out>, size=1, count=1024, fp=0x7f2a094cef50) at iofread.c:44
#4  0x00007f2a4700707f in TagLib::FileStream::readBlock(unsigned long) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#5  0x00007f2a47006861 in TagLib::File::readBlock(unsigned long) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#6  0x00007f2a46fd9107 in TagLib::MPEG::File::findID3v2() () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#7  0x00007f2a46fd941c in TagLib::MPEG::File::read(bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#8  0x00007f2a46fd98ff in TagLib::MPEG::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#9  0x00007f2a4db05505 in Meta::Tag::FileTypeResolver::createFile (this=<optimized out>, fileName=0x7f2a094ce4a8 "/home/carlos/M\303\272sica/Kevin Ayers-John Cale-Eno-Nico/June 1, 1974/09-Brian Eno-Two Goes into Four.mp3", readProperties=<optimized out>, propertiesStyle=TagLib::AudioProperties::Fast) at ../../shared/FileTypeResolver.cpp:61
#10 0x00007f2a4702bcd1 in TagLib::FileRef::create(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#11 0x00007f2a4702cc1f in TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/x86_64-linux-gnu/libtag.so.1
#12 0x00007f2a4dac2977 in Meta::Tag::getFileRef (path=...) at ../../shared/MetaTagLib.cpp:111
#13 0x00007f2a4dac3be8 in Meta::Tag::readTags (path=...) at ../../shared/MetaTagLib.cpp:220
#14 0x00007f2a4dae47ab in MetaFile::Track::Private::readMetaData (this=0x7f2a094cabb0) at ../../src/core-impl/meta/file/File_p.h:153
#15 0x00007f2a4dae60dc in MetaFile::Track::Track (this=0x7f2a094c6ad0, url=...) at ../../src/core-impl/meta/file/File.cpp:191
#16 0x00007f2a4db55781 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:469
#17 0x00007f2a4dafb7fc in MetaProxy::Worker::run (this=0x4e3f9c0) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#18 0x00007f2a4909cf9a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f2a177fddb0, th=th@entry=0x21e9980, job=job@entry=0x4e3f9c0) at ../../../threadweaver/Weaver/Job.cpp:106
#19 0x00007f2a4909d111 in ThreadWeaver::Job::execute (this=0x4e3f9c0, th=0x21e9980) at ../../../threadweaver/Weaver/Job.cpp:135
#20 0x00007f2a4909c76f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f2a177fde00, parent=0x1f7b830, th=th@entry=0x21e9980) at ../../../threadweaver/Weaver/Thread.cpp:95
#21 0x00007f2a4909c82b in ThreadWeaver::Thread::run (this=0x21e9980) at ../../../threadweaver/Weaver/Thread.cpp:142
#22 0x00007f2a4be42aec in QThreadPrivate::start (arg=0x21e9980) at thread/qthread_unix.cpp:338
#23 0x00007f2a47b27e9a in start_thread (arg=0x7f2a177fe700) at pthread_create.c:308
#24 0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2a16ffd700 (LWP 399)):
#0  0x00007f2a4b5dc023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2a4bf1dfe2 in QProcessManager::run (this=0x7f2a4c297520 <processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007f2a4be42aec in QThreadPrivate::start (arg=0x7f2a4c297520 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007f2a47b27e9a in start_thread (arg=0x7f2a16ffd700) at pthread_create.c:308
#4  0x00007f2a4b5e2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2a4ec7b780 (LWP 32464)):
#0  0x00007f2a4b5dc023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2a4bf6b023 in qt_safe_select (nfds=18, fdread=0x7fff3465faa0, fdwrite=0x7fff3465fb20, fdexcept=0x0, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f2a4bf19a72 in select_msecs (fdwrite=<optimized out>, fdread=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at io/qprocess_unix.cpp:1006
#3  select_msecs (nfds=<optimized out>, fdread=<optimized out>, fdwrite=<optimized out>, timeout=<optimized out>) at io/qprocess_unix.cpp:1003
#4  0x00007f2a4bf1b2a6 in QProcessPrivate::waitForFinished (this=0x3cbde70, msecs=-1) at io/qprocess_unix.cpp:1227
#5  0x00007f2a4bed4f1e in QProcess::waitForFinished (this=this@entry=0x7fff3465fc30, msecs=msecs@entry=-1) at io/qprocess.cpp:1759
#6  0x00007f2a4bed7620 in QProcess::execute (program=..., arguments=...) at io/qprocess.cpp:2159
#7  0x00007f2a4c3e3ad2 in KToolInvocation::startKdeinit () at ../../kdecore/kernel/ktoolinvocation.cpp:391
#8  0x00007f2a4c3e3c80 in KToolInvocation::klauncher () at ../../kdecore/kernel/ktoolinvocation.cpp:62
#9  0x00007f2a4c3e3e71 in KToolInvocation::startServiceInternal (this=0x18e0020, _function=_function@entry=0x7f2a4c4cf789 "start_service_by_desktop_path", _name=..., URLs=..., error=error@entry=0x7fff346600b0, serviceName=serviceName@entry=0x0, pid=pid@entry=0x0, startup_id=..., noWait=noWait@entry=false, workdir=...) at ../../kdecore/kernel/ktoolinvocation.cpp:93
#10 0x00007f2a4c3e4b38 in KToolInvocation::startServiceByDesktopPath (_name=..., URLs=..., error=0x7fff346600b0, serviceName=0x0, pid=0x0, startup_id=..., noWait=false) at ../../kdecore/kernel/ktoolinvocation.cpp:197
#11 0x00007f2a4e6ceb99 in KGlobalAccelPrivate::KGlobalAccelPrivate (this=0x21a2ca0, q=0x2219280) at ../../kdeui/shortcuts/kglobalaccel.cpp:119
#12 0x00007f2a4e6cee46 in KGlobalAccel::KGlobalAccel (this=0x2219280) at ../../kdeui/shortcuts/kglobalaccel.cpp:146
#13 0x00007f2a4e6cefcb in operator-> (this=<optimized out>) at ../../kdeui/shortcuts/kglobalaccel.cpp:233
#14 operator KGlobalAccel* (this=<optimized out>) at ../../kdeui/shortcuts/kglobalaccel.cpp:233
#15 KGlobalAccel::self () at ../../kdeui/shortcuts/kglobalaccel.cpp:234
#16 0x00007f2a4e5b6263 in KAction::setGlobalShortcut (this=0x2209710, shortcut=..., type=..., load=KAction::Autoloading) at ../../kdeui/actions/kaction.cpp:267
#17 0x00007f2a4dc9f06a in MainWindow::createActions (this=this@entry=0x1ef57d0) at ../../src/MainWindow.cpp:724
#18 0x00007f2a4dca9154 in MainWindow::MainWindow (this=0x1ef57d0) at ../../src/MainWindow.cpp:143
#19 0x00007f2a4dc840f8 in App::continueInit (this=this@entry=0x7fff34662c10) at ../../src/App.cpp:545
#20 0x00007f2a4dc85867 in App::App (this=0x7fff34662c10) at ../../src/App.cpp:184
#21 0x0000000000408ddd in main (argc=3, argv=0x7fff34662d78) at ../../src/main.cpp:304

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

Possible duplicates by query: bug 314364, bug 314163, bug 313169, bug 313064, bug 312241.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2013-02-16 14:26:03 UTC
Please upgrade, this is solved since quite some time. See also htttp://kubuntu.org/news/amarok-27

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