Bug 285541 - Amarok crashes on start [@ QtGroupingProxy::addSourceRow]
Summary: Amarok crashes on start [@ QtGroupingProxy::addSourceRow]
Status: RESOLVED DUPLICATE of bug 285720
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords: release_blocker
: 289374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-02 09:14 UTC by Diego Casella
Modified: 2011-12-20 10:50 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (22.27 KB, text/plain)
2011-12-03 08:50 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Casella 2011-11-02 09:14:57 UTC
Application: amarok (2.4-GIT)
KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

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

I'm running amarok (built from git, last commit d2ce8240abbb29281fa6656ae552dec6a26e487a) and every time I start it, the application crashes right after the splashscreen closes.
Furthermore, I noticed that if I delete the all the Amarok config files/folders, Amarok starts without any problem but, when I quit, it surprisingly crashes again (even if I did not changed _any_ settings or added some scripts/applets at all), and this seconf backtrace is shown below.
All I can say it's Amarok was running great with my latest build (on October 31) so most likely the  crash has been triggered by a commit made in the last 3 or 4 days.
I hope you can spot the crash, cheers.


=========================================================================
Second backtrace (amarok crashed on quit even if all the config files/folders were removed)

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5094720 (LWP 15513))]

Thread 12 (Thread 0xb3374b70 (LWP 15520)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0476d793 in vlc_cond_wait () from /opt/lib/libvlccore.so.4
#4  0x046e21e7 in Thread () from /opt/lib/libvlccore.so.4
#5  0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 11 (Thread 0xaea66b70 (LWP 15522)):
#0  0x00ef7d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00a7f09f in do_gettime (sec=0xaea65fe0, frac=0xaea65fe8) at tools/qelapsedtimer_unix.cpp:123
#2  0x00a7f11e in qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00b6f67b in QTimerInfoList::updateCurrentTime (this=0x90872f4) at kernel/qeventdispatcher_unix.cpp:343
#4  0x00b6f9d9 in QTimerInfoList::timerWait (this=0x90872f4, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x00b6ca59 in timerSourcePrepareHelper (src=0x90872c0, timeout=0xaea6610c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00b6cbbe in timerSourcePrepare (source=0x90872c0, timeout=0xaea6610c) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01f8088c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01f81637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01f81c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00b6d5c4 in QEventDispatcherGlib::processEvents (this=0x9087330, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00b3405d in QEventLoop::processEvents (this=0xaea66288, flags=...) at kernel/qeventloop.cpp:149
#12 0x00b341cb in QEventLoop::exec (this=0xaea66288, flags=...) at kernel/qeventloop.cpp:204
#13 0x00a151a5 in QThread::exec (this=0x905c358) at thread/qthread.cpp:501
#14 0x00b12146 in QInotifyFileSystemWatcherEngine::run (this=0x905c358) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00a1795d in QThreadPrivate::start (arg=0x905c358) at thread/qthread_unix.cpp:298
#16 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 10 (Thread 0xad15db70 (LWP 15523)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x04a2840e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x01f9034b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01f81896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01f81c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00b6d5c4 in QEventDispatcherGlib::processEvents (this=0x8fdada8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00b3405d in QEventLoop::processEvents (this=0xad15d2b8, flags=...) at kernel/qeventloop.cpp:149
#7  0x00b341cb in QEventLoop::exec (this=0xad15d2b8, flags=...) at kernel/qeventloop.cpp:204
#8  0x00a151a5 in QThread::exec (this=0x92166a8) at thread/qthread.cpp:501
#9  0x00a15325 in QThread::run (this=0x92166a8) at thread/qthread.cpp:568
#10 0x00a1795d in QThreadPrivate::start (arg=0x92166a8) at thread/qthread_unix.cpp:298
#11 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 9 (Thread 0xac79fb70 (LWP 15524)):
#0  0x04a44f20 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0x01f81102 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x01f81990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01f81c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00b6d5c4 in QEventDispatcherGlib::processEvents (this=0x9226b48, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00b3405d in QEventLoop::processEvents (this=0xac79f2b8, flags=...) at kernel/qeventloop.cpp:149
#6  0x00b341cb in QEventLoop::exec (this=0xac79f2b8, flags=...) at kernel/qeventloop.cpp:204
#7  0x00a151a5 in QThread::exec (this=0xb3145820) at thread/qthread.cpp:501
#8  0x00a15325 in QThread::run (this=0xb3145820) at thread/qthread.cpp:568
#9  0x00a1795d in QThreadPrivate::start (arg=0xb3145820) at thread/qthread_unix.cpp:298
#10 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 8 (Thread 0xab5ffb70 (LWP 15526)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00a18d87 in QWaitConditionPrivate::wait (this=0x8f23700, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x00a18b8d in QWaitCondition::wait (this=0x9253218, mutex=0x92175b0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00e0e822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9253200, th=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e1480e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92299d0, th=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e0e236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9253200, th=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e14a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x92299d0, th=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e0ecd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9253200, th=0x9244f88, previous=0x94f3cc0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e11e0c in ThreadWeaver::ThreadRunHelper::run (this=0xab5ff2d0, parent=0x9253200, th=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#11 0x00e11f49 in ThreadWeaver::Thread::run (this=0x9244f88) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#12 0x00a1795d in QThreadPrivate::start (arg=0x9244f88) at thread/qthread_unix.cpp:298
#13 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 7 (Thread 0xaadfeb70 (LWP 15527)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00a18d87 in QWaitConditionPrivate::wait (this=0x8f23700, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x00a18b8d in QWaitCondition::wait (this=0x9253218, mutex=0x92175b0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00e0e822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9253200, th=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e1480e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92299d0, th=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e0e236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9253200, th=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e14a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x92299d0, th=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e0ecd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9253200, th=0x90ea5a8, previous=0xa3a6aca8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e11e0c in ThreadWeaver::ThreadRunHelper::run (this=0xaadfe2d0, parent=0x9253200, th=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#11 0x00e11f49 in ThreadWeaver::Thread::run (this=0x90ea5a8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#12 0x00a1795d in QThreadPrivate::start (arg=0x90ea5a8) at thread/qthread_unix.cpp:298
#13 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xaa5fdb70 (LWP 15528)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00a18d87 in QWaitConditionPrivate::wait (this=0x8f23700, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x00a18b8d in QWaitCondition::wait (this=0x9253218, mutex=0x92175b0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00e0e822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9253200, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e1480e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92299d0, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e0e236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9253200, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e14a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x92299d0, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e0ecd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9253200, th=0x94f1278, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e14a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x92299d0, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00e0ecd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9253200, th=0x94f1278, previous=0x97b01e0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00e11e0c in ThreadWeaver::ThreadRunHelper::run (this=0xaa5fd2d0, parent=0x9253200, th=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#13 0x00e11f49 in ThreadWeaver::Thread::run (this=0x94f1278) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#14 0x00a1795d in QThreadPrivate::start (arg=0x94f1278) at thread/qthread_unix.cpp:298
#15 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xa9d24b70 (LWP 15534)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00a18d87 in QWaitConditionPrivate::wait (this=0x8f23700, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x00a18b8d in QWaitCondition::wait (this=0x9253218, mutex=0x92175b0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00e0e822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9253200, th=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e1480e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92299d0, th=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e0e236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9253200, th=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e14a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x92299d0, th=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e0ecd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9253200, th=0x9260aa8, previous=0x9b957b0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e11e0c in ThreadWeaver::ThreadRunHelper::run (this=0xa9d242d0, parent=0x9253200, th=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#11 0x00e11f49 in ThreadWeaver::Thread::run (this=0x9260aa8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#12 0x00a1795d in QThreadPrivate::start (arg=0x9260aa8) at thread/qthread_unix.cpp:298
#13 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xa5cffb70 (LWP 15535)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb6c530de in WTF::TCMalloc_PageHeap::scavengerThread() () from /opt/qt4/lib/libQtWebKit.so.4
#4  0xb6c527df in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /opt/qt4/lib/libQtWebKit.so.4
#5  0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0x9baffb70 (LWP 15539)):
#0  0x00d00416 in __kernel_vsyscall ()
#1  0x00ceda5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04a44cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00a18d87 in QWaitConditionPrivate::wait (this=0x9bbd400, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x00a18b8d in QWaitCondition::wait (this=0x9bbf60c, mutex=0x9bbf608, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x06a12326 in QFileInfoGatherer::run (this=0x9bbf600) at dialogs/qfileinfogatherer.cpp:214
#6  0x00a1795d in QThreadPrivate::start (arg=0x9bbf600) at thread/qthread_unix.cpp:298
#7  0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0x9b2feb70 (LWP 15540)):
#0  0x00b6cd48 in postEventSourcePrepare (s=0x9e1fea8, timeout=0x9b2fe10c) at kernel/qeventdispatcher_glib.cpp:263
#1  0x01f8088c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x01f81637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01f81c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00b6d5c4 in QEventDispatcherGlib::processEvents (this=0x9e20b58, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00b3405d in QEventLoop::processEvents (this=0x9b2fe288, flags=...) at kernel/qeventloop.cpp:149
#6  0x00b341cb in QEventLoop::exec (this=0x9b2fe288, flags=...) at kernel/qeventloop.cpp:204
#7  0x00a151a5 in QThread::exec (this=0x9b5f648) at thread/qthread.cpp:501
#8  0x00b12146 in QInotifyFileSystemWatcherEngine::run (this=0x9b5f648) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00a1795d in QThreadPrivate::start (arg=0x9b5f648) at thread/qthread_unix.cpp:298
#10 0x00ce9d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x04a370ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb5094720 (LWP 15513)):
[KCrash Handler]
#7  0x00000003 in ?? ()
#8  0x012f2d86 in qDeleteAll<QList<Collections::CollectionFactory*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /opt/qt4/include/QtCore/qalgorithms.h:322
#9  qDeleteAll<SmartPointerList<Collections::CollectionFactory> > (c=<optimized out>) at /opt/qt4/include/QtCore/qalgorithms.h:330
#10 CollectionManager::~CollectionManager (this=0x8dcb668, __in_chrg=<optimized out>) at /home/polentino/kde4/amarok/src/core-impl/collections/support/CollectionManager.cpp:138
#11 0x012f2f42 in CollectionManager::~CollectionManager (this=0x8dcb668, __in_chrg=<optimized out>) at /home/polentino/kde4/amarok/src/core-impl/collections/support/CollectionManager.cpp:140
#12 0x012f0f4a in CollectionManager::destroy () at /home/polentino/kde4/amarok/src/core-impl/collections/support/CollectionManager.cpp:107
#13 0x0143d7fa in App::~App (this=0xbff31c14, __in_chrg=<optimized out>) at /home/polentino/kde4/amarok/src/App.cpp:248
#14 0x080501ec in main (argc=) at /home/polentino/kde4/amarok/src/main.cpp:294

=========================================================================

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb327fb70 (LWP 2324)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x00445a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x01bcfcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x070a8793 in vlc_cond_wait () from /opt/lib/libvlccore.so.4
#4  0x0701d1e7 in Thread () from /opt/lib/libvlccore.so.4
#5  0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xae7a9b70 (LWP 2326)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x01bb340e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0509434b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05085896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05085c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x067cd5c4 in QEventDispatcherGlib::processEvents (this=0x93a9978, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x0679405d in QEventLoop::processEvents (this=0xae7a9288, flags=...) at kernel/qeventloop.cpp:149
#7  0x067941cb in QEventLoop::exec (this=0xae7a9288, flags=...) at kernel/qeventloop.cpp:204
#8  0x066751a5 in QThread::exec (this=0x937ead8) at thread/qthread.cpp:501
#9  0x06772146 in QInotifyFileSystemWatcherEngine::run (this=0x937ead8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0667795d in QThreadPrivate::start (arg=0x937ead8) at thread/qthread_unix.cpp:298
#11 0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xacd2fb70 (LWP 2327)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x00445a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x01bcfcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06678d87 in QWaitConditionPrivate::wait (this=0x998df68, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x06678b8d in QWaitCondition::wait (this=0x998deb8, mutex=0x9981040, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00ba0822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x998dea0, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ba680e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99801f8, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba0236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x998dea0, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ba6a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0x9927c90, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ba6a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0x9927c90, previous=0x99fb8b0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00ba3e0c in ThreadWeaver::ThreadRunHelper::run (this=0xacd2f2d0, parent=0x998dea0, th=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#13 0x00ba3f49 in ThreadWeaver::Thread::run (this=0x9927c90) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#14 0x0667795d in QThreadPrivate::start (arg=0x9927c90) at thread/qthread_unix.cpp:298
#15 0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xac52eb70 (LWP 2328)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x00445a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x01bcfcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06678d87 in QWaitConditionPrivate::wait (this=0x998df68, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x06678b8d in QWaitCondition::wait (this=0x998deb8, mutex=0x9981040, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00ba0822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x998dea0, th=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ba680e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99801f8, th=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba0236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x998dea0, th=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ba6a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0x995d078, previous=0x9e12e30) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ba3e0c in ThreadWeaver::ThreadRunHelper::run (this=0xac52e2d0, parent=0x998dea0, th=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#11 0x00ba3f49 in ThreadWeaver::Thread::run (this=0x995d078) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#12 0x0667795d in QThreadPrivate::start (arg=0x995d078) at thread/qthread_unix.cpp:298
#13 0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xabd2db70 (LWP 2329)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x00445a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x01bcfcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06678d87 in QWaitConditionPrivate::wait (this=0x998df68, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x06678b8d in QWaitCondition::wait (this=0x998deb8, mutex=0x9981040, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00ba0822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x998dea0, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ba680e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99801f8, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba0236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x998dea0, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ba6a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb30117d8, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ba6a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb30117d8, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00ba6a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb30117d8, previous=0xb30010d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00ba3e0c in ThreadWeaver::ThreadRunHelper::run (this=0xabd2d2d0, parent=0x998dea0, th=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#15 0x00ba3f49 in ThreadWeaver::Thread::run (this=0xb30117d8) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#16 0x0667795d in QThreadPrivate::start (arg=0xb30117d8) at thread/qthread_unix.cpp:298
#17 0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xab52cb70 (LWP 2330)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x00445a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x01bcfcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06678d87 in QWaitConditionPrivate::wait (this=0x998df68, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  0x06678b8d in QWaitCondition::wait (this=0x998deb8, mutex=0x9981040, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x00ba0822 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x998dea0, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00ba680e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99801f8, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba0236 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x998dea0, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00ba6a0e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb3012040, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00ba6a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb3012040, previous=0x0) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00ba6a2e in ThreadWeaver::WorkingHardState::applyForWork (this=0x99801f8, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00ba0cd6 in ThreadWeaver::WeaverImpl::applyForWork (this=0x998dea0, th=0xb3012040, previous=0xb3011c50) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00ba3e0c in ThreadWeaver::ThreadRunHelper::run (this=0xab52c2d0, parent=0x998dea0, th=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:87
#15 0x00ba3f49 in ThreadWeaver::Thread::run (this=0xb3012040) at /home/polentino/kde4/kdelibs/threadweaver/Weaver/Thread.cpp:142
#16 0x0667795d in QThreadPrivate::start (arg=0xb3012040) at thread/qthread_unix.cpp:298
#17 0x00441d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0x01bc20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4f9f720 (LWP 2317)):
[KCrash Handler]
#7  0x00c0c416 in __kernel_vsyscall ()
#8  0x01b1dc8f in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x01b212b5 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x0666b487 in qt_message_output (msgType=QtFatalMsg, buf=0x9a07408 "ASSERT failure in QVector<T>::at: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 351") at global/qglobal.cpp:2255
#11 0x0666b626 in qt_message (msgType=QtFatalMsg, msg=0x680fb58 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0xbf9812f4 "\261\003$\003\207\003$\003P\003$\003_\001") at global/qglobal.cpp:2301
#12 0x0666ba52 in qFatal (msg=0x680fb58 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2484
#13 0x0666b080 in qt_assert_x (where=0x32403b1 "QVector<T>::at", what=0x3240387 "index out of range", file=0x3240350 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=351) at global/qglobal.cpp:2007
#14 0x02a9de03 in QVector<int>::at (this=0x93f4a20, i=1) at ../../include/QtCore/../../src/corelib/tools/qvector.h:351
#15 0x0312aee2 in QSortFilterProxyModelPrivate::can_create_mapping (this=0x9a879e8, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:408
#16 0x0312e2d8 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted (this=0x9a879e8, source_parent=..., start=0, end=0) at itemviews/qsortfilterproxymodel.cpp:1273
#17 0x031321b8 in QSortFilterProxyModel::qt_static_metacall (_o=0x9a879d8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf981500) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:113
#18 0x067b1e11 in QMetaObject::activate (sender=0x9a86e28, m=0x693f000, local_signal_index=4, argv=0xbf981500) at kernel/qobject.cpp:3547
#19 0x0680a87e in QAbstractItemModel::rowsAboutToBeInserted (this=0x9a86e28, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:190
#20 0x0678b739 in QAbstractItemModel::beginInsertRows (this=0x9a86e28, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2416
#21 0x0118080c in QtGroupingProxy::addSourceRow (this=0x9a86e28, idx=...) at /home/polentino/kde4/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:239
#22 0x01182a8d in QtGroupingProxy::buildTree (this=0x9a86e28) at /home/polentino/kde4/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:156
#23 0x0119acf0 in PlaylistsByProviderProxy::buildTree (this=0x9a86e28) at /home/polentino/kde4/amarok/src/browsers/playlistbrowser/PlaylistsByProviderProxy.cpp:287
#24 0x00e0b29b in qt_static_metacall (_a=0x9a870f0, _id=0, _o=0x9a86e28, _c=<optimized out>) at /home/polentino/kde4/build/amarok/src/moc_QtGroupingProxy.cpp:59
#25 QtGroupingProxy::qt_static_metacall (_o=0x9a86e28, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x9a870f0) at /home/polentino/kde4/build/amarok/src/moc_QtGroupingProxy.cpp:53
#26 0x067ac346 in QMetaCallEvent::placeMetaCall (this=0x9a85af0, object=0x9a86e28) at kernel/qobject.cpp:525
#27 0x067ad3e4 in QObject::event (this=0x9a86e28, e=0x9a85af0) at kernel/qobject.cpp:1195
#28 0x02a76654 in QApplicationPrivate::notify_helper (this=0x90f1278, receiver=0x9a86e28, e=0x9a85af0) at kernel/qapplication.cpp:4550
#29 0x02a73f52 in QApplication::notify (this=0xbf9820c0, receiver=0x9a86e28, e=0x9a85af0) at kernel/qapplication.cpp:3932
#30 0x006a4604 in KApplication::notify (this=0xbf9820c0, receiver=0x9a86e28, event=0x9a85af0) at /home/polentino/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0x06796596 in QCoreApplication::notifyInternal (this=0xbf9820c0, receiver=0x9a86e28, event=0x9a85af0) at kernel/qcoreapplication.cpp:876
#32 0x02a683b3 in QCoreApplication::sendEvent (receiver=0x9a86e28, event=0x9a85af0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 0x06797492 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8fdd130) at kernel/qcoreapplication.cpp:1500
#34 0x0679714f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#35 0x02b345fc in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 0x067ccdf2 in postEventSourceDispatch (s=0x90e1e80) at kernel/qeventdispatcher_glib.cpp:279
#37 0x0508525f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x05085990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x05085c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x067cd5a4 in QEventDispatcherGlib::processEvents (this=0x8fddea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x02b3fa50 in QGuiEventDispatcherGlib::processEvents (this=0x8fddea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x0679405d in QEventLoop::processEvents (this=0xbf98203c, flags=...) at kernel/qeventloop.cpp:149
#43 0x067941cb in QEventLoop::exec (this=0xbf98203c, flags=...) at kernel/qeventloop.cpp:204
#44 0x06796c12 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#45 0x02a73bc6 in QApplication::exec () at kernel/qapplication.cpp:3811
#46 0x0805024a in main (argc=) at /home/polentino/kde4/amarok/src/main.cpp:296

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-11-02 09:44:48 UTC
Except that the two backtraces are totally different.

Please erase the amarok* files in $HOME/.kde/share/config/

I can't reproduce this here at all.
Comment 2 Diego Casella 2011-11-02 11:57:17 UTC
(In reply to comment #1)
> Except that the two backtraces are totally different.
> 
Seems like I wasn't clear enough (or, you didn't read my description :P )
There are two backtraces:
* the lowest one refers to the crash that affects amarok upon start;
* the second one ( between the "========================" lines)
is the backtrace I got after I deleted all amarok config files and folders (in order to try to pinpoint the issue), started amarok and then quitted the app (wihtout modifying any of its settings).


> Please erase the amarok* files in $HOME/.kde/share/config/
> 
That's exactly what I explained in my very first comment ( the "I delete all the Amarok config files/folders" part, minus some typo) :)
However, to be precise, I deleted:
.kde4/share/apps/amarok
.kde4/share/config/amarok-appletsrc
.kde4/share/config/amarok_homerc
.kde4/share/config/amarokrc

> I can't reproduce this here at all.
Okay, I'll try to investigate further, thanks anyways :)
Comment 3 Myriam Schweingruber 2011-11-07 12:40:26 UTC
Any news on this?
Comment 4 Diego Casella 2011-11-07 16:11:32 UTC
updated to commit d70a2ab36ff8318aa2646717531597c7bde535f6 a while ago and now works like a charm :)
Comment 5 Myriam Schweingruber 2011-11-07 17:16:48 UTC
Thank you for the feedback.
Comment 6 Jaime Torres 2011-12-03 08:50:13 UTC
Created attachment 66329 [details]
New crash information added by DrKonqi

amarok (2.4-GIT) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

This bug is still present in tonight trunk.
It happens even running under valgrind:

==25535== Conditional jump or move depends on uninitialised value(s)
==25535==    at 0x6B403DC2: SpectrumAnalyzerEngine::update() (SpectrumAnalyzerEngine.cpp:102)
==25535==    by 0x6B404DAB: SpectrumAnalyzerEngine::SpectrumAnalyzerEngine(QObject*, QList<QVariant> const&) (SpectrumAnalyzerEngine.cpp:40)
==25535==    by 0x6B405FCC: QObject* KPluginFactory::createInstance<SpectrumAnalyzerEngine, QObject>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:477)
==25535==    by 0x775F73D: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:203)
==25535==    by 0xCB1DAF3: Plasma::DataEngine* KPluginFactory::create<Plasma::DataEngine>(QWidget*, QObject*, QString const&, QList<QVariant> const&) (kpluginfactory.h:531)
==25535==    by 0xCB1DBBF: Plasma::DataEngine* KService::createInstance<Plasma::DataEngine>(QWidget*, QObject*, QList<QVariant> const&, QString*) const (kservice.h:553)
==25535==    by 0xCB1C600: Plasma::PluginLoader::loadDataEngine(QString const&) (pluginloader.cpp:184)
==25535==    by 0xCB03FDF: Plasma::DataEngineManager::loadEngine(QString const&) (dataenginemanager.cpp:131)
==25535==    by 0xCB39A0B: Plasma::DataEngineConsumer::dataEngine(QString const&) (dataengineconsumer.cpp:105)
==25535==    by 0xCAC7E1A: Plasma::Applet::dataEngine(QString const&) const (applet.cpp:685)
==25535==    by 0x69EF4635: SpectrumAnalyzerApplet::connectSource(QString const&) (SpectrumAnalyzerApplet.cpp:336)
==25535==    by 0x69EF6605: SpectrumAnalyzerApplet::init() (SpectrumAnalyzerApplet.cpp:213)
==25535== 
==25535== Conditional jump or move depends on uninitialised value(s)
==25535==    at 0x6B403DC2: SpectrumAnalyzerEngine::update() (SpectrumAnalyzerEngine.cpp:102)
==25535==    by 0x6B404C55: SpectrumAnalyzerEngine::sourceRequestEvent(QString const&) (SpectrumAnalyzerEngine.cpp:71)
==25535==    by 0xCB010A7: Plasma::DataEnginePrivate::requestSource(QString const&, bool*) (dataengine.cpp:705)
==25535==    by 0xCB01247: Plasma::DataEngine::connectSource(QString const&, QObject*, unsigned int, Plasma::IntervalAlignment) const (dataengine.cpp:95)
==25535==    by 0x69EF464A: SpectrumAnalyzerApplet::connectSource(QString const&) (SpectrumAnalyzerApplet.cpp:336)
==25535==    by 0x69EF6605: SpectrumAnalyzerApplet::init() (SpectrumAnalyzerApplet.cpp:213)
==25535==    by 0xCAE525E: Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) (containment.cpp:914)
==25535==    by 0xCAE568A: Plasma::ContainmentPrivate::addApplet(QString const&, QList<QVariant> const&, QRectF const&, unsigned int, bool) (containment.cpp:2231)
==25535==    by 0x642210FB: Context::VerticalToolbarContainment::addApplet(QString const&, int) (VerticalToolbarContainment.cpp:143)
==25535==    by 0x64221644: Context::VerticalToolbarContainment::loadConfig(KConfigGroup const&) (VerticalToolbarContainment.cpp:94)
==25535==    by 0x5B9C34F: Context::ContextView::loadConfig() (ContextView.cpp:216)
==25535==    by 0x5B9C4E5: Context::ContextView::showHome() (ContextView.cpp:196)
==25535== 
QGraphicsLayout::addChildLayoutItem: SpectrumAnalyzerApplet "" in wrong parent; moved to correct parent
********************************************************************************************** 
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: ** 
** amarok --debug                                                                           ** 
********************************************************************************************** 
==25534== 
==25534== HEAP SUMMARY:
==25534==     in use at exit: 20,542 bytes in 376 blocks
==25534==   total heap usage: 15,385 allocs, 15,009 frees, 1,231,085 bytes allocated
==25534== 
==25534== LEAK SUMMARY:
==25534==    definitely lost: 0 bytes in 0 blocks
==25534==    indirectly lost: 0 bytes in 0 blocks
==25534==      possibly lost: 0 bytes in 0 blocks
==25534==    still reachable: 20,542 bytes in 376 blocks
==25534==         suppressed: 0 bytes in 0 blocks
==25534== Rerun with --leak-check=full to see details of leaked memory
==25534== 
==25534== For counts of detected and suppressed errors, rerun with: -v
==25534== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 4)
jtorres@filemon:/g/b45/amarok> ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h, line 339
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = /opt/kde4/bin pid = 25535
KCrash: Arguments: /opt/kde4/bin/amarok --nocrashhandler 
KCrash: Attempting to start /opt/kde4/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/jtorres/.kde/socket-filemon/kdeinit4__1
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...

-- Backtrace (Reduced):
#11 0x00007fe6f2f7f7d9 in at (i=0, this=0x40f4290) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h:339
#12 QSortFilterProxyModelPrivate::can_create_mapping (this=<optimized out>, source_parent=...) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:406
#13 0x00007fe6f2f82db1 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted (this=0x2d61240, source_parent=..., start=<optimized out>, end=<optimized out>) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:1271
#14 0x00007fe6f2f8747c in QSortFilterProxyModel::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff27b880b0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136
#15 0x00007fe6f3a0bcc0 in PlaylistBrowserFilterProxy::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b880b0) at /g/b45/amarok/src/moc_PlaylistBrowserFilterProxy.cpp:72
Comment 7 Myriam Schweingruber 2011-12-05 19:04:14 UTC
Backtrace from comment #6:

Thread 1 (Thread 0x7fe6f5003780 (LWP 25653)):
[KCrash Handler]
#6  0x00007fe6f1503d15 in raise () from /lib64/libc.so.6
#7  0x00007fe6f150522b in abort () from /lib64/libc.so.6
#8  0x00007fe6f1e020bf in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2291
#9  0x00007fe6f1e02231 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fe6f1f685e0 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff27b87e48) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2337
#10 0x00007fe6f1e023d4 in qFatal (msg=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2520
#11 0x00007fe6f2f7f7d9 in at (i=0, this=0x40f4290) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h:339
#12 QSortFilterProxyModelPrivate::can_create_mapping (this=<optimized out>, source_parent=...) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:406
#13 0x00007fe6f2f82db1 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted (this=0x2d61240, source_parent=..., start=<optimized out>, end=<optimized out>) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:1271
#14 0x00007fe6f2f8747c in QSortFilterProxyModel::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff27b880b0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136
#15 0x00007fe6f3a0bcc0 in PlaylistBrowserFilterProxy::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b880b0) at /g/b45/amarok/src/moc_PlaylistBrowserFilterProxy.cpp:72
#16 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x40ca830, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b880b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#17 0x00007fe6f1f64724 in QAbstractItemModel::rowsAboutToBeInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:174
#18 0x00007fe6f1efa629 in QAbstractItemModel::beginInsertRows (this=0x40ca830, parent=..., first=0, last=0) at /g/kdegit/qt/src/corelib/kernel/qabstractitemmodel.cpp:2395
#19 0x00007fe6f3c7d38f in QtGroupingProxy::addSourceRow (this=0x40ca830, idx=...) at /g/kdegit/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:239
#20 0x00007fe6f3c7d5ad in QtGroupingProxy::modelRowsInserted (this=0x40ca830, parent=<optimized out>, start=<optimized out>, end=0) at /g/kdegit/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:716
#21 0x00007fe6f3a0991c in QtGroupingProxy::qt_metacall (this=0x40ca830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b88490) at /g/b45/amarok/src/moc_QtGroupingProxy.cpp:84
#22 0x00007fe6f3a0c000 in PlaylistsByProviderProxy::qt_metacall (this=0x40ca830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b88490) at /g/b45/amarok/src/moc_PlaylistsByProviderProxy.cpp:73
#23 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x40ca3d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b88490) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#24 0x00007fe6f1f64784 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:181
#25 0x00007fe6f1efa78e in QAbstractItemModel::endInsertRows (this=0x40ca3d0) at /g/kdegit/qt/src/corelib/kernel/qabstractitemmodel.cpp:2412
#26 0x00007fe6f3c70f8a in PlaylistBrowserNS::PlaylistBrowserModel::slotPlaylistAdded (this=0x40ca3d0, playlist=..., category=<optimized out>) at /g/kdegit/amarok/src/browsers/playlistbrowser/PlaylistBrowserModel.cpp:646
#27 0x00007fe6f3a10db3 in PlaylistBrowserNS::PlaylistBrowserModel::qt_metacall (this=0x40ca3d0, _c=<optimized out>, _id=5, _a=0x7fff27b886b0) at /g/b45/amarok/src/moc_PlaylistBrowserModel.cpp:97
#28 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x1e75be0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b886b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#29 0x00007fe6f3c9a246 in PlaylistManager::playlistAdded (this=<optimized out>, _t1=<optimized out>, _t2=1) at /g/b45/amarok/src/PlaylistManager.moc:150
#30 0x00007fe6f3c9f254 in PlaylistManager::addPlaylist (this=0x1e75be0, playlist=..., category=1) at /g/kdegit/amarok/src/playlistmanager/PlaylistManager.cpp:196
#31 0x00007fe6f3c9f378 in PlaylistManager::slotPlaylistAdded (this=0x1e75be0, playlist=<optimized out>) at /g/kdegit/amarok/src/playlistmanager/PlaylistManager.cpp:273
#32 0x00007fe6f3c9f724 in PlaylistManager::qt_metacall (this=0x1e75be0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff27b889b0) at /g/b45/amarok/src/PlaylistManager.moc:107
#33 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x1e75ca0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b889b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278
#34 0x00007fe6f43181b5 in Playlists::PlaylistProvider::playlistAdded (this=<optimized out>, _t1=<optimized out>) at /g/b45/amarok/src/core/PlaylistProvider.moc:96
#35 0x00007fe6f3ca8bd1 in Playlists::PlaylistFileProvider::loadPlaylists (this=0x1e75ca0) at /g/kdegit/amarok/src/playlistmanager/file/PlaylistFileProvider.cpp:398
#36 0x00007fe6f3a09e85 in Playlists::PlaylistFileProvider::qt_metacall (this=0x1e75ca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /g/b45/amarok/src/moc_PlaylistFileProvider.cpp:80
#37 0x00007fe6f1f1aa22 in QObject::event (this=0x1e75ca0, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1217
#38 0x00007fe6f29728de in notify_helper (e=0x162b100, receiver=0x1e75ca0, this=0xc4e8c0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4509
#39 QApplicationPrivate::notify_helper (this=0xc4e8c0, receiver=0x1e75ca0, e=0x162b100) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4481
#40 0x00007fe6f297817a in QApplication::notify (this=0x7fff27b89490, receiver=0x1e75ca0, e=0x162b100) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4474
#41 0x00007fe6f47b378e in KApplication::notify (this=0x7fff27b89490, receiver=0x1e75ca0, event=0x162b100) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#42 0x00007fe6f1f0142b in QCoreApplication::notifyInternal (this=0x7fff27b89490, receiver=0x1e75ca0, event=0x162b100) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:787
#43 0x00007fe6f1f050a5 in QCoreApplication::sendEvent (event=0x162b100, receiver=0x1e75ca0) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc0a260) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1428
#45 0x00007fe6f1f2f513 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#47 0x00007fe6e9dce58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fe6e9dced88 in ?? () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fe6e9dcef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fe6f1f2f976 in QEventDispatcherGlib::processEvents (this=0xc0e970, flags=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#51 0x00007fe6f2a23ac6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007fe6f1effcb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#53 0x00007fe6f1effedf in QEventLoop::exec (this=0x7fff27b89420, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:201
#54 0x00007fe6f1f05367 in QCoreApplication::exec () at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1064
#55 0x0000000000408cfe in main (argc=1, argv=0x7fff27b8bc28) at /g/kdegit/amarok/src/main.cpp:310

Possible duplicates by query: bug 285541, bug 279798.

Reported using DrKonqi
Comment 8 Myriam Schweingruber 2011-12-05 19:21:13 UTC
Jaime, did you erase the old configuration files as suggested in comment #1?
Again, I can't reproduce this here at all, running the latest build, commit 43d000e2dd20795c514d8124a615ecfeb7377e49
Comment 9 Jaime Torres 2011-12-05 19:36:59 UTC
After deleting all the amarok configuration files, the bug is gone.
But I do not think the removal of all your configuration (moved to a tar file) is a good bug fix, unless we in the trunk world missed the configuration updates..
Comment 10 Myriam Schweingruber 2011-12-05 23:27:58 UTC
Well, I didn't have to remove my configuration files lately and I run Amarok from git since many months, it is not unlikely you had some old configurations lying around there. And yes, it is a workaround, but a very easy one and until we have more developers with time to look into that you will have to live with it.
Usually deleting amarokrc should be sufficient.
Comment 11 Myriam Schweingruber 2011-12-20 10:44:56 UTC
*** Bug 289374 has been marked as a duplicate of this bug. ***
Comment 12 Myriam Schweingruber 2011-12-20 10:46:13 UTC
Reopening, this should be solved for all further releases.
Comment 13 Myriam Schweingruber 2011-12-20 10:50:20 UTC
There is more information in bug 285720

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