[Bug 767979] New: GstBufferPool: acquire_buffer has unsafe GstPoll usage
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 23 14:59:05 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767979
Bug ID: 767979
Summary: GstBufferPool: acquire_buffer has unsafe GstPoll usage
Classification: Platform
Product: GStreamer
Version: 1.4.5
OS: All
Status: NEW
Severity: critical
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: slomo at coaxion.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: dtverdunov at elvees.com, henning.riis at craftwork.dk,
james at stev.org, julien.isorce at gmail.com,
mgruenke at tycoint.com, notverysmart at gmail.com,
slomo at coaxion.net, thaytan at noraisin.net,
vijay.jayaraman at echostar.com, wim.taymans at gmail.com
Depends on: 750397
GNOME version: ---
+++ This bug was initially created as a clone of Bug #750397 +++
The order of the GstPoll usage is to first push an object to the queue, then
write the GstPoll control. When getting the object, we first dequeue and if it
is successful read the GstPoll control, and otherwise wait.
This could cause the read to happen before the write, which is not allowed by
GstPoll.
There is also the problem that there is always one control left for flushing,
but if multiple threads get into acquire_buffer and have to wait, two of them
will remove that one control.
--
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