<div dir="ltr">Hi <div><br></div><div>I have an appliaction that uses the GStrremaer API version 0.10 on RHEL 6.2 64bit architecture.</div><div><br></div><div>Under load I see a number of transactions taking a long time when I set the state to NULL from playing.</div>
<div><br></div><div>PStack indicate calls attempting to get a;lock.  Normally calls to set state take a few hundred milli-seconds at most.  However the longer the test goes on i see more transaction taking anything from 5-30 seconds duration.</div>
<div><br></div><div>The pipleline is using network based I/O to re-compress video content over HTTP. PStacjk snippets shown below,</div><div><br></div><div>I can put the state change off on another thread but I would like to understand what the root caise of this might be.  Is this an know issue or am I doing somehting wrong here.</div>
<div><br></div><div>Thanks</div><div>Declan</div><div><br></div><div>PStack indicates the following ;</div><div><br></div><div><div>0x0000003890a0e054 in __lll_lock_wait () from /lib64/libpthread.so.0</div><div>#1  0x0000003890a09388 in _L_lock_854 () from /lib64/libpthread.so.0</div>
<div>#2  0x0000003890a09257 in pthread_mutex_lock () from /lib64/libpthread.so.0</div><div>#3  0x0000003891a61f48 in g_static_rec_mutex_lock () from /lib64/libglib-2.0.so.0</div><div>#4  0x00007fe1bf3d625a in gst_element_set_state_func () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div>
</div><div><br></div><div>or </div><div><br></div><div><div>Thread 84 (Thread 0x7fe1a1c2d700 (LWP 15521)):</div><div>#0  0x0000003890a0e054 in __lll_lock_wait () from /lib64/libpthread.so.0</div><div>#1  0x0000003890a09388 in _L_lock_854 () from /lib64/libpthread.so.0</div>
<div>#2  0x0000003890a09257 in pthread_mutex_lock () from /lib64/libpthread.so.0</div><div>#3  0x00007fe1be943f15 in gst_base_sink_change_state () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstbase-0.10.so">libgstbase-0.10.so</a></div>
<div>#4  0x00007fe1bf3d2b6c in gst_element_change_state () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div><div>#5  0x00007fe1bf3d6538 in gst_element_set_state_func () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div>
<div>#6  0x00007fe1bf3c218c in gst_bin_change_state_func () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div><div>#7  0x00007fe1bf3f7540 in gst_pipeline_change_state () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div>
<div>#8  0x00007fe1bf3d2b6c in gst_element_change_state () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div><div>#9  0x00007fe1bf3d6538 in gst_element_set_state_func () from /opt/opwv/gstreamer/1.0/lib/<a href="http://libgstreamer-0.10.so">libgstreamer-0.10.so</a></div>
<div>#10 0x00007fe1bf68e2c4 in ?? ()</div></div><div><br></div><div><br></div></div>