Bug 289504

Summary: amarok 2.5.0 crashes on startup
Product: [Applications] amarok Reporter: Darin McBride <Tanktalus>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 2.6   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darin McBride 2011-12-21 15:39:20 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.90 (4.8 Beta2 (4.7.90) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

I had just compiled amarok and installed it, tried starting it up, and got this crash.  The splash screen had come up, and then crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7f0a828597a0 (LWP 17608))]

Thread 9 (Thread 0x7f0a63742700 (LWP 17610)):
#0  0x00007f0a7ef31353 in poll () from /lib64/libc.so.6
#1  0x00007f0a79513b2d in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0a79514001 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0a7f8d0846 in QEventDispatcherGlib::processEvents (this=0x1258b60, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0a7f89a0f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0a7f89a335 in QEventLoop::exec (this=0x7f0a63741da0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0a7f787348 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f0a7f875d30 in QInotifyFileSystemWatcherEngine::run (this=0x12b40c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x12b40c0) at thread/qthread_unix.cpp:331
#9  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f0a62292700 (LWP 17611)):
#0  0x00007f0a7d0ab44c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f0a7f78bbc7 in wait (time=<optimized out>, this=0x136e4e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12cc170, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0a7c3ff181 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a3f80, th=0x13197c0) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0a7c402be0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1377ea0, th=0x13197c0) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0a7c401274 in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a62291df0, parent=0x13a3f80, th=0x13197c0) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0a7c40134b in ThreadWeaver::Thread::run (this=0x13197c0) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x13197c0) at thread/qthread_unix.cpp:331
#8  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f0a61a91700 (LWP 17612)):
#0  0x00007f0a7d0ab7cb in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f0a7f78b97d in wait (time=<optimized out>, this=0x12d0c40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12c35d0, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0a7f77d73e in QThreadPoolThread::run (this=0x1335230) at concurrent/qthreadpool.cpp:140
#4  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x1335230) at thread/qthread_unix.cpp:331
#5  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f0a61290700 (LWP 17613)):
#0  0x00007f0a7951297b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f0a795139b9 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0a79514001 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0a7f8d0846 in QEventDispatcherGlib::processEvents (this=0x13469a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0a7f89a0f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0a7f89a335 in QEventLoop::exec (this=0x7f0a6128fde0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0a7f787348 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x13ac5e0) at thread/qthread_unix.cpp:331
#8  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f0a60a8f700 (LWP 17614)):
#0  0x00007f0a7d0ab44c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f0a7f78bbc7 in wait (time=<optimized out>, this=0x136e4e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12cc170, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0a7c3ff181 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a3f80, th=0x12dbd40) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0a7c402be0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1377ea0, th=0x12dbd40) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0a7c401274 in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a60a8edf0, parent=0x13a3f80, th=0x12dbd40) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0a7c40134b in ThreadWeaver::Thread::run (this=0x12dbd40) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x12dbd40) at thread/qthread_unix.cpp:331
#8  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0a5f3de700 (LWP 17616)):
#0  0x00007f0a7d0ab44c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f0a7f78bbc7 in wait (time=<optimized out>, this=0x136e4e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12cc170, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0a7c3ff181 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a3f80, th=0x192cf80) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0a7c402be0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1377ea0, th=0x192cf80) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0a7c401274 in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a5f3dddf0, parent=0x13a3f80, th=0x192cf80) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0a7c40134b in ThreadWeaver::Thread::run (this=0x192cf80) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x192cf80) at thread/qthread_unix.cpp:331
#8  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0a5ebdd700 (LWP 17617)):
#0  0x00007f0a7d0ab44c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f0a7f78bbc7 in wait (time=<optimized out>, this=0x136e4e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12cc170, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0a7c3ff181 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13a3f80, th=0x192d940) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0a7c402be0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1377ea0, th=0x192d940) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0a7c401274 in ThreadWeaver::ThreadRunHelper::run (this=0x7f0a5ebdcdf0, parent=0x13a3f80, th=0x192d940) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0a7c40134b in ThreadWeaver::Thread::run (this=0x192d940) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f0a7f78b137 in QThreadPrivate::start (arg=0x192d940) at thread/qthread_unix.cpp:331
#8  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0a5dd8f700 (LWP 17618)):
#0  0x00007f0a7d0ab44c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f0a75fd3674 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f0a7d0a6c5c in start_thread () from /lib64/libpthread.so.0
#3  0x00007f0a7ef39fcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0a828597a0 (LWP 17608)):
[KCrash Handler]
#6  0x00007f0a7ee95a55 in raise () from /lib64/libc.so.6
#7  0x00007f0a7ee96d55 in abort () from /lib64/libc.so.6
#8  0x00007f0a7f77e654 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2291
#9  0x00007f0a7f77e7ed in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f0a7f90bd28 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff895df770) at global/qglobal.cpp:2337
#10 0x00007f0a7f77e985 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2520
#11 0x00007f0a8093e9e2 in at (i=0, this=0x1b48680) at ../../include/QtCore/../../src/corelib/tools/qvector.h:339
#12 QSortFilterProxyModelPrivate::can_create_mapping (this=<optimized out>, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:406
#13 0x00007f0a80946a9c in _q_sourceColumnsAboutToBeInserted (end=<optimized out>, start=<optimized out>, source_parent=..., this=0x1b39270) at itemviews/qsortfilterproxymodel.cpp:1305
#14 QSortFilterProxyModel::qt_metacall (this=0x1b39250, _c=<optimized out>, _id=11, _a=<optimized out>) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:140
#15 0x00007f0a813a1680 in PlaylistBrowserFilterProxy::qt_metacall (this=0x1b39250, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff895df9d0) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/moc_PlaylistBrowserFilterProxy.cpp:72
#16 0x00007f0a7f8b723f in QMetaObject::activate (sender=0x1b2f840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff895df9d0) at kernel/qobject.cpp:3278
#17 0x00007f0a7f9081b4 in QAbstractItemModel::rowsAboutToBeInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:174
#18 0x00007f0a7f89416a in QAbstractItemModel::beginInsertRows (this=0x1b2f840, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2395
#19 0x00007f0a8163de19 in QtGroupingProxy::addSourceRow (this=0x1b2f840, idx=...) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/browsers/playlistbrowser/QtGroupingProxy.cpp:239
#20 0x00007f0a8163e0cb in QtGroupingProxy::modelRowsInserted (this=0x1b2f840, parent=<optimized out>, start=<optimized out>, end=0) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/browsers/playlistbrowser/QtGroupingProxy.cpp:716
#21 0x00007f0a813a013c in QtGroupingProxy::qt_metacall (this=0x1b2f840, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff895dfe40) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/moc_QtGroupingProxy.cpp:84
#22 0x00007f0a813a1ef0 in PlaylistsByProviderProxy::qt_metacall (this=0x1b2f840, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff895dfe40) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/moc_PlaylistsByProviderProxy.cpp:73
#23 0x00007f0a7f8b723f in QMetaObject::activate (sender=0x1aff580, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff895dfe40) at kernel/qobject.cpp:3278
#24 0x00007f0a7f908204 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:181
#25 0x00007f0a7f8942d0 in QAbstractItemModel::endInsertRows (this=0x1aff580) at kernel/qabstractitemmodel.cpp:2412
#26 0x00007f0a8162ff35 in PlaylistBrowserNS::PlaylistBrowserModel::slotPlaylistAdded (this=0x1aff580, playlist=..., category=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/browsers/playlistbrowser/PlaylistBrowserModel.cpp:646
#27 0x00007f0a813a611e in PlaylistBrowserNS::PlaylistBrowserModel::qt_metacall (this=0x1aff580, _c=<optimized out>, _id=5, _a=0x7fff895e0070) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/moc_PlaylistBrowserModel.cpp:97
#28 0x00007f0a7f8b723f in QMetaObject::activate (sender=0x15d8a20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff895e0070) at kernel/qobject.cpp:3278
#29 0x00007f0a8165e3a6 in PlaylistManager::playlistAdded (this=<optimized out>, _t1=<optimized out>, _t2=1) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/PlaylistManager.moc:150
#30 0x00007f0a816634ac in PlaylistManager::addPlaylist (this=0x15d8a20, playlist=..., category=1) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/playlistmanager/PlaylistManager.cpp:196
#31 0x00007f0a816637b4 in PlaylistManager::slotPlaylistAdded (this=0x15d8a20, playlist=...) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/playlistmanager/PlaylistManager.cpp:273
#32 0x00007f0a81663bc4 in PlaylistManager::qt_metacall (this=0x15d8a20, _c=<optimized out>, _id=9, _a=0x7fff895e03d0) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/PlaylistManager.moc:107
#33 0x00007f0a7f8b723f in QMetaObject::activate (sender=0x15ccfc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff895e03d0) at kernel/qobject.cpp:3278
#34 0x00007f0a81d32265 in Playlists::PlaylistProvider::playlistAdded (this=<optimized out>, _t1=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/core/PlaylistProvider.moc:96
#35 0x00007f0a8166e185 in Playlists::PlaylistFileProvider::loadPlaylists (this=0x15ccfc0) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/playlistmanager/file/PlaylistFileProvider.cpp:398
#36 0x00007f0a8139ecfc in Playlists::PlaylistFileProvider::qt_metacall (this=0x15ccfc0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0_build/src/moc_PlaylistFileProvider.cpp:80
#37 0x00007f0a7f8b95b2 in QObject::event (this=0x15ccfc0, e=<optimized out>) at kernel/qobject.cpp:1217
#38 0x00007f0a802af2d4 in QApplicationPrivate::notify_helper (this=0xcf5df0, receiver=0x15ccfc0, e=0x15cfd30) at kernel/qapplication.cpp:4481
#39 0x00007f0a802b73ed in QApplication::notify (this=<optimized out>, receiver=0x15ccfc0, e=0x15cfd30) at kernel/qapplication.cpp:4360
#40 0x00007f0a821d3442 in KApplication::notify (this=0x7fff895e0f90, receiver=0x15ccfc0, event=0x15cfd30) at /var/tmp/portage/kde-base/kdelibs-4.7.90/work/kdelibs-4.7.90/kdeui/kernel/kapplication.cpp:311
#41 0x00007f0a7f89c08b in QCoreApplication::notifyInternal (this=0x7fff895e0f90, receiver=0x15ccfc0, event=0x15cfd30) at kernel/qcoreapplication.cpp:787
#42 0x00007f0a7f89fdf0 in sendEvent (event=0x15cfd30, receiver=0x15ccfc0) at kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb5ac00) at kernel/qcoreapplication.cpp:1428
#44 0x00007f0a7f8d0343 in sendPostedEvents () at kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0xb9bc00) at kernel/qeventdispatcher_glib.cpp:277
#46 0x00007f0a795134d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f0a79513e18 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f0a79514001 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f0a7f8d07ef in QEventDispatcherGlib::processEvents (this=0xb5a3b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#50 0x00007f0a8037325e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f0a7f89a0f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f0a7f89a335 in QEventLoop::exec (this=0x7fff895e0ef0, flags=...) at kernel/qeventloop.cpp:201
#53 0x00007f0a7f8a00eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x000000000040a519 in main (argc=1, argv=0x7fff895e3428) at /var/tmp/portage/media-sound/amarok-2.5.0/work/amarok-2.5.0/src/main.cpp:303

Reported using DrKonqi
Comment 1 Darin McBride 2011-12-21 15:41:14 UTC
Forgot to mention - this didn't happen with 2.4.90.
Comment 2 Myriam Schweingruber 2011-12-22 01:53:41 UTC

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