<div dir="ltr">In the past, I have encountered deadlocks when a part of my pipeline has a demuxer or a tee, or basically some kind of element which "splits" a single stream into multiple streams. The outputs (source pads) of all such elements should always be attached to some kind of queue because a queue is a thread boundary.<div><br></div><div>So I guess step 1 is to analyze your pipeline and make sure you have queues in the right places.</div><div><br></div><div>If you are still stuck then sometimes you can add more queues into random spots in your pipeline to see if that fixes the problem.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2020 at 7:16 AM Michael Nazzareno Trimarchi <<a href="mailto:michael@amarulasolutions.com">michael@amarulasolutions.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all<br>
<br>
1 __libc_do_syscall libc-do-syscall.S<br>
48 0xb4f10054<br>
2 __lll_lock_wait lowlevellock.c<br>
46 0xb4f0de42<br>
3 __GI___pthread_mutex_lock pthread_mutex_lock.c<br>
113 0xb4f088ac<br>
4 g_rec_mutex_lock gthread-posix.c<br>
308 0xb4b87120<br>
5 gst_pad_stop_task gstpad.c<br>
6301 0xaddf1d68<br>
6 gst_mpp_video_dec_sink_event gstmppvideodec.c<br>
786 0xac00e816<br>
7 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
8 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
9 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
10 gst_base_transform_sink_eventfunc gstbasetransform.c<br>
1910 0xadeaed82<br>
11 gst_capsfilter_sink_event gstevent.h<br>
436 0xad5547e2<br>
12 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
13 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
14 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
15 gst_base_parse_sink_event_default gstbaseparse.c<br>
1466 0xade96b6a<br>
16 gst_h264_parse_event gsth264parse.c<br>
2905 0xac0752d8<br>
17 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
18 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
19 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
20 gst_multi_queue_sink_event gstmultiqueue.c<br>
2274 0xad56cb50<br>
21 gst_pad_send_event_unchecked gstpad.c<br>
5760 0xadde88d8<br>
22 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
23 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
24 gst_qtdemux_push_event qtdemux.c<br>
1007 0xac98f082<br>
25 gst_qtdemux_do_seek qtdemux.c<br>
1659 0xac99efca<br>
26 gst_qtdemux_handle_src_event qtdemux.c<br>
1791 0xac99efca<br>
27 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
28 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
29 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
30 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
31 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
32 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
33 gst_base_parse_handle_seek gstevent.h<br>
436 0xade92c4e<br>
34 gst_base_parse_src_event_default gstbaseparse.c<br>
1635 0xade92c4e<br>
35 gst_h264_parse_src_event gsth264parse.c<br>
2942 0xac079b50<br>
36 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
37 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
38 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
39 gst_base_transform_src_eventfunc gstbasetransform.c<br>
1962 0xadeaf226<br>
40 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
41 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
42 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
43 gst_video_decoder_src_event_default gstvideodecoder.c<br>
1494 0xad7b9ba6<br>
44 gst_pad_send_event_unchecked gstpad.c<br>
5761 0xadde8aec<br>
45 gst_pad_push_event_unchecked gstpad.c<br>
5406 0xadde8fa6<br>
46 gst_pad_push_event gstpad.c<br>
5543 0xaddf0cbc<br>
47 event_forward_func gstevent.h<br>
436 0xaddf0f7e<br>
<br>
Need some help/idea how debug decoder deadlock on seek on video decoding.<br>
<br>
Michael<br>
<br>
<br>
-- <br>
Michael Nazzareno Trimarchi<br>
Amarula Solutions BV<br>
COO Co-Founder<br>
Cruquiuskade 47 Amsterdam 1018 AM NL<br>
T. +31(0)851119172<br>
M. +39(0)3479132170<br>
[`as] <a href="https://www.amarulasolutions.com" rel="noreferrer" target="_blank">https://www.amarulasolutions.com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>