Bug 254517 - amarok crashed while changing song
Summary: amarok crashed while changing song
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4-GIT
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 04:55 UTC by Bruno Bigras
Modified: 2010-10-18 11:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Bigras 2010-10-18 04:55:10 UTC
Application: amarok (2.4-GIT)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

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

I was listening to an album using ampache. Near the end of the song, I tryied to copy an album from ampache to my ipod (not sure it's supported). I think Amarok crashed while changing song.

I got this from konsole:
HTTP POST:  QUrl( "http://post2.audioscrobbler.com:80/protocol_1.2" )  "s=6cf65cc0fa6b4ee491d4db8e52d2e3bd&a[0]=Eminem&t[0]=Going%20Through%20Changes&i[0]=1287369632&o[0]=P&r[0]=&l[0]=299&b[0]=Recovery&n[0]=0&m[0]="                                                                                                     
ASSERT failure in FilterFactory::filter: "�$���", file /home/bruno/kde/src/amarok/src/core-impl/collections/support/MemoryFilter.cpp, line 78                                                                                           
KCrash: Application 'amarok' crashing...                                                                            
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit                                              
sock_file=/home/bruno/.kde/socket-bruno-ThinkPad-T61p/kdeinit4__0                                                   
QSocketNotifier: Invalid socket 35 and type 'Read', disabling...

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

Thread 15 (Thread 0x7f637d759710 (LWP 4211)):
#0  0x00007f639c7b4e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f638413a0d1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#4  0x00007f639ecb692d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f637cf58710 (LWP 4212)):
#0  0x00007f639f603fa3 in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007f6397a93a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f6397a93e78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f6397a9445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f639f6041e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f639f5d6a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f639f5d6dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f639f4e12fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007f63843962b0 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#12 0x00007f639ecb692d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f6377fff710 (LWP 4213)):
#0  0x00007f639ecaa1e3 in poll () from /lib/libc.so.6
#1  0x00007f6395c9a40f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f6395c89d76 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f6395c8b7f9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f6395c8b8b0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f6395c9a20b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f638f192fb8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#9  0x00007f639ecb692d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f63737fd710 (LWP 4214)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f638414ae83 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#4  0x00007f639ecb692d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f6372df4710 (LWP 4215)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f638414ae83 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#4  0x00007f639ecb692d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f63725f3710 (LWP 4216)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f638414ae83 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#4  0x00007f639ecb692d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6371df2710 (LWP 4217)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f638414ae83 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#4  0x00007f639ecb692d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f63704d2710 (LWP 4235)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639f4e4e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f639b40f524 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f639b41272b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f639b410c9f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f639b4111f8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#9  0x00007f639ecb692d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f63617f3710 (LWP 4238)):
#0  0x00007f639f604387 in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007f6397a9366a in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007f6397a94023 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f6397a9445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f639f6041e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f639f5d6a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f639f5d6dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f639f4e12fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007f639f5b65f8 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#12 0x00007f639ecb692d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6360bc0710 (LWP 4239)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639f4e4e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f639b40f524 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f639b41272b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f639b410c9f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f639b4111f8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#10 0x00007f639ecb692d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f635fd82710 (LWP 4240)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639529c20e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f639529c329 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#5  0x00007f639ecb692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f635e59e710 (LWP 4241)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639f4e4e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f639b40f524 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f639b41272b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f639b410c9f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f639b4111f8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#11 0x00007f639ecb692d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6358d58710 (LWP 4259)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639ac4f334 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f639ac4f369 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#5  0x00007f639ecb692d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f634dd54710 (LWP 4265)):
#0  0x00007f639c7b4a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f639f4e4e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f639b40f524 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f639b41272b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f639b412744 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f639b410c9f in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f639b4111f8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f639f4e427e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f6393aaa953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f639c7b0971 in start_thread () from /lib/libpthread.so.0
#12 0x00007f639ecb692d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f63a1f7c7a0 (LWP 4210)):
[KCrash Handler]
#6  0x00007f639ec03ba5 in raise () from /lib/libc.so.6
#7  0x00007f639ec076b0 in abort () from /lib/libc.so.6
#8  0x00007f639f4db864 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f639f4dba42 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f639f4dbbf5 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f63a0f72538 in FilterFactory::filter (value=1048576, filter=..., matchBegin=false, matchEnd=false) at /home/bruno/kde/src/amarok/src/core-impl/collections/support/MemoryFilter.cpp:78
#12 0x00007f63a0f7d2b9 in Collections::MemoryQueryMaker::excludeFilter (this=0x7f6348013360, value=1048576, filter=..., matchBegin=false, matchEnd=false) at /home/bruno/kde/src/amarok/src/core-impl/collections/support/MemoryQueryMaker.cpp:467
#13 0x00007f6398d7ef00 in Collections::MetaQueryMaker::excludeFilter (this=0x7f63480137d0, value=1048576, filter=..., matchBegin=false, matchEnd=false) at /home/bruno/kde/src/amarok/src/core/collections/MetaQueryMaker.cpp:174
#14 0x00007f6360bc7342 in CurrentEngine::stoppedState (this=0x22ea530) at /home/bruno/kde/src/amarok/src/context/engines/current/CurrentEngine.cpp:180
#15 0x00007f6360bc768c in CurrentEngine::update (this=0x22ea530) at /home/bruno/kde/src/amarok/src/context/engines/current/CurrentEngine.cpp:235
#16 0x00007f6360bc6d29 in CurrentEngine::engineTrackChanged (this=0x22ea530, track=...) at /home/bruno/kde/src/amarok/src/context/engines/current/CurrentEngine.cpp:103
#17 0x00007f6398d9a941 in Engine::EngineSubject::trackChangedNotify (this=0x1708810, track=...) at /home/bruno/kde/src/amarok/src/core/engine/EngineObserver.cpp:209
#18 0x00007f63a10dc306 in EngineController::slotQueueEnded (this=0x1708810) at /home/bruno/kde/src/amarok/src/EngineController.cpp:1003
#19 0x00007f63a10df97d in EngineController::qt_metacall (this=0x1708810, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7ffff253b3b0) at /home/bruno/kde/build/amarok/src/EngineController.moc:158
#20 0x00007f639f5efb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00007f639bdcc24d in Phonon::MediaObject::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libphonon.so.4
#22 0x00007f639f5efb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x00007f63843b6c02 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#24 0x00007f63843b75e2 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#25 0x00007f639f5e9bde in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007f639ff8dfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f639ff93aed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f63a19944d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f639f5d7cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x00007f639f5dac22 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#31 0x00007f639f604653 in ?? () from /usr/lib/libQtCore.so.4
#32 0x00007f6397a90342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f6397a942a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f6397a9445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007f639f604193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f63a0040a4e in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f639f5d6a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f639f5d6dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f639f5daebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0x000000000040ae93 in main (argc=1, argv=0x7ffff253def8) at /home/bruno/kde/src/amarok/src/main.cpp:237

Reported using DrKonqi
Comment 1 Bruno Bigras 2010-10-18 04:57:14 UTC
By the way, I'm using c94ee851007112a617d7ada080b3e76ec9e389d1 (from this morning.)
Comment 2 Mark Kretschmann 2010-10-18 10:11:52 UTC
commit 03ec274095fd8fd16ab9dd6a54d942b59a550c08
branch master
Author: Mark Kretschmann <kretschmann@kde.org>
Date:   Mon Oct 18 09:53:14 2010 +0200

   Fix Assert triggered by missing MemoryFilter.

   BUG: 254517
   CCMAIL: amarok-devel@kde.org

diff --git a/src/core-impl/collections/support/MemoryFilter.cpp b/src/core-impl/collections/support/MemoryFilter.cpp
index 58d5c21..ecb92ff 100644
--- a/src/core-impl/collections/support/MemoryFilter.cpp
+++ b/src/core-impl/collections/support/MemoryFilter.cpp
@@ -67,6 +67,13 @@ namespace FilterFactory
                result = new LabelFilter( filter, matchBegin, matchEnd );
                break;
            }
+            case Meta::valLastPlayed:
+            {
+                LastPlayedFilter *lpf = new LastPlayedFilter();
+                lpf->setFilter( (qint64)filter.toInt(), Collections::QueryMaker::Equals );
+                result = lpf;
+                break;
+            }
            case Meta::valUrl:
            {
                UrlMemoryFilter *umf = new UrlMemoryFilter();