gstreamer 1.20: v4l2bufferpool spams "newly allocated buffer is not free"

Michiel Konstapel michiel at aanmelder.nl
Sun Jun 26 12:30:56 UTC 2022


On 25-06-2022 17:34, Nicolas Dufresne via gstreamer-devel wrote:
>
>
> Le ven. 24 juin 2022, 14 h 14, Michiel Konstapel 
> <michiel at aanmelder.nl> a écrit :
>
>     Hi Nicolas,
>
>     On 24-06-2022 19:50, Nicolas Dufresne via gstreamer-devel wrote:
>>     Hi,
>>
>>
>>         gstv4l2bufferpool.c:478:gst_v4l2_buffer_pool_alloc_buffer:<v4l2src0:pool0:src>
>>
>>         newly allocated buffer 1 is not free
>>
>>         Despite the warnings, the pipeline appears to work, but I
>>         would prefer
>>         it to not spam warnings continuously :) Any ideas? This is on
>>         Ubuntu
>>         20.04, on different PCs and with different cameras.
>>
>>
>>     Do you have any information about the driver?
>
>     It's a very common Logitech C920 webcam (but I've seen the same
>     message with a Z-Cam M3 camera). I think that uses a generic UVC
>     driver? Anything I can run to get you more info?
>
> I'm asking as I cannot reproduce, and from the look of it, the trace 
> implies is will leak data. Which Kernel? Have you tested with your own 
> GStreamer build (main branch)?

$ uname -a
Linux xubuntux 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 
2022 x86_64 x86_64 x86_64 GNU/Linux

Gstreamer is built from source, from the 1.20.3 tag.

I have also just built it from main (commit 
0e551871c45a1b9fd67d99d2d4f31a983f1b3217) and that shows the effect as well.

Michiel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220626/0c75c074/attachment.htm>


More information about the gstreamer-devel mailing list