<div dir="ltr">Mostly, it will show:<div><br><div><div>GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument.  Aborting.</div><div>Aborted (core dumped)</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-23 19:37 GMT+01:00 张若 <span dir="ltr"><<a href="mailto:zr92zr@gmail.com" target="_blank">zr92zr@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>I have a pipeline:</div><div>imxv4l2src->capsfilter->queue1<wbr>->imxenc(h264)->parse-------\_<wbr>_tsmux___filesink</div><div>                                                  appsrc(klv)->queue2------/</div><div>When I am going to stop this pipeline, I stop the klv data input first, then set the pipeline to NULL status. For this two steps, there is no problem. However, when I start to unref this pipeline, it shows errors (each time may be different), sometimes are something related to core dump.</div><div><br></div><div>I don't know what is the reason. What I thought is the pipeline is already set to NULL, it should be no problem to unref this pipeline.</div><div><br></div><div>So I need your help! Thanks in advance!</div></div>
</blockquote></div><br></div>