<div dir="ltr">Hi Tim,<div>Thanks for working with me on the IRC chatroom today. I have updated my code to fix the error you were getting when running it.</div><div><br></div><div><a href="https://drive.google.com/open?id=14imemqvC5bP7xhDsFPbUkHG9SWmSK4Fz">https://drive.google.com/open?id=14imemqvC5bP7xhDsFPbUkHG9SWmSK4Fz</a><br></div><div><br></div><div>I am going to try to install the -dbg libraries and see if I can get the debug symbols. This is a sporadic issue and it is kind hard to to reproduce it with this standalone but it happens in our app quite regularly.</div><div><br></div><div>Also, the post <a href="https://lists.freedesktop.org/archives/gstreamer-devel/2018-April/067631.html">https://lists.freedesktop.org/archives/gstreamer-devel/2018-April/067631.html</a> shows a behaviour on Gstreamer 1.10.4 that was not the case on older Gstreamer version. When using gst-launch:</div><div>i. It does not shutdown pipeline when all frames have been read. (Debian 8, it used to)</div><div>ii. If I hit Ctrl+C to terminate, it stalls when pipeline transitions from PLAYING->PAUSED. (we have observed this numerous times in our code with audio and video files when we try to shutdown pipeline). Hence, we thought this might be related.</div><div><br></div><div>Thanks again.</div><div><br></div><div>Dinesh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 7:34 AM, Dinesh Iyer <span dir="ltr"><<a href="mailto:dsi.maillist@gmail.com" target="_blank">dsi.maillist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi team,<div>I just wanted to know if you had an opportunity to look into this issue and were able to reproduce this with the steps provided. This is kind of a show-stopper for us. Appreciate any inputs an advance.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dinesh</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 2, 2018 at 3:35 PM, Dinesh Iyer <span dir="ltr"><<a href="mailto:dsi.maillist@gmail.com" target="_blank">dsi.maillist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

















<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hello Gstreamer developers,<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I would like to report a sporadic stall in gstreamer 1.10.4
(Debian 9) or higher versions while reading video files. I have created a
standalone script, the file and the video file can be found in the following
location: <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=14Qss_2-EBeRb5k204pcoIz7_AgmR1FRl" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=14Qss_2-EBeRb5k204pcoIz7_Ag<wbr>mR1FRl</a><span></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=15xZ1wcuQBN7pPxU7Ru08hSR7YagUQV6w" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=15xZ1wcuQBN7pPxU7Ru08hSR7Ya<wbr>gUQV6w</a><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The GDB stack trace from my machine can be found here:<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://drive.google.com/open?id=1M8Srjd1Qp4Y8C8Edepme2lwzzWSpOZM3" style="color:rgb(5,99,193);text-decoration:underline" target="_blank">https://drive.google.com/open?<wbr>id=1M8Srjd1Qp4Y8C8Edepme2lwzzW<wbr>SpOZM3</a><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span> </span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The stall seems to be appearing in gst_element_seek_simple
().<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Here is what I am trying to do in my application: <span></span></p>

<ol style="margin-top:0in;margin-bottom:0in" start="1" type="1">
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Create the playbin. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Set the playbin to
     PLAYING. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek and read the first
     frame. <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek and read the 41<sup>st</sup>
     frame and read 4 more samples (file has a total of 45 frames). <span></span></span></li>
 <li class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span>Seek back to 1<sup>st</sup>
     frame. That is where the STALL happens.<span></span></span></li>
</ol>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I have put the number of iterations to be 5000 but usually
the stall appears in around 200-300 iterations. <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="m_7733977316991486990m_3367190650048651695gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Can you please confirm if this is a bug in Gstreamer and
if there is a way to avoid the stall while reading the file using Gstreamer?<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> <span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks!<span></span></p>





<br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>