[Bug 774854] queue2: validate: Deadlock when seeking on a dash stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 28 20:13:26 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774854

--- Comment #5 from Thibault Saunier <tsaunier at gnome.org> ---
Interestingly, a very similare issue seems to happen on queue itself:

https://ci.gstreamer.net/job/GStreamer-master-validate/4053/testReport/junit/validate.http/media_check/vorbis_theora_1_ogg/

[New LWP 14823]
[New LWP 14822]
[New LWP 14821]
[New LWP 14816]
[New LWP 14814]
[New LWP 14813]
[New LWP 14810]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f6358d928ad in __lll_lock_wait () from /lib64/libpthread.so.0

Thread 8 (Thread 0x7f634f40c700 (LWP 14810)):
#0  0x00007f6357649b7d in poll () at /lib64/libc.so.6
#1  0x00007f635795e18c in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#2  0x00007f635795e29c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3  0x00007f635795e2d9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f6339c1d700 (LWP 14813)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f635887da2f in gst_task_func (task=0x21fe290) at gsttask.c:319
#3  0x00007f635887ecbf in default_func (tdata=0x2234190, pool=0x1faf910) at
gsttaskpool.c:68
#4  0x00007f635798527e in g_thread_pool_thread_proxy () at
/lib64/libglib-2.0.so.0
#5  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#7  0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f6339202700 (LWP 14814)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f635887da2f in gst_task_func (task=0x21fe710) at gsttask.c:319
#3  0x00007f635887ecbf in default_func (tdata=0x7f6334006930, pool=0x1faf910)
at gsttaskpool.c:68
#4  0x00007f635798527e in g_thread_pool_thread_proxy () at
/lib64/libglib-2.0.so.0
#5  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#7  0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f6333fff700 (LWP 14816)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f63387db93f in gst_ogg_demux_loop_push (ogg=0x7f632c03c0b0) at
gstoggdemux.c:4891
#3  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#4  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#5  0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f63337fe700 (LWP 14821)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f6358b670e8 in _gst_data_queue_wait_non_empty (queue=0x7f63340353a0)
at gstdataqueue.c:553
#3  0x00007f6358b674ea in gst_data_queue_pop (queue=0x7f63340353a0,
item=0x7f63337fdcf8) at gstdataqueue.c:595
#4  0x00007f633ba55acf in gst_multi_queue_loop (pad=0x21fd6c0) at
gstmultiqueue.c:1769
#5  0x00007f635887db06 in gst_task_func (task=0x21feb90) at gsttask.c:334
#6  0x00007f635887ecbf in default_func (tdata=0x7f632c001eb0, pool=0x1faf910)
at gsttaskpool.c:68
#7  0x00007f635798527e in g_thread_pool_thread_proxy () at
/lib64/libglib-2.0.so.0
#8  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#9  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#10 0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6332ba3700 (LWP 14822)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f633ba600a9 in gst_queue_handle_sink_query (pad=0x7f632c077490,
parent=0x7f6328124340, query=0x7f6320002f20) at gstqueue.c:1048
#3  0x00007f6358840c97 in gst_pad_query (pad=0x7f632c077490,
query=0x7f6320002f20) at gstpad.c:3951
#4  0x00007f635884168f in gst_pad_peer_query (pad=0x2203650,
query=0x7f6320002f20) at gstpad.c:4083
#5  0x00007f635883efb8 in query_forward_func (pad=0x2203650,
data=0x7f6332ba2120) at gstpad.c:3319
#6  0x00007f635883de4e in gst_pad_forward (pad=0x7f63281200b0,
forward=0x7f635883ee9c <query_forward_func>, user_data=0x7f6332ba2120) at
gstpad.c:2948
#7  0x00007f635883f183 in gst_pad_query_default (pad=0x7f63281200b0,
parent=0x2203650, query=0x7f6320002f20) at gstpad.c:3386
#8  0x00007f6358840c97 in gst_pad_query (pad=0x7f63281200b0,
query=0x7f6320002f20) at gstpad.c:3951
#9  0x00007f635884168f in gst_pad_peer_query (pad=0x7f632c006670,
query=0x7f6320002f20) at gstpad.c:4083
#10 0x00007f635883efb8 in query_forward_func (pad=0x7f632c006670,
data=0x7f6332ba2390) at gstpad.c:3319
#11 0x00007f635883de4e in gst_pad_forward (pad=0x2205860,
forward=0x7f635883ee9c <query_forward_func>, user_data=0x7f6332ba2390) at
gstpad.c:2948
#12 0x00007f635883f183 in gst_pad_query_default (pad=0x2205860,
parent=0x7f632c006670, query=0x7f6320002f20) at gstpad.c:3386
#13 0x00007f633bcb0268 in gst_decode_pad_query (pad=0x2205860,
parent=0x7f632c006670, query=0x7f6320002f20) at gstdecodebin2.c:5058
#14 0x00007f6358840c97 in gst_pad_query (pad=0x2205860, query=0x7f6320002f20)
at gstpad.c:3951
#15 0x00007f635884168f in gst_pad_peer_query (pad=0x7f632c0764d0,
query=0x7f6320002f20) at gstpad.c:4083
#16 0x00007f6359984091 in gst_audio_decoder_negotiate_default
(dec=0x7f632c07f8d0) at gstaudiodecoder.c:687
#17 0x00007f635998438b in gst_audio_decoder_negotiate_unlocked
(dec=0x7f632c07f8d0) at gstaudiodecoder.c:737
#18 0x00007f635998f7ca in gst_audio_decoder_allocate_output_buffer
(dec=0x7f632c07f8d0, size=4096) at gstaudiodecoder.c:3561
#19 0x00007f63321989a8 in vorbis_handle_data_packet (vd=0x7f632c07f8d0,
packet=0x7f6332ba2870, timestamp=0, duration=23219954) at gstvorbisdec.c:482
#20 0x00007f63321993a9 in vorbis_dec_handle_frame (dec=0x7f632c07f8d0,
buffer=0x7f632c0542b0) at gstvorbisdec.c:599
#21 0x00007f6359987bc7 in gst_audio_decoder_handle_frame (dec=0x7f632c07f8d0,
klass=0x7f632c07e780, buffer=0x7f632c0542b0) at gstaudiodecoder.c:1468
#22 0x00007f63599880e5 in gst_audio_decoder_push_buffers (dec=0x7f632c07f8d0,
force=0) at gstaudiodecoder.c:1566
#23 0x00007f6359988720 in gst_audio_decoder_chain_forward (dec=0x7f632c07f8d0,
buffer=0x0) at gstaudiodecoder.c:1680
#24 0x00007f6359989ddc in gst_audio_decoder_chain (pad=0x7f632c076290,
parent=0x7f632c07f8d0, buffer=0x7f632c0542b0) at gstaudiodecoder.c:1940
#25 0x00007f6358841f9c in gst_pad_chain_data_unchecked (pad=0x7f632c076290,
type=4112, data=0x7f632c0542b0) at gstpad.c:4206
#26 0x00007f6358842d35 in gst_pad_push_data (pad=0x7f632c076050, type=4112,
data=0x7f632c0542b0) at gstpad.c:4458
#27 0x00007f635884345d in gst_pad_push (pad=0x7f632c076050,
buffer=0x7f632c0542b0) at gstpad.c:4577
#28 0x00007f633ba554ea in gst_single_queue_push_one (mq=0x7f632c06f100,
sq=0x7f632c07a410, object=0x7f632c0542b0, allow_drop=0x7f6332ba2cf4) at
gstmultiqueue.c:1611
#29 0x00007f633ba56f72 in gst_multi_queue_loop (pad=0x7f632c076050) at
gstmultiqueue.c:1923
#30 0x00007f635887db06 in gst_task_func (task=0x21feef0) at gsttask.c:334
#31 0x00007f635887ecbf in default_func (tdata=0x7f632c004800, pool=0x1faf910)
at gsttaskpool.c:68
#32 0x00007f635798527e in g_thread_pool_thread_proxy () at
/lib64/libglib-2.0.so.0
#33 0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#34 0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#35 0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6331cbc700 (LWP 14823)):
#0  0x00007f635764f809 in syscall () at /lib64/libc.so.6
#1  0x00007f63579a28df in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f635887da2f in gst_task_func (task=0x7f632c071710) at gsttask.c:319
#3  0x00007f635887ecbf in default_func (tdata=0x7f632811dd40, pool=0x1faf910)
at gsttaskpool.c:68
#4  0x00007f635798527e in g_thread_pool_thread_proxy () at
/lib64/libglib-2.0.so.0
#5  0x00007f63579848e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#6  0x00007f6358d8a61a in start_thread () at /lib64/libpthread.so.0
#7  0x00007f63576555fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f635a807800 (LWP 14808)):
#0  0x00007f6358d928ad in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x00007f6358d8ca46 in pthread_mutex_lock () at /lib64/libpthread.so.0
#2  0x00007f633ba62ec0 in gst_queue_sink_activate_mode (pad=0x7f632c077490,
parent=0x7f6328124340, mode=GST_PAD_MODE_PUSH, active=0) at gstqueue.c:1687
#3  0x00007f63588382f0 in activate_mode_internal (pad=0x7f632c077490,
parent=0x7f6328124340, mode=GST_PAD_MODE_PUSH, active=0) at gstpad.c:1178
#4  0x00007f6358837e8d in gst_pad_set_active (pad=0x7f632c077490, active=0) at
gstpad.c:1079
#5  0x00007f635881c19c in activate_pads (vpad=0x7fff9a2ec9b0,
ret=0x7fff9a2eca00, active=0x7fff9a2eca34) at gstelement.c:2825
#6  0x00007f635882d132 in gst_iterator_fold (it=0x1ffb3c0, func=0x7f635881c15d
<activate_pads>, ret=0x7fff9a2eca00, user_data=0x7fff9a2eca34) at
gstiterator.c:616
#7  0x00007f635881c230 in iterator_activate_fold_with_resync (iter=0x1ffb3c0,
func=0x7f635881c15d <activate_pads>, user_data=0x7fff9a2eca34) at
gstelement.c:2849
#8  0x00007f635881c35e in gst_element_pads_activate (element=0x7f6328124340,
active=0) at gstelement.c:2893
#9  0x00007f635881c654 in gst_element_change_state_func
(element=0x7f6328124340, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at
gstelement.c:2959
#10 0x00007f635881bcb9 in gst_element_change_state (element=0x7f6328124340,
transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2737
#11 0x00007f635881ba49 in gst_element_set_state_func (element=0x7f6328124340,
state=GST_STATE_NULL) at gstelement.c:2691
#12 0x00007f635881b645 in gst_element_set_state (element=0x7f6328124340,
state=GST_STATE_NULL) at gstelement.c:2592
#13 0x00007f63587ea915 in gst_bin_element_set_state (bin=0x21d6130,
element=0x7f6328124340, base_time=0, start_time=0, current=GST_STATE_READY,
next=GST_STATE_NULL) at gstbin.c:2613
#14 0x00007f63587ebf97 in gst_bin_change_state_func (element=0x21d6130,
transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2955
#15 0x00007f635884b2a3 in gst_pipeline_change_state (element=0x21d6130,
transition=GST_STATE_CHANGE_READY_TO_NULL) at gstpipeline.c:499
#16 0x00007f635881bcb9 in gst_element_change_state (element=0x21d6130,
transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2737
#17 0x00007f635881ba49 in gst_element_set_state_func (element=0x21d6130,
state=GST_STATE_NULL) at gstelement.c:2691
#18 0x00007f635881b645 in gst_element_set_state (element=0x21d6130,
state=GST_STATE_NULL) at gstelement.c:2592
#19 0x00007f6359bf94d8 in discoverer_cleanup (dc=0x21a6310) at
gstdiscoverer.c:1531
#20 0x00007f6359bfb54e in gst_discoverer_discover_uri (discoverer=0x21a6310,
uri=0x7fff9a2eeaf9 "http://127.0.0.1:8039/defaults/ogg/vorbis_theora.1.ogg",
err=0x7fff9a2ed010) at gstdiscoverer.c:2148
#21 0x00007f635a3f3826 in gst_validate_media_descriptor_writer_new_discover
(runner=0x2194bb0, uri=0x7fff9a2eeaf9
"http://127.0.0.1:8039/defaults/ogg/vorbis_theora.1.ogg", full=0,
handle_g_logs=1, err=0x0) at media-descriptor-writer.c:586
#22 0x00000000004017af in main (argc=2, argv=0x7fff9a2ed2c8) at
gst-validate-media-check.c:119

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list