[Bug 775014] v4l2src buffer leak, race condition sending EOS from another thread

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 24 14:59:33 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775014

--- Comment #1 from Philipp Zabel <p.zabel at pengutronix.de> ---
Created attachment 340687
  --> https://bugzilla.gnome.org/attachment.cgi?id=340687&action=edit
gstv4l2bufferpool: remove critical error message when process is called on an
inactive pool

If the pool is inactive, it is guaranteed to also be flushing, so the
following check will return GST_FLOW_FLUSHING anyway.
This can happen if a v4l2src is blocking on DQBUF in create and is sent
an EOS event on another thread. In that case the pool is set to
flushing/inactive without locking, the v4l2src is unblocked, and may
call pool_process with a valid buffer on the already inactive pool.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list