Bug 194593 - Amarok crashes when we stop a playing song in the last seconds
Summary: Amarok crashes when we stop a playing song in the last seconds
Status: RESOLVED DUPLICATE of bug 187904
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 22:15 UTC by Yoan
Modified: 2009-05-31 00:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoan 2009-05-29 22:15:48 UTC
Version:           2.0.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

The crash occurs when a song is playing.
In the last seconds before the end, just before amarok automatically stop playing, if I click manually on the "stop" button amarok crashes with signal SIGABRT. This problem does not occurs in the middle of the sond for example.

It seems to be related with fader : if I choose a 2sec fader, at 10sec before the end I stop amarok and it do not crash. But if choose a 10sec fader, it crashes at 10sec before the end (it crashes at the end of the fade)
Comment 1 Dario Andres 2009-05-29 22:23:55 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the "amarok-dbg" package.
Thanks
Comment 2 Yoan 2009-05-29 22:31:12 UTC
Okay. This is the backtrace :

Application : Amarok (amarok), signal SIGABRT
[Current thread is 0 (LWP 16234)]

Thread 16 (Thread 0xb0fcbb90 (LWP 16240)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bc7ae3 in ?? () from /usr/lib/libxine.so.1

Thread 15 (Thread 0xb074eb90 (LWP 16241)):
#0  0xb441f0ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6ac106b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6ac1241 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6ac2e2c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6abf61a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb44bb9c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb44bbdda in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb44bc268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6abf457 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb6a9206a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb6a924aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb699c639 in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0xb1c1520a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xabf4cb90 (LWP 16247)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb679aae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb07c4b19 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 0xaff47b90 (LWP 16248)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bd8d8e in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 0xaf5ffb90 (LWP 16250)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb679d7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6a71380 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xadaf3b90 (LWP 16252)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb69a09b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5e00148 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0xb5e02eec in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb5dfed2b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5e02fea in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5e00fbe in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5e015fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#10 0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xab74bb90 (LWP 16253)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb69a09b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5e00148 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0xb5e02eec in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb5dfed2b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5e02fea in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5e00fbe in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb5e015fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#16 0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#17 0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xaaf4ab90 (LWP 16254)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb69a09b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5e00148 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0xb5e02eec in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb5dfed2b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5e02fea in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb5e00fbe in ?? () from /usr/lib/libthreadweaver.so.4
#17 0xb5e015fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#18 0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#19 0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xaa749b90 (LWP 16255)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb69a09b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb5e00148 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0xb5e02eec in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb5dfed2b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5e02fea in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5e03009 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5e006d3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5e00fbe in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5e015fb in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#14 0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#15 0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0x9fdaab90 (LWP 16272)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb679d7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb1bf17d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 6 (Thread 0x9f1c0b90 (LWP 16273)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bcb246 in ?? () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0x9e9bfb90 (LWP 16274)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bcb246 in ?? () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 4 (Thread 0x9e1beb90 (LWP 16275)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bdbbd2 in ?? () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 3 (Thread 0x99600b90 (LWP 16277)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb69a098c in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb6995e76 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb699f96e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb787b4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb67a549e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x989ffb90 (LWP 16281)):
#0  0xb8009430 in __kernel_vsyscall ()
#1  0xb787f0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb1bd8d8e in ?? () from /usr/lib/libxine.so.1
#3  0x00000001 in ?? ()

Thread 1 (Thread 0xb3f63710 (LWP 16234)):
[KCrash Handler]
#6  0xb8009430 in __kernel_vsyscall ()
#7  0xb66ec6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb66ee098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6997595 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6997681 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6997775 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7b32a40 in EngineController::slotAboutToFinish () from /usr/lib/libamaroklib.so.1
#13 0xb7b32a9b in EngineController::slotPrefinishMarkReached () from /usr/lib/libamaroklib.so.1
#14 0xb7b36919 in EngineController::qt_metacall () from /usr/lib/libamaroklib.so.1
#15 0xb6aa9ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6aaa932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb5d6f623 in Phonon::MediaObject::prefinishMarkReached () from /usr/lib/libphonon.so.4
#18 0xb5d7226a in Phonon::MediaObject::qt_metacall () from /usr/lib/libphonon.so.4
#19 0xb6aa9ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6aaa932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb1c2ec83 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#22 0xb1c33151 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#23 0xb6aa28fb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#24 0xb6aa43a0 in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb6f64e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb6f6d19e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb7e5694d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb6a93a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb6a94695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#30 0xb6a9488d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#31 0xb6abf7ef in ?? () from /usr/lib/libQtCore.so.4
#32 0xb44b8b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb44bc0eb in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb44bc268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb6abf438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#36 0xb7006365 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6a9206a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#38 0xb6a924aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#39 0xb6a94959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#40 0xb6f64d17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#41 0x0814c4b2 in _start ()
Comment 3 Dario Andres 2009-05-29 22:41:49 UTC
Have you installed the "amarok-dbg" package ? .. There are still some symbols missing:

#12 0xb7b32a40 in EngineController::slotAboutToFinish () from
/usr/lib/libamaroklib.so.1
#13 0xb7b32a9b in EngineController::slotPrefinishMarkReached () from
/usr/lib/libamaroklib.so.1
#14 0xb7b36919 in EngineController::qt_metacall () from
/usr/lib/libamaroklib.so.1
Comment 4 Yoan 2009-05-29 22:50:06 UTC
errr no, but I do not want to do that.
I'm using amarok with gnome and it requires 500Mo to install amarok-dbg (with kdelibs5-dbg and libqt4-dbg).

:-(
Comment 5 Dario Andres 2009-05-29 22:52:03 UTC
Ok. Could you start Amarok from Konsole  and when it crashes, save the shell output and paste it here (specially the ASSERT line). Thanks
Comment 6 Yoan 2009-05-29 23:04:37 UTC
Yes. There is indeed an ASSERT line at the end :

~$ amarok
amarok(21472) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
Object::connect: No such slot MainWindow::showStatistics() in /build/buildd/amarok-2.0.2mysql5.1.30/amarok-2.0.2/src/MainWindow.cpp:692
Object::connect:  (receiver name: 'MainWindow')
QLayout: Attempting to add QLayout "" to MainWindow "MainWindow", which already has a layout
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
amarok(21472) Plasma::Applet::save: saving to "1"
amarok(21472) Context::ContextView::setContainment: "" Line:  599
amarok(21472) Plasma::ThemePrivate::config: using theme for app "amarok"
amarok(21472) Plasma::Applet::save: saving to "2"
amarok(21472) Plasma::Applet::save: saving to "3"
amarok(21472) Plasma::Applet::save: saving to "4"
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(21472) Context::ColumnContainment::insertInGrid: "" Line:  603
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
Object::connect: No such slot FileBrowser::Widget::setDir( const QString& ) in /build/buildd/amarok-2.0.2mysql5.1.30/amarok-2.0.2/src/browsers/filebrowser/FileBrowser.cpp:112
Object::connect:  (sender name:   'KBookmarkHandler')
Object::connect:  (receiver name: 'FileBrowser::Widget')
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
QPainter::begin: Cannot paint on a null pixmap
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(21472) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
ASSERT: "d" in file /usr/include/ksharedptr.h, line 120
KCrash: Application 'amarok' crashing...
sock_file=/home/yoan/.kde/socket-studio17/kdeinit4__0
Comment 7 Dario Andres 2009-05-31 00:02:51 UTC
This is probably a dupe of bug 191213 / bug 187904.(fixed on 2.1) Marking as such. 
Thanks

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