Bug 245718

Summary: Amarok crash in dynamic/random playlist, while pressing "next song" button [@ Engine::EngineSubject::newTrackPlaying]
Product: [Applications] amarok Reporter: Thomas Meyer <thomas.mey>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: p92
Priority: NOR    
Version: 2.3.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Thomas Meyer 2010-07-25 11:19:36 UTC
Application: amarok (2.3.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-rc6 i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Amarok crash in dynamic/random playlist, while pressing "next song" button.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76af780 (LWP 2332))]

Thread 6 (Thread 0xb0885b70 (LWP 2341)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0x4f4a922c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4f3cba0d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x411246af in wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x431c3e60 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x431c683d in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x431c30ec in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x431c693a in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x431c4e36 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x431c54dc in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0x4112374f in QThreadPrivate::start (arg=0x99e6b90) at thread/qthread_unix.cpp:248
#17 0x4f4a5919 in start_thread () from /lib/libpthread.so.0
#18 0x4f3bbcbe in clone () from /lib/libc.so.6

Thread 5 (Thread 0xadd39b70 (LWP 2342)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0x4f4a922c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4f3cba0d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x411246af in wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x431c3e60 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x431c683d in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x431c30ec in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x431c693a in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x431c4e36 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x431c54dc in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0x4112374f in QThreadPrivate::start (arg=0x99e7c60) at thread/qthread_unix.cpp:248
#15 0x4f4a5919 in start_thread () from /lib/libpthread.so.0
#16 0x4f3bbcbe in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa91feb70 (LWP 2343)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0x4f4a922c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4f3cba0d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x411246af in wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x431c3e60 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x431c683d in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x431c30ec in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x431c693a in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x431c4e36 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x431c54dc in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x4112374f in QThreadPrivate::start (arg=0x98e3010) at thread/qthread_unix.cpp:248
#13 0x4f4a5919 in start_thread () from /lib/libpthread.so.0
#14 0x4f3bbcbe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa89fdb70 (LWP 2344)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0x4f4a922c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4f3cba0d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x411246af in wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x99e6748, mutex=0x99e69e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x431c3e60 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x431c683d in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x431c30ec in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x431c693a in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#17 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#18 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#19 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#20 0x431c6959 in ?? () from /usr/lib/libthreadweaver.so.4
#21 0x431c40f4 in ?? () from /usr/lib/libthreadweaver.so.4
#22 0x431c4e36 in ?? () from /usr/lib/libthreadweaver.so.4
#23 0x431c54dc in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#24 0x4112374f in QThreadPrivate::start (arg=0x9a5a428) at thread/qthread_unix.cpp:248
#25 0x4f4a5919 in start_thread () from /lib/libpthread.so.0
#26 0x4f3bbcbe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa59dab70 (LWP 2350)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0x4f4a922c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4f3cba0d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x43942547 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x43a14d80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0x43942592 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x43a14d80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0x4f4a5919 in start_thread () from /lib/libpthread.so.0
#6  0x4f3bbcbe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76af780 (LWP 2332)):
[KCrash Handler]
#6  0x000001a9 in ?? ()
#7  0x4322b386 in Engine::EngineSubject::newTrackPlaying (this=0x92abfa8) at /usr/src/debug/amarok-2.3.1/src/core/engine/EngineObserver.cpp:196
#8  0x457bf628 in EngineController::slotNewTrackPlaying (this=0x92abfa8, source=...) at /usr/src/debug/amarok-2.3.1/src/EngineController.cpp:1065
#9  0x457c411c in EngineController::qt_metacall (this=0x92abfa8, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbf9d74e8)
    at /usr/src/debug/amarok-2.3.1/i686-redhat-linux-gnu/src/EngineController.moc:156
#10 0x41219bcb in QMetaObject::metacall (object=0x92abfa8, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbf9d74e8) at kernel/qmetaobject.cpp:237
#11 0x41228a75 in QMetaObject::activate (sender=0x92ae590, m=0x426531c8, local_signal_index=7, argv=0xbf9d74e8) at kernel/qobject.cpp:3295
#12 0x4260ed84 in Phonon::MediaObject::currentSourceChanged (this=0x92ae590, _t1=...) at /usr/src/debug/phonon-4.4.2/i686-redhat-linux-gnu/phonon/moc_mediaobject.cpp:234
#13 0x426108c5 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0x92ade38, source=...) at /usr/src/debug/phonon-4.4.2/phonon/mediaobject.cpp:446
#14 0x42611622 in Phonon::MediaObject::qt_metacall (this=0x92ae590, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbf9d7678)
    at /usr/src/debug/phonon-4.4.2/i686-redhat-linux-gnu/phonon/moc_mediaobject.cpp:144
#15 0x41219bcb in QMetaObject::metacall (object=0x92ae590, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbf9d7678) at kernel/qmetaobject.cpp:237
#16 0x41228a75 in QMetaObject::activate (sender=0x9259738, m=0xb5cf6710, local_signal_index=0, argv=0xbf9d7678) at kernel/qobject.cpp:3295
#17 0xb5cd6694 in Phonon::Gstreamer::MediaObject::currentSourceChanged (this=0x9259738, _t1=...) at /usr/src/debug/phonon-4.4.2/i686-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:173
#18 0xb5cd95a1 in Phonon::Gstreamer::MediaObject::setSource (this=0x9259738, source=...) at /usr/src/debug/phonon-4.4.2/gstreamer/mediaobject.cpp:927
#19 0x42610e6e in Phonon::MediaObject::setCurrentSource (this=0x92ae590, newSource=...) at /usr/src/debug/phonon-4.4.2/phonon/mediaobject.cpp:260
#20 0x457bff88 in EngineController::playUrl (this=0x92abfa8, url=..., offset=0) at /usr/src/debug/amarok-2.3.1/src/EngineController.cpp:481
#21 0x457c173b in EngineController::play (this=0x92abfa8, track=..., offset=0) at /usr/src/debug/amarok-2.3.1/src/EngineController.cpp:403
#22 0x454058cd in Playlist::Actions::play (this=0x96032d0, trackid=790300200806784175, now=true) at /usr/src/debug/amarok-2.3.1/src/playlist/PlaylistActions.cpp:229
#23 0x45405b08 in Playlist::Actions::requestUserNextTrack (this=0x96032d0) at /usr/src/debug/amarok-2.3.1/src/playlist/PlaylistActions.cpp:153
#24 0x45405e48 in Playlist::Actions::next (this=0x96032d0) at /usr/src/debug/amarok-2.3.1/src/playlist/PlaylistActions.cpp:245
#25 0x45353953 in Playlist::Actions::qt_metacall (this=0x96032d0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9d7b78)
    at /usr/src/debug/amarok-2.3.1/i686-redhat-linux-gnu/src/moc_PlaylistActions.cpp:101
#26 0x41219bcb in QMetaObject::metacall (object=0x96032d0, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbf9d7b78) at kernel/qmetaobject.cpp:237
#27 0x41228a75 in QMetaObject::activate (sender=0x968c7d8, m=0x45b23768, local_signal_index=1, argv=0xbf9d7b78) at kernel/qobject.cpp:3295
#28 0x458d21a4 in AnimatedLabelStack::clicked (this=0x968c7d8, _t1=...) at /usr/src/debug/amarok-2.3.1/i686-redhat-linux-gnu/src/AnimatedLabelStack.moc:108
#29 0x418f661d in QWidget::event (this=0x968c7d8, event=0xbf9d8170) at kernel/qwidget.cpp:8044
#30 0x418a377c in QApplicationPrivate::notify_helper (this=0x922b148, receiver=0x968c7d8, e=0xbf9d8170) at kernel/qapplication.cpp:4306
#31 0x418aad7e in QApplication::notify (this=0xbf9d8a28, receiver=0x968c7d8, e=0xbf9d8170) at kernel/qapplication.cpp:3871
#32 0x423d300b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x41215133 in QCoreApplication::notifyInternal (this=0xbf9d8a28, receiver=0x968c7d8, event=0xbf9d8170) at kernel/qcoreapplication.cpp:726
#34 0x418a9ae8 in sendEvent (receiver=0x968c7d8, event=0xbf9d8170, alienWidget=0x968c7d8, nativeWidget=0x964a668, buttonDown=0x421ac318, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x968c7d8, event=0xbf9d8170, alienWidget=0x968c7d8, nativeWidget=0x964a668, buttonDown=0x421ac318, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2971
#36 0x419272f0 in QETWidget::translateMouseEvent (this=0x964a668, event=0xbf9d868c) at kernel/qapplication_x11.cpp:4380
#37 0x41926743 in QApplication::x11ProcessEvent (this=0xbf9d8a28, event=0xbf9d868c) at kernel/qapplication_x11.cpp:3391
#38 0x4195274a in x11EventSourceDispatch (s=0x9227640, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x4f515525 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x4f519268 in ?? () from /lib/libglib-2.0.so.0
#41 0x4f519449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x4123d446 in QEventDispatcherGlib::processEvents (this=0x91359f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0x41952336 in QGuiEventDispatcherGlib::processEvents (this=0x91359f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x4121380a in QEventLoop::processEvents (this=0xbf9d8984, flags=...) at kernel/qeventloop.cpp:149
#45 0x41213b4a in QEventLoop::exec (this=0xbf9d8984, flags=...) at kernel/qeventloop.cpp:201
#46 0x41217807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#47 0x418a3828 in QApplication::exec () at kernel/qapplication.cpp:3585
#48 0x0804ff2d in main (argc=48, argv=0x219) at /usr/src/debug/amarok-2.3.1/src/main.cpp:237

Possible duplicates by query: bug 245670, bug 235581.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-07-25 11:56:38 UTC
Please install all debugging symbols for Amarok dependencies, too, your backtrace starts with a ?? line which indicates that it is not complete. I suspect a Phonon bug, not an Amarok one.
Comment 2 Thomas Meyer 2010-07-25 13:20:11 UTC
okay. did so. how to rerun this crash report program?
Comment 3 Myriam Schweingruber 2010-07-25 13:44:20 UTC
Well, try to reproduce this bug with the exact steps you had it first, Dr. Konqi will start automatically when the crash happens.
Comment 4 p92 2010-08-07 13:15:20 UTC
Created attachment 49900 [details]
New crash information added by DrKonqi

I ran a dynamic playlist with one of each kind of the 3 possible category of criteria.
After the first song played amarok just stopped playing which is strange
When I clicked on play button  amarok crashed
Comment 5 Myriam Schweingruber 2010-08-07 13:28:04 UTC
Thank you for the feedback.
Comment 6 Myriam Schweingruber 2010-08-08 23:30:20 UTC

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