Bug 227450

Summary: Amarok 2 seg faults when quitting
Product: [Applications] amarok Reporter: Martin Nyhus <bugs.kde.org>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: eronex, johnbrier, residents.lover
Priority: NOR    
Version: 2.2.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Nyhus 2010-02-18 00:23:26 UTC
Application that crashed: amarok
Version of the application: 2.2.2
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-174.2.3.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

What I was doing when the application crashed:
When quitting Amarok 2 from the task bar it seg faulted. It was playing FLAC audio when quitting.

Distribution is Fedora, running Amarok 2.2.2-3.fc12:
$ amarok --version
Qt: 4.5.3
KDE: 4.3.5 (KDE 4.3.5)
Amarok: 2.2.2

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

Thread 17 (Thread 0x7ff5b8e1f710 (LWP 2471)):
#0  0x0000003f6d60b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdbfc4b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7ff5b841e710 (LWP 2472)):
#0  0x0000003f6d607bfd in pthread_join () from /lib64/libpthread.so.0
#1  0x00007ff5bdc14de1 in _x_demux_stop_thread () from /usr/lib64/libxine.so.1
#2  0x00007ff5bdbf8398 in xine_stop () from /usr/lib64/libxine.so.1
#3  0x00007ff5bde7cbcd in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x000000325778f65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#5  0x00000032577968ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#6  0x000000325c7133fa in App::notify(QObject*, QEvent*) () from /usr/lib64/libamaroklib.so.1
#7  0x000000325673ee6c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#8  0x000000325673fa42 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#9  0x0000003256767573 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x0000003d24e3920e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#11 0x0000003d24e3cbf8 in ?? () from /lib64/libglib-2.0.so.0
#12 0x0000003d24e3cd1a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#13 0x00000032567671e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#14 0x000000325673d772 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#15 0x000000325673db44 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#16 0x0000003256656f2b in QThread::exec() () from /usr/lib64/libQtCore.so.4
#17 0x00007ff5bde70abe in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#18 0x0000003256659d25 in ?? () from /usr/lib64/libQtCore.so.4
#19 0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#20 0x0000003f6cede67d in clone () from /lib64/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7ff5b7819710 (LWP 2473)):
#0  0x0000003f6ced51e3 in poll () from /lib64/libc.so.6
#1  0x0000003d2b62c73f in ?? () from /usr/lib64/libpulse.so.0
#2  0x0000003d2b61cae6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x0000003d2b61dea9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x0000003d2b61df60 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x0000003d2b62c64b in ?? () from /usr/lib64/libpulse.so.0
#6  0x0000003d2aa38788 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#7  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#8  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7ff5b6e18710 (LWP 2474)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc0d123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ff5b600f710 (LWP 2475)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc0d123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ff5b560e710 (LWP 2476)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc0d123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff5b4c0d710 (LWP 2477)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc0d123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff5aaaf1710 (LWP 2480)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325665addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003260809f16 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000326080c1cb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000326080acdf in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000326080b1c8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003256659d25 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#8  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff59a708710 (LWP 2481)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325665addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003260809f16 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000326080c1cb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000326080acdf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000326080b1c8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003256659d25 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff599d07710 (LWP 2485)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325665addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003260809f16 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000326080c1cb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000326080acdf in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x000000326080b1c8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#9  0x0000003256659d25 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#11 0x0000003f6cede67d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff599306710 (LWP 2488)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325665addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000003260809f16 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000326080c1cb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000326080c1e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000326080acdf in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000326080b1c8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x0000003256659d25 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0000003f6cede67d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff591b26710 (LWP 2498)):
#0  0x0000003f6ced73e3 in select () from /lib64/libc.so.6
#1  0x00007ff5bdc24575 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007ff5bdc09f99 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff590d3c710 (LWP 2499)):
#0  0x0000003f6d60b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc06263 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff574782710 (LWP 2500)):
[KCrash Handler]
#5  0x00007ff5bb35f597 in bswap_32 (s=0x7ff56c047f20, channel=<value optimized out>, pred_order=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavutil/x86/bswap.h:42
#6  get_ur_golomb_jpegls (s=0x7ff56c047f20, channel=<value optimized out>, pred_order=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavcodec/golomb.h:292
#7  get_sr_golomb_flac (s=0x7ff56c047f20, channel=<value optimized out>, pred_order=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavcodec/golomb.h:334
#8  decode_residuals (s=0x7ff56c047f20, channel=<value optimized out>, pred_order=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavcodec/flacdec.c:298
#9  0x00007ff5bb360325 in decode_subframe_lpc (avctx=<value optimized out>, data=<value optimized out>, data_size=<value optimized out>, avpkt=<value optimized out>)
    at /usr/src/debug/ffmpeg-20091026/libavcodec/flacdec.c:385
#10 decode_subframe (avctx=<value optimized out>, data=<value optimized out>, data_size=<value optimized out>, avpkt=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavcodec/flacdec.c:467
#11 decode_frame (avctx=<value optimized out>, data=<value optimized out>, data_size=<value optimized out>, avpkt=<value optimized out>) at /usr/src/debug/ffmpeg-20091026/libavcodec/flacdec.c:625
#12 flac_decode_frame (avctx=<value optimized out>, data=<value optimized out>, data_size=<value optimized out>, avpkt=<value optimized out>)
    at /usr/src/debug/ffmpeg-20091026/libavcodec/flacdec.c:712
#13 0x00007ff5bb204b4f in avcodec_decode_audio3 (avctx=0x7ff56c018cb0, samples=<value optimized out>, frame_size_ptr=<value optimized out>, avpkt=<value optimized out>)
    at /usr/src/debug/ffmpeg-20091026/libavcodec/utils.c:644
#14 0x00007ff5bb205e67 in avcodec_decode_audio2 (avctx=0x7ff56c018cb0, samples=0x7ff56c019110, frame_size_ptr=0x7ff574781c6c, 
    buf=0x7ff56c0009e0 "\204\224n\317X\261\264\071i\352(LP\321f;\202\060&\024\r\270#!\033et\vU\v\272\232\256\310\063]\236\060`\214\226\032\246{\202\261\356\035\026\234\314\037\004\201\224\243\066KQ\352+\006Eg\376\330\315\212\274T\221\235\071t\336'\312U\313v%", buf_size=8192) at /usr/src/debug/ffmpeg-20091026/libavcodec/utils.c:622
#15 0x00007ff5bbd0ade9 in _x_stream_info_set () from /usr/lib64/xine/plugins/1.26/xineplug_decode_ff.so
#16 0x00007ff5bdc0739a in ?? () from /usr/lib64/libxine.so.1
#17 0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#18 0x0000003f6cede67d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff573d81710 (LWP 2501)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc101db in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007ff5bdc1024e in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff570f05710 (LWP 2998)):
#0  0x0000003f6d60b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff5bdc1481c in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f6d606a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003f6cede67d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff5c9e8b840 (LWP 2470)):
#0  0x0000003f6d60b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325665addb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff5bde750ed in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#3  0x00007ff5bde8b3c6 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007ff5bde8b4a9 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x000000325b62540f in Phonon::MediaNodePrivate::~MediaNodePrivate() () from /usr/lib64/libphonon.so.4
#6  0x000000325b625050 in ?? () from /usr/lib64/libphonon.so.4
#7  0x000000325b6226ab in Phonon::MediaObject::~MediaObject() () from /usr/lib64/libphonon.so.4
#8  0x000000325b6226f9 in Phonon::MediaObject::~MediaObject() () from /usr/lib64/libphonon.so.4
#9  0x000000325c7288fe in EngineController::~EngineController() () from /usr/lib64/libamaroklib.so.1
#10 0x000000325c728b39 in EngineController::~EngineController() () from /usr/lib64/libamaroklib.so.1
#11 0x000000325c724136 in EngineController::destroy() () from /usr/lib64/libamaroklib.so.1
#12 0x000000325c717995 in App::~App() () from /usr/lib64/libamaroklib.so.1
#13 0x000000000040a0af in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-18 08:53:07 UTC
This is not a bug in Amarok, but with the avcodec, not much we can do about that, sorry. You should check with your distribution.
Comment 2 Myriam Schweingruber 2010-04-14 09:17:25 UTC
*** Bug 231911 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2010-04-14 09:17:40 UTC
*** Bug 234306 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Funk 2010-08-13 15:05:41 UTC
*** Bug 241030 has been marked as a duplicate of this bug. ***