[Bug 761163] videocrop: Access violation reading
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 12 15:07:43 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761163
--- Comment #12 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Note, my last analyses of this problem was that this is inherently racy. The
same information is used and updated from tranform_caps(), set_caps() and
transform_frame(). Those calls are not atomic, and the problem arrive when the
properties get changed randomly between the transform_caps() call (sometimes
there is more then one) and the set_caps() calls.
Ideally, we should have some code that queue the property changes, and find a
way to keep the state coherent. Also, because each property is set seperatly
(and even if you use a single g_object_set() we will treat them seperatly) it
is also a bit racy, and may always make the negotiation fail. I kept this bug
mostly to check if we could remove the crash, but I'm not sure we can really
solve the race. We could improve it, like using dispatch_properties_changed().
--
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