Force stopping a gstreamer pipeline

Thomas Scheuermann scheuermann at barco.com
Thu Jun 9 12:49:38 UTC 2016


Should I create a ticket for this bug?

Am 07.06.2016 um 08:48 schrieb Thomas Scheuermann:
>
>
> Am 06.06.2016 um 17:49 schrieb Sebastian Dröge:
>>   [...]
>> That backtrace is still before the state is set to NULL. Can you get
>> one a bit later? :)
>>
> Sorry. Here it comes
>
> (gdb) thread apply all bt
>
> Thread 3 (Thread 0x7f6d87201700 (LWP 4362)):
> #0  0x00007f6d8527b08f in pthread_cond_wait@@GLIBC_2.3.2 () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
> #1  0x00007f6d83282d3c in  () at /usr/lib/x86_64-linux-gnu/libjack.so.0
> #2  0x00007f6d83279ea8 in  () at /usr/lib/x86_64-linux-gnu/libjack.so.0
> #3  0x00007f6d83281d20 in  () at /usr/lib/x86_64-linux-gnu/libjack.so.0
> #4  0x00007f6d852770a4 in start_thread (arg=0x7f6d87201700) at
> pthread_create.c:309
> #5  0x00007f6d8587587d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>
> Thread 2 (Thread 0x7f6d82aec700 (LWP 4365)):
> #0  0x00007f6d85871809 in syscall () at
> ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> #1  0x00007f6d8611b0bf in g_cond_wait (cond=0xc5d0b0, mutex=0xc5d068) at
> /home/barco/glib2.0-2.46.0/./glib/gthread-posix.c:1397
> #2  0x00007f6d8668f15d in gst_task_func (task=0xc5d050 [GstTask]) at
> gsttask.c:317
> #3  0x00007f6d860fdda8 in g_thread_pool_thread_proxy (data=<optimized
> out>) at /home/barco/glib2.0-2.46.0/./glib/gthreadpool.c:307
> #4  0x00007f6d860fd415 in g_thread_proxy (data=0xc4d400) at
> /home/barco/glib2.0-2.46.0/./glib/gthread.c:778
> #5  0x00007f6d852770a4 in start_thread (arg=0x7f6d82aec700) at
> pthread_create.c:309
> #6  0x00007f6d8587587d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>
> Thread 1 (Thread 0x7f6d87203700 (LWP 4361)):
> #0  0x00007f6d85871809 in syscall () at
> ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> #1  0x00007f6d8611b0bf in g_cond_wait (cond=0xc3ea90, mutex=0xc3ea88) at
> /home/barco/glib2.0-2.46.0/./glib/gthread-posix.c:1397
> #2  0x00007f6d834a8640 in gst_jack_audio_client_set_active
> (client=0xc4db00, active=0) at gstjackaudioclient.c:604
> #3  0x00007f6d834a5ea4 in gst_jack_ring_buffer_release (buf=0xc4e210
> [GstJackAudioSinkRingBuffer]) at gstjackaudiosink.c:544
> #4  0x00007f6d83d759b8 in gst_audio_ring_buffer_release (buf=0xc4e210
> [GstJackAudioSinkRingBuffer]) at gstaudioringbuffer.c:693
> #5  0x00007f6d83d93108 in gst_audio_base_sink_change_state
> (element=0xc3f680 [GstJackAudioSink],
> transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstaudiobasesink.c:2507
> #6  0x00007f6d8664737e in gst_element_change_state (element=0xc3f680
> [GstJackAudioSink], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
> gstelement.c:2648
> #7  0x00007f6d86647afa in gst_element_set_state_func (element=0xc3f680
> [GstJackAudioSink], state=GST_STATE_READY) at gstelement.c:2602
> #8  0x00007f6d8662645d in gst_bin_change_state_func (next=<optimized
> out>, current=<optimized out>, start_time=<optimized out>,
> base_time=<optimized out>, element=<optimized out>, bin=<optimized out>)
> at gstbin.c:2414
> #9  0x00007f6d8662645d in gst_bin_change_state_func (element=0x0,
> transition=128) at gstbin.c:2756
> #10 0x00007f6d8664737e in gst_element_change_state (element=0xc340e0
> [GstPipeline], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
> gstelement.c:2648
> #11 0x00007f6d86647637 in gst_element_change_state (element=0xc340e0
> [GstPipeline], transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at
> gstelement.c:2687
> #12 0x00007f6d86647afa in gst_element_set_state_func (element=0xc340e0
> [GstPipeline], state=GST_STATE_NULL) at gstelement.c:2602
> #13 0x0000000000400dde in main (argc=1, argv=0x7ffcecaf0068) at
> deadlock.c:46
>
>
> This message is subject to the following terms and conditions: MAIL
> DISCLAIMER<http://www.barco.com/en/maildisclaimer>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>


More information about the gstreamer-devel mailing list