Bug 291168

Summary: Crashes at exit
Product: [Applications] amarok Reporter: SZÉKELYI Szabolcs <cc>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.6   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SZÉKELYI Szabolcs 2012-01-10 13:55:09 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-rc4-686-pae i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Amarok produces this backtrace when exiting while playing a webradio.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
__libc_enable_asynccancel () at ../nptl/cancellation.c:44
	in ../nptl/cancellation.c
[Current thread is 1 (Thread 0xafc99720 (LWP 4123))]

Thread 14 (Thread 0xae68bb70 (LWP 4127)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb4841703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb5780ad4 in __pthread_cond_timedwait (cond=0x996c3f8, mutex=0x996c3e0, abstime=0xae68b318) at forward.c:152
#3  0xae8b3a69 in metronom_sync_loop (this=0x996c398) at metronom.c:870
#4  0xb483cc39 in start_thread (arg=0xae68bb70) at pthread_create.c:304
#5  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 13 (Thread 0xade8ab70 (LWP 4128)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb483de65 in pthread_join (threadid=2720299888, thread_return=0xade89aac) at pthread_join.c:89
#2  0xae8bfd42 in _x_audio_decoder_shutdown (stream=0xa38a5998) at audio_decoder.c:543
#3  0xae8afd38 in xine_dispose (stream=0xa38a5998) at xine.c:1531
#4  0xae914243 in Phonon::Xine::XineStream::~XineStream (this=0x9919500, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../xine/xinestream.cpp:194
#5  0xae914322 in Phonon::Xine::XineStream::~XineStream (this=0x9919500, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../xine/xinestream.cpp:209
#6  0xae90edd2 in ~QExplicitlySharedDataPointer (this=0xad36fcf0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#7  ~QExplicitlySharedDataPointer (this=0xad36fcf0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:740
#8  node_destruct (to=0xad368754, from=0xad368754, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:418
#9  QList<QExplicitlySharedDataPointer<Phonon::Xine::SharedData> >::free (data=0xad368740, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:742
#10 0xae90f8a9 in ~KeepReference (this=0xad3685b0, __in_chrg=<optimized out>) at ../../xine/keepreference.h:45
#11 Phonon::Xine::KeepReference<0>::~KeepReference (this=0xad3685b0, __in_chrg=<optimized out>) at ../../xine/keepreference.h:45
#12 0xb5a7d023 in qDeleteInEventHandler(QObject*) () from /usr/lib/libQtCore.so.4
#13 0xb5a82618 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#14 0xae90f69b in Phonon::Xine::KeepReference<0>::event (this=0xad3685b0, e=0xa38e4420) at ../../xine/keepreference.h:61
#15 0xb5fc7904 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb5fccc92 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb758b161 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb5a6a31e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0xb5a6dae4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0xb5a6dc2c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#21 0xb5a981a4 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQtCore.so.4
#22 0xb3913a3f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb3914170 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb391440a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb5a985d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb5a6933d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb5a69581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb596c85b in QThread::exec() () from /usr/lib/libQtCore.so.4
#29 0xae910f79 in Phonon::Xine::XineThread::run (this=0x9916e40) at ../../xine/xinethread.cpp:143
#30 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#31 0xb483cc39 in start_thread (arg=0xade8ab70) at pthread_create.c:304
#32 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 12 (Thread 0xad2ffb70 (LWP 4129)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0xad51fea8, mutex=0xad51fe90) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0xad51fea8, mutex=0xad51fe90) at forward.c:139
#3  0xae8c6c4c in fifo_peek_int (blocking=1, fifo=0xad51fe88) at audio_out.c:348
#4  fifo_peek (fifo=0xad51fe88) at audio_out.c:388
#5  ao_loop (this_gen=0xad501220) at audio_out.c:1015
#6  0xb483cc39 in start_thread (arg=0xad2ffb70) at pthread_create.c:304
#7  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 11 (Thread 0xacafeb70 (LWP 4130)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0x997b4d8, mutex=0x997b4c0) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0x997b4d8, mutex=0x997b4c0) at forward.c:139
#3  0xae8c6c4c in fifo_peek_int (blocking=1, fifo=0x997b4b8) at audio_out.c:348
#4  fifo_peek (fifo=0x997b4b8) at audio_out.c:388
#5  ao_loop (this_gen=0x997aa40) at audio_out.c:1015
#6  0xb483cc39 in start_thread (arg=0xacafeb70) at pthread_create.c:304
#7  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 10 (Thread 0xab9edb70 (LWP 4132)):
#0  0xb483f1bb in __pthread_mutex_lock (mutex=0x9b775b4) at pthread_mutex_lock.c:61
#1  0xb5780c46 in pthread_mutex_lock (mutex=0x9b775b4) at forward.c:182
#2  0xb39126fa in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3913d4d in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb391440a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5a98637 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb5a6933d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb5a69581 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb596c85b in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb5a49e7d in QInotifyFileSystemWatcherEngine::run() () from /usr/lib/libQtCore.so.4
#10 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#11 0xb483cc39 in start_thread (arg=0xab9edb70) at pthread_create.c:304
#12 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 9 (Thread 0xa9e1eb70 (LWP 4134)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at forward.c:139
#3  0xb596fbd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4fb7266 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4fb9d5b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4fb6e9a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4fb9e5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4fb8994 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4fb8a4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#12 0xb483cc39 in start_thread (arg=0xa9e1eb70) at pthread_create.c:304
#13 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 8 (Thread 0xa93fab70 (LWP 4158)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at forward.c:139
#3  0xb596fbd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4fb7266 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4fb9d5b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4fb6e9a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4fb9e5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4fb9e78 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb4fb9e78 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb4fb9e78 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb4fb9e78 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#17 0xb4fb8994 in ?? () from /usr/lib/libthreadweaver.so.4
#18 0xb4fb8a4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#19 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#20 0xb483cc39 in start_thread (arg=0xa93fab70) at pthread_create.c:304
#21 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 7 (Thread 0xa8a96b70 (LWP 4159)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at forward.c:139
#3  0xb596fbd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4fb7266 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4fb9d5b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4fb6e9a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4fb9e5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4fb8994 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4fb8a4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#12 0xb483cc39 in start_thread (arg=0xa8a96b70) at pthread_create.c:304
#13 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xa7a94b70 (LWP 4163)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0x9bbdc98, mutex=0x9bbdc80) at forward.c:139
#3  0xb596fbd0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb4fb7266 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4fb9d5b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4fb6e9a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4fb9e5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4fb9e78 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4fb6df3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb4fb8994 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb4fb8a4a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb596f6c3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#14 0xb483cc39 in start_thread (arg=0xa7a94b70) at pthread_create.c:304
#15 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xa70a0b70 (LWP 4164)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0xb4b082f0, mutex=0xb4b082d8) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0xb4b082f0, mutex=0xb4b082d8) at forward.c:139
#3  0xb4a045c9 in ?? () from /usr/lib/libQtScript.so.4
#4  0xb4a0460f in ?? () from /usr/lib/libQtScript.so.4
#5  0xb483cc39 in start_thread (arg=0xa70a0b70) at pthread_create.c:304
#6  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xa37ffb70 (LWP 4168)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb576cc91 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xae8e0a93 in xine_usec_sleep (usec=<optimized out>) at utils.c:489
#3  0xae8c14e6 in video_out_loop (this_gen=0xad3763a0) at video_out.c:1283
#4  0xb483cc39 in start_thread (arg=0xa37ffb70) at pthread_create.c:304
#5  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xa2c15b70 (LWP 4169)):
#0  0xb7802424 in __kernel_vsyscall ()
#1  0xb484120a in __pthread_cond_wait (cond=0xa3cf874c, mutex=0xa3cf8734) at pthread_cond_wait.c:153
#2  0xb5780a7d in __pthread_cond_wait (cond=0xa3cf874c, mutex=0xa3cf8734) at forward.c:139
#3  0xae8b78c4 in fifo_buffer_get (fifo=0xa3cf8720) at buffer.c:230
#4  0xae8be04d in video_decoder_loop (stream_gen=0xa38a5998) at video_decoder.c:147
#5  0xb483cc39 in start_thread (arg=0xa2c15b70) at pthread_create.c:304
#6  0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa2247b70 (LWP 4170)):
[KCrash Handler]
#7  0x5f676570 in ?? ()
#8  0xae921e8e in Phonon::Xine::AudioDataOutputXT::closePort (port_gen=0xad5f8f48, stream=0xa38a5998) at ../../xine/audiodataoutput.cpp:192
#9  0xa5f63a8b in mad_dispose (this_gen=0xa52a3e8) at xine_mad_decoder.c:381
#10 0xae8bc6b0 in _x_free_audio_decoder (stream=0xa38a5998, ad=0xa52a3e8) at load_plugins.c:2076
#11 0xae8bf4f8 in audio_decoder_loop (stream_gen=0xa38a5998) at audio_decoder.c:173
#12 0xb483cc39 in start_thread (arg=0xa2247b70) at pthread_create.c:304
#13 0xb577398e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xafc99720 (LWP 4123)):
#0  __libc_enable_asynccancel () at ../nptl/cancellation.c:44
#1  0xb5765f90 in *__GI___poll (fds=0xbfb30118, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0xb3a224f0 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0xb3a22afc in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0xb3a22bb1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0xb6969540 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0xb6969b4a in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0xb694ebd9 in XGetSelectionOwner () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0xb6059426 in QClipboard::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0xb5fc7904 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0xb5fccc92 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb5a6a31e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0xb5fd207d in QApplication::~QApplication() () from /usr/lib/libQtGui.so.4
#13 0xb7588e58 in KApplication::~KApplication() () from /usr/lib/libkdeui.so.5
#14 0xb7590bd8 in KUniqueApplication::~KUniqueApplication() () from /usr/lib/libkdeui.so.5
#15 0xb6f8f977 in App::~App() () from /usr/lib/libamaroklib.so.1
#16 0x0804feaa in ?? ()
#17 0xb56bde46 in __libc_start_main (main=0x8049c70, argc=1, ubp_av=0xbfb312b4, init=0x8056690 <__libc_csu_init>, fini=0x8056680 <__libc_csu_fini>, rtld_fini=0xb7811310, stack_end=0xbfb312ac) at libc-start.c:228
#18 0x08052589 in _start ()

Possible duplicates by query: bug 289451.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-01-10 23:54:28 UTC
This is a problem with Xine, please use a different Phonon backend.

*** This bug has been marked as a duplicate of bug 261324 ***
Comment 2 SZÉKELYI Szabolcs 2012-01-10 23:57:35 UTC
Can you recommend another backend that can change tracks without a gap in between?
Comment 3 Myriam Schweingruber 2012-01-11 00:15:41 UTC
You can try both the gstreamer or the vlc backend.