[gst-devel] Gst-launch lockups

TTGator asorgius at gmail.com
Thu Nov 11 14:43:35 CET 2010


I am experiencing some gst-launch lockups from time to time.  I will try to
give a quick overview of the issue in case someone may know something about
this, and I can provide more detail if needed.

Basically, it seems like there may be a race condition with EOS and SIGUSR2. 
When the SIGUSR2 signal is delivered to a pipeline that was transitioning
due to EOS, I see the indication that the SIGUSR2 was caught, but no further
info regarding taking the pipeline to NULL.

After this occurs, a reboot of the system is required to run a new pipeline.


0:00:32.791748058 12684    0x9e7c0 INFO               TIDmaidec
gsttidmaidec.c:1201:gst_tidmaidec_sink_event:<dmaidec_h2640> EOS: draining
remaining encoded data
0:00:32.794036876 12684    0x9e7c0 INFO                GST_PADS
gstpad.c:3337:gst_pad_event_default_dispatch:<dmaidec_h2640:sink> Sending
event 0xb5230 (eos) to all internally linked pads
Got EOS from element "pipeline0".
Execution ended after 32022827148 ns.
Setting pipeline to PAUSED ...
0:00:32.801849376 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<alsasink0> completed state
change to PAUSED
0:00:32.802429210 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<alsasink0> posting
state-changed PLAYING to PAUSED
0:00:32.803161631 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'alsasink0'
changed state to 3(PAUSED) successfully
0:00:32.804595957 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<omapsink0> completed state
change to PAUSED
0:00:32.804962168 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<omapsink0> posting
state-changed PLAYING to PAUSED
0:00:32.805358897 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'omapsink0'
changed state to 3(PAUSED) successfully
0:00:32.805877695 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<mad0> completed state change
to PAUSED
0:00:32.806243907 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<mad0> posting state-changed
PLAYING to PAUSED
0:00:32.806671153 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'mad0' changed
state to 3(PAUSED) successfully
0:00:32.807128917 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<dmaidec_h2640> completed state
change to PAUSED
0:00:32.807434093 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<dmaidec_h2640> posting
state-changed PLAYING to PAUSED
0:00:32.807830821 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'dmaidec_h2640'
changed state to 3(PAUSED) successfully
0:00:32.808319102 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<queue1> completed state change
to PAUSED
0:00:32.808593760 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<queue1> posting state-changed
PLAYING to PAUSED
0:00:32.809265147 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'queue1' changed
state to 3(PAUSED) successfully
0:00:32.809692393 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<queue0> completed state change
to PAUSED
0:00:32.809997569 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<queue0> posting state-changed
PLAYING to PAUSED
0:00:32.810455332 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'queue0' changed
state to 3(PAUSED) successfully
0:00:32.810821543 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<demux> completed state change
to PAUSED
0:00:32.811126719 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<demux> posting state-changed
PLAYING to PAUSED
0:00:32.812164316 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'demux' changed
state to 3(PAUSED) successfully
0:00:32.812713633 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<filesrc0> completed state
change to PAUSED
0:00:32.813079843 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<filesrc0> posting
state-changed PLAYING to PAUSED
0:00:32.813476572 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
state to 3(PAUSED) successfully
0:00:32.814483653 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<pipeline0> completed state
change to PAUSED
0:00:32.814849864 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<pipeline0> posting
state-changed PLAYING to PAUSED
0:00:32.815429698 12684    0x150b8 INFO              GST_STATES
gstbin.c:1692:gst_bin_get_state_func:<pipeline0> getting state
Setting pipeline to READY ...
0:00:32.818115244 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<alsasink0> completed state
change to READY
0:00:32.818756113 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<alsasink0> posting
state-changed PAUSED to READY
0:00:32.819244394 12684    0x150b8 INFO              GST_STATES
gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'alsasink0'
changed state to 2(READY) successfully
0:00:32.820709238 12684    0x150b8 INFO              GST_STATES
gstelement.c:2238:gst_element_continue_state:<omapsink0> completed state
change to READY
0:00:32.821075448 12684    0x150b8 INFO              GST_STATES
gstelement.c:2251:gst_element_continue_state:<omapsink0> posting
state-changed PAUSED to READY
Caught SIGUSR2 - Stop request.

-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gst-launch-lockups-tp3037845p3037845.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list