v4l2src: device or resource busy

Nicolas Dufresne nicolas at ndufresne.ca
Tue Sep 10 13:58:37 UTC 2019


Le mar. 10 sept. 2019 08 h 10, IgalKroyter <igalkroy at gmail.com> a écrit :

> *Nicolas,* hi,
>
> The version I'm using is quite firmed (1.8.3) into the environment I'm
> using
> so I cannot upgrade it. Is there a way to debug these leaks? as I do not
> touch these buffers AFAIK.
>
> *Pascal, * hi,
> I have found with the fuser that the /dev/videoX is utilized by the
> application and was not released, although I have sent an eos to both the
> piepline and the v4l2src element. I do receive an eos on the bus callback,
> so I guess it was propagated, wasn't it?
> Any suggestions?
>

It's harder to debug on older version. But there will be related memory
leak, so maybe try using valgrind. You'll need to find the gst.supp from
the common/ repository, for this you need to find the Rev that was used by
your version (clone that tag, and look at the git submodule). That's best I
can give as my memory does not go as far as 1.8 (that's 4 major releases in
the past, so at least 4 years).


>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190910/cfdcf8fd/attachment.html>


More information about the gstreamer-devel mailing list