Bug 324682 - Juk crashes with SIGABRT when stopping to play a track
Summary: Juk crashes with SIGABRT when stopping to play a track
Status: RESOLVED UPSTREAM
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.6.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Rohan Garg
URL:
Keywords: drkonqi
: 327272 329801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-08 21:57 UTC by Guido Winkelmann
Modified: 2014-08-19 14:55 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2013-09-08 21:57:02 UTC
Application: juk (3.9.1)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0 x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
Juk will crash every time it stops playing a track, be it because it has reached the end of the track, or because the user presses the stop or forward button.

The Phonon backend in use is GStreamer, compiled against ffmpeg.

The crash can be reproduced every time.

-- Backtrace:
Application: JuK (juk), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5cc7ff0780 (LWP 6444))]

Thread 4 (Thread 0x7f5caa9af700 (LWP 6476)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5cbfa9bdc7 in g_cond_wait (cond=0xc5e070, mutex=<optimized out>) at gthread-posix.c:746
#2  0x00007f5cb435aefc in gst_task_func (task=0x26eb040) at gsttask.c:312
#3  0x00007f5cbfa82f10 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:309
#4  0x00007f5cbfa826f5 in g_thread_proxy (data=0x2518d90) at gthread.c:801
#5  0x00007f5cc2c89006 in start_thread (arg=0x7f5caa9af700) at pthread_create.c:305
#6  0x00007f5cc395254d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f5caa117700 (LWP 6477)):
#0  0x00007f5cbfa9b883 in g_mutex_get_impl (mutex=0x7f5c9c0009a0) at gthread-posix.c:118
#1  0x00007f5cbfa9bb09 in g_mutex_unlock (mutex=<optimized out>) at gthread-posix.c:227
#2  0x00007f5cbfa60e7a in g_main_context_prepare (context=0x7f5c9c0009a0, priority=0x7f5caa116cc8) at gmain.c:2834
#3  0x00007f5cbfa615db in g_main_context_iterate (dispatch=1, block=1, context=0x7f5c9c0009a0, self=<optimized out>) at gmain.c:3126
#4  g_main_context_iterate (context=0x7f5c9c0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3083
#5  0x00007f5cbfa617cc in g_main_context_iteration (context=0x7f5c9c0009a0, may_block=1) at gmain.c:3207
#6  0x00007f5cc45d938e in QEventDispatcherGlib::processEvents (this=0x7f5c9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f5cc45a8f12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f5cc45a9197 in QEventLoop::exec (this=0x7f5caa116de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f5cc44a7f5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x00007f5cc44aa77c in QThreadPrivate::start (arg=0x9855e0) at thread/qthread_unix.cpp:338
#11 0x00007f5cc2c89006 in start_thread (arg=0x7f5caa117700) at pthread_create.c:305
#12 0x00007f5cc395254d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5ca9916700 (LWP 6478)):
#0  QTimerInfoList::updateCurrentTime (this=0x7f5ca0002060) at kernel/qeventdispatcher_unix.cpp:355
#1  0x00007f5cc45da03c in QTimerInfoList::timerWait (this=0x7f5ca0002060, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#2  0x00007f5cc45d89bc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f5ca9915c7c) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007f5cbfa60e85 in g_main_context_prepare (context=0x7f5ca00009a0, priority=0x7f5ca9915cc8) at gmain.c:2836
#4  0x00007f5cbfa615db in g_main_context_iterate (dispatch=1, block=1, context=0x7f5ca00009a0, self=<optimized out>) at gmain.c:3126
#5  g_main_context_iterate (context=0x7f5ca00009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3083
#6  0x00007f5cbfa617cc in g_main_context_iteration (context=0x7f5ca00009a0, may_block=1) at gmain.c:3207
#7  0x00007f5cc45d938e in QEventDispatcherGlib::processEvents (this=0x7f5ca00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f5cc45a8f12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f5cc45a9197 in QEventLoop::exec (this=0x7f5ca9915de0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f5cc44a7f5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#11 0x00007f5cc44aa77c in QThreadPrivate::start (arg=0x16189b0) at thread/qthread_unix.cpp:338
#12 0x00007f5cc2c89006 in start_thread (arg=0x7f5ca9916700) at pthread_create.c:305
#13 0x00007f5cc395254d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5cc7ff0780 (LWP 6444)):
[KCrash Handler]
#6  0x00007f5cc389fe35 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f5cc38a1305 in __GI_abort () at abort.c:91
#8  0x00007f5cb489fceb in snd_pcm_direct_semaphore_final (dmix=0xfa37d0, sem_num=<optimized out>) at pcm_direct.h:278
#9  snd_pcm_dmix_close (pcm=0xd5b210) at pcm_dmix.c:786
#10 0x00007f5cb486baad in snd_pcm_close (pcm=0xd5b210) at pcm.c:707
#11 0x00007f5cb488a566 in snd_pcm_plug_close (pcm=0xf97000) at pcm_plug.c:71
#12 0x00007f5cb486baad in snd_pcm_close (pcm=0xf97000) at pcm.c:707
#13 0x00007f5cb172b3f5 in gst_alsasink_close (asink=0xd925e0) at gstalsasink.c:790
#14 0x00007f5cb150efa4 in gst_audioringbuffer_close_device (buf=<optimized out>) at gstaudiosink.c:372
#15 0x00007f5cb14f5fbb in gst_ring_buffer_close_device (buf=0xd49340) at gstringbuffer.c:722
#16 0x00007f5cb150b81e in gst_base_audio_sink_change_state (element=0xd925e0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:2234
#17 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#18 0x00007f5cb431c410 in gst_element_set_state_func (element=0xd925e0, state=GST_STATE_NULL) at gstelement.c:2717
#19 0x00007f5cb430a1ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=331792290249, base_time=0, element=0xd925e0, bin=0xd7d000) at gstbin.c:2209
#20 gst_bin_change_state_func (element=0xd7d000, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#21 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#22 0x00007f5cb431c410 in gst_element_set_state_func (element=0xd7d000, state=GST_STATE_NULL) at gstelement.c:2717
#23 0x00007f5cb430a1ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=331792290249, base_time=0, element=0xd7d000, bin=0xd7d170) at gstbin.c:2209
#24 gst_bin_change_state_func (element=0xd7d170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#25 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#26 0x00007f5cb431c410 in gst_element_set_state_func (element=0xd7d170, state=GST_STATE_NULL) at gstelement.c:2717
#27 0x00007f5cb430a1ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=331792290249, base_time=0, element=0xd7d170, bin=0xd7db80) at gstbin.c:2209
#28 gst_bin_change_state_func (element=0xd7db80, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#29 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#30 0x00007f5cb431c410 in gst_element_set_state_func (element=0xd7db80, state=GST_STATE_NULL) at gstelement.c:2717
#31 0x00007f5cb0600a3f in activate_chain (activate=0, chain=0x7f5ca4029f80) at gstplaysink.c:971
#32 activate_chain (chain=0x7f5ca4029f80, activate=0) at gstplaysink.c:957
#33 0x00007f5cb0600e67 in gst_play_sink_change_state (element=0xf900b0, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaysink.c:3587
#34 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#35 0x00007f5cb431c410 in gst_element_set_state_func (element=0xf900b0, state=GST_STATE_READY) at gstelement.c:2717
#36 0x00007f5cb430a1ed in gst_bin_element_set_state (next=GST_STATE_READY, current=GST_STATE_PAUSED, start_time=331792290249, base_time=0, element=0xf900b0, bin=0xd54810) at gstbin.c:2209
#37 gst_bin_change_state_func (element=0xd54810, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2518
#38 0x00007f5cb4339aa0 in gst_pipeline_change_state (element=0xd54810, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:482
#39 0x00007f5cb05fa9da in gst_play_bin_change_state (element=0xd54810, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaybin2.c:3936
#40 0x00007f5cb431bb3e in gst_element_change_state (element=<optimized out>, transition=<optimized out>) at gstelement.c:2761
#41 0x00007f5cb431bbbf in gst_element_change_state (element=0xd54810, transition=<optimized out>) at gstelement.c:2798
#42 0x00007f5cb431c410 in gst_element_set_state_func (element=0xd54810, state=GST_STATE_READY) at gstelement.c:2717
#43 0x00007f5cb45f22b6 in Phonon::Gstreamer::Pipeline::setState (this=0xd52460, state=GST_STATE_READY) at /var/tmp/portage/media-libs/phonon-gstreamer-4.6.3/work/phonon-backend-gstreamer-4.6.3/gstreamer/pipeline.cpp:242
#44 0x00007f5cb45ea0f2 in Phonon::Gstreamer::MediaObject::handleEndOfStream (this=0xbd1c00) at /var/tmp/portage/media-libs/phonon-gstreamer-4.6.3/work/phonon-backend-gstreamer-4.6.3/gstreamer/mediaobject.cpp:564
#45 0x00007f5cb45edcd9 in qt_static_metacall (_a=0x7f5c90029fd0, _id=26, _o=0xbd1c00, _c=<optimized out>) at /var/tmp/portage/media-libs/phonon-gstreamer-4.6.3/work/phonon-gstreamer-4.6.3_build/gstreamer/moc_mediaobject.cpp:139
#46 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0xbd1c00, _c=<optimized out>, _id=26, _a=0x7f5c90029fd0) at /var/tmp/portage/media-libs/phonon-gstreamer-4.6.3/work/phonon-gstreamer-4.6.3_build/gstreamer/moc_mediaobject.cpp:107
#47 0x00007f5cc45c3c5e in QObject::event (this=0xbd1c00, e=<optimized out>) at kernel/qobject.cpp:1194
#48 0x00007f5cc4aeb0b4 in notify_helper (e=0x7f5c9003d9b0, receiver=0xbd1c00, this=0x78ab00) at kernel/qapplication.cpp:4562
#49 QApplicationPrivate::notify_helper (this=0x78ab00, receiver=0xbd1c00, e=0x7f5c9003d9b0) at kernel/qapplication.cpp:4534
#50 0x00007f5cc4aefd61 in QApplication::notify (this=0x7fffc1aac580, receiver=0xbd1c00, e=0x7f5c9003d9b0) at kernel/qapplication.cpp:3944
#51 0x00007f5cc622ce88 in KApplication::notify (this=0x7fffc1aac580, receiver=0xbd1c00, event=0x7f5c9003d9b0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#52 0x00007f5cc45aa44b in QCoreApplication::notifyInternal (this=0x7fffc1aac580, receiver=0xbd1c00, event=0x7f5c9003d9b0) at kernel/qcoreapplication.cpp:946
#53 0x00007f5cc45ada49 in sendEvent (event=0x7f5c9003d9b0, receiver=0xbd1c00) at kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x7311f0) at kernel/qcoreapplication.cpp:1570
#55 0x00007f5cc45d8f53 in sendPostedEvents () at kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f5cbfa613d2 in g_main_dispatch (context=0x77af60) at gmain.c:2539
#58 g_main_context_dispatch (context=0x77af60) at gmain.c:3075
#59 0x00007f5cbfa61710 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x77af60, self=<optimized out>) at gmain.c:3146
#60 g_main_context_iterate (context=0x77af60, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#61 0x00007f5cbfa617cc in g_main_context_iteration (context=0x77af60, may_block=1) at gmain.c:3207
#62 0x00007f5cc45d938e in QEventDispatcherGlib::processEvents (this=0x77b5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#63 0x00007f5cc4b8ec86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f5cc45a8f12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f5cc45a9197 in QEventLoop::exec (this=0x7fffc1aac510, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f5cc45ae4c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#67 0x00000000004327a4 in main (argc=5, argv=0x7fffc1aaccf8) at /var/tmp/portage/kde-base/juk-4.10.5/work/juk-4.10.5/main.cpp:104

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-07 14:18:23 UTC
*** Bug 327272 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2014-01-11 01:55:06 UTC
*** Bug 329801 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2014-08-10 10:28:17 UTC
This is not a problem in the phonon backend but in Alsa, please report this upstream.
Comment 4 Guido Winkelmann 2014-08-19 14:55:50 UTC
(In reply to Myriam Schweingruber from comment #3)
> This is not a problem in the phonon backend but in Alsa, please report this
> upstream.

I do not have sufficient insight on what parts of alsa exactly are producing this problem to be able to report this upstream.