[Bug 778434] New: applemedia: race condition in videotexturecache.m
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 10 09:21:32 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778434
Bug ID: 778434
Summary: applemedia: race condition in videotexturecache.m
Classification: Platform
Product: GStreamer
Version: 1.11.1
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: socialmediamaster9000 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Context:
Videotexturecache is a kind of wrapper on top of iosglmemory, used by
avfvideosrc and vtdec. It creates a texture at the same time as creating the
memory. Presumably it's a performance enhancement.
Bug:
Random EXC_BAD_ACCESS code=1 in GL code
Cause:
The cached texture needs to be freed at the right moment. The current technique
is to pass the texture as user_data to gst_gl_memory_init and pass CFRelease as
the destroy function. Unfortunately, the texture NEEDS to be destroyed in the
gst_gl_context_thread or it will lead to a race condition where code running in
the gst_gl_context_thread will reference a texture that is freed in a random
gstreamer thread too soon.
--
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