Hi,<br><br>sorry for the late reply, too much time spent for the MeeGo conference.<br><br><div class="gmail_quote">On Thu, Nov 11, 2010 at 3:43 PM, TTGator <span dir="ltr">&lt;<a href="mailto:asorgius@gmail.com">asorgius@gmail.com</a>&gt;</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><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><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><br>This is pretty strange, most likely due to the HW-specific elements you&#39;re using (either dmaidec_h264 or omapsink). I suggest you to check your dmesg output and your BSP manual to know what&#39;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><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:&lt;dmaidec_h2640&gt; 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:&lt;dmaidec_h2640:sink&gt; Sending<br>
event 0xb5230 (eos) to all internally linked pads<br>
Got EOS from element &quot;pipeline0&quot;.<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:&lt;alsasink0&gt; completed state<br>
change to PAUSED<br>
0:00:32.802429210 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;alsasink0&gt; 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:&lt;pipeline0&gt; child &#39;alsasink0&#39;<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:&lt;omapsink0&gt; completed state<br>
change to PAUSED<br>
0:00:32.804962168 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;omapsink0&gt; 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:&lt;pipeline0&gt; child &#39;omapsink0&#39;<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:&lt;mad0&gt; completed state change<br>
to PAUSED<br>
0:00:32.806243907 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;mad0&gt; 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:&lt;pipeline0&gt; child &#39;mad0&#39; 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:&lt;dmaidec_h2640&gt; completed state<br>
change to PAUSED<br>
0:00:32.807434093 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;dmaidec_h2640&gt; 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:&lt;pipeline0&gt; child &#39;dmaidec_h2640&#39;<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:&lt;queue1&gt; completed state change<br>
to PAUSED<br>
0:00:32.808593760 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;queue1&gt; 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:&lt;pipeline0&gt; child &#39;queue1&#39; 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:&lt;queue0&gt; completed state change<br>
to PAUSED<br>
0:00:32.809997569 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;queue0&gt; 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:&lt;pipeline0&gt; child &#39;queue0&#39; 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:&lt;demux&gt; completed state change<br>
to PAUSED<br>
0:00:32.811126719 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;demux&gt; 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:&lt;pipeline0&gt; child &#39;demux&#39; 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:&lt;filesrc0&gt; completed state<br>
change to PAUSED<br>
0:00:32.813079843 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;filesrc0&gt; 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:&lt;pipeline0&gt; child &#39;filesrc0&#39; 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:&lt;pipeline0&gt; completed state<br>
change to PAUSED<br>
0:00:32.814849864 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;pipeline0&gt; 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:&lt;pipeline0&gt; 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:&lt;alsasink0&gt; completed state<br>
change to READY<br>
0:00:32.818756113 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;alsasink0&gt; 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:&lt;pipeline0&gt; child &#39;alsasink0&#39;<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:&lt;omapsink0&gt; completed state<br>
change to READY<br>
0:00:32.821075448 12684    0x150b8 INFO              GST_STATES<br>
gstelement.c:2251:gst_element_continue_state:&lt;omapsink0&gt; 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">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><br>