Hi,<br><br>a correction to my previous notes..<br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 9:44 AM, Marco Ballesio <span dir="ltr"><<a href="mailto:gibrovacco@gmail.com">gibrovacco@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br><br>sorry for the late reply, too much time spent for the MeeGo conference.<br><br><div class="gmail_quote">
<div class="im">On Thu, Nov 11, 2010 at 3:43 PM, TTGator <span dir="ltr"><<a href="mailto:asorgius@gmail.com" target="_blank">asorgius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
I am experiencing some gst-launch lockups from time to time. I will try to<br>
give a quick overview of the issue in case someone may know something about<br>
this, and I can provide more detail if needed.<br>
<br>
Basically, it seems like there may be a race condition with EOS and SIGUSR2.<br>
When the SIGUSR2 signal is delivered to a pipeline that was transitioning<br>
due to EOS, I see the indication that the SIGUSR2 was caught, but no further<br>
info regarding taking the pipeline to NULL.<br></blockquote></div><div><br>Usually when an EOS occurs the pipeline state goes to READY (if you want to bring it to NULL, you need to do it i.e. in your bus callback).<br></div>
</div></blockquote><div><br>According to:<br><br><a href="http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/section-bus-message-types.html">http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/section-bus-message-types.html</a><br>
<br>the pipeline does not actually change state by its own in front of a an EOS (that is, it remains to PLAYING if it was in such a state before the EOS). It's up to the application to perform any state changes so, most likely, your app is not setting the proper state in front of an end of stream. I'm so used to change state in the bus that I ended up thinking it's automatic ;)<br>
<br>The other observations about your testing hw remain valid.<br><br>Regards<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div> </div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
After this occurs, a reboot of the system is required to run a new pipeline.<br></blockquote></div><div><br>This is pretty strange, most likely due to the HW-specific elements you're using (either dmaidec_h264 or omapsink). I suggest you to check your dmesg output and your BSP manual to know what's happening and how to restore functionality without a reboot.<br>
<br>Are you sure even hw independent pipelines of the like of:<br><br>gst-launch audiotestsrc ! fakesink -v<br><br>are not working?<br><br>Regards<br> </div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
0:00:32.791748058 12684 0x9e7c0 INFO TIDmaidec<br>
gsttidmaidec.c:1201:gst_tidmaidec_sink_event:<dmaidec_h2640> EOS: draining<br>
remaining encoded data<br>
0:00:32.794036876 12684 0x9e7c0 INFO GST_PADS<br>
gstpad.c:3337:gst_pad_event_default_dispatch:<dmaidec_h2640:sink> Sending<br>
event 0xb5230 (eos) to all internally linked pads<br>
Got EOS from element "pipeline0".<br>
Execution ended after 32022827148 ns.<br>
Setting pipeline to PAUSED ...<br>
0:00:32.801849376 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<alsasink0> completed state<br>
change to PAUSED<br>
0:00:32.802429210 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<alsasink0> posting<br>
state-changed PLAYING to PAUSED<br>
0:00:32.803161631 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'alsasink0'<br>
changed state to 3(PAUSED) successfully<br>
0:00:32.804595957 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<omapsink0> completed state<br>
change to PAUSED<br>
0:00:32.804962168 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<omapsink0> posting<br>
state-changed PLAYING to PAUSED<br>
0:00:32.805358897 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'omapsink0'<br>
changed state to 3(PAUSED) successfully<br>
0:00:32.805877695 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<mad0> completed state change<br>
to PAUSED<br>
0:00:32.806243907 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<mad0> posting state-changed<br>
PLAYING to PAUSED<br>
0:00:32.806671153 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'mad0' changed<br>
state to 3(PAUSED) successfully<br>
0:00:32.807128917 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<dmaidec_h2640> completed state<br>
change to PAUSED<br>
0:00:32.807434093 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<dmaidec_h2640> posting<br>
state-changed PLAYING to PAUSED<br>
0:00:32.807830821 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'dmaidec_h2640'<br>
changed state to 3(PAUSED) successfully<br>
0:00:32.808319102 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<queue1> completed state change<br>
to PAUSED<br>
0:00:32.808593760 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<queue1> posting state-changed<br>
PLAYING to PAUSED<br>
0:00:32.809265147 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'queue1' changed<br>
state to 3(PAUSED) successfully<br>
0:00:32.809692393 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<queue0> completed state change<br>
to PAUSED<br>
0:00:32.809997569 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<queue0> posting state-changed<br>
PLAYING to PAUSED<br>
0:00:32.810455332 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'queue0' changed<br>
state to 3(PAUSED) successfully<br>
0:00:32.810821543 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<demux> completed state change<br>
to PAUSED<br>
0:00:32.811126719 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<demux> posting state-changed<br>
PLAYING to PAUSED<br>
0:00:32.812164316 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'demux' changed<br>
state to 3(PAUSED) successfully<br>
0:00:32.812713633 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<filesrc0> completed state<br>
change to PAUSED<br>
0:00:32.813079843 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<filesrc0> posting<br>
state-changed PLAYING to PAUSED<br>
0:00:32.813476572 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed<br>
state to 3(PAUSED) successfully<br>
0:00:32.814483653 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<pipeline0> completed state<br>
change to PAUSED<br>
0:00:32.814849864 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<pipeline0> posting<br>
state-changed PLAYING to PAUSED<br>
0:00:32.815429698 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:1692:gst_bin_get_state_func:<pipeline0> getting state<br>
Setting pipeline to READY ...<br>
0:00:32.818115244 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<alsasink0> completed state<br>
change to READY<br>
0:00:32.818756113 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<alsasink0> posting<br>
state-changed PAUSED to READY<br>
0:00:32.819244394 12684 0x150b8 INFO GST_STATES<br>
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'alsasink0'<br>
changed state to 2(READY) successfully<br>
0:00:32.820709238 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2238:gst_element_continue_state:<omapsink0> completed state<br>
change to READY<br>
0:00:32.821075448 12684 0x150b8 INFO GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:<omapsink0> posting<br>
state-changed PAUSED to READY<br>
Caught SIGUSR2 - Stop request.<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gst-launch-lockups-tp3037845p3037845.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Gst-launch-lockups-tp3037845p3037845.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
Centralized Desktop Delivery: Dell and VMware Reference Architecture<br>
Simplifying enterprise desktop deployment and management using<br>
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end<br>
client virtualization framework. Read more!<br>
<a href="http://p.sf.net/sfu/dell-eql-dev2dev" target="_blank">http://p.sf.net/sfu/dell-eql-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div><br>
</blockquote></div><br>