[Bug 777146] New: vaapisink: segfault caused by race condition with OverlayInterface expose method
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jan 11 16:27:42 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=777146
Bug ID: 777146
Summary: vaapisink: segfault caused by race condition with
OverlayInterface expose method
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer-vaapi
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: staples255 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: bsreerenj at gmail.com, vjaquez at igalia.com
GNOME version: ---
gst_vaapisink_overlay_expose calls gst_vaapisink_show_frame, passing a pointer
to sink->video_buffer, but that variable is accessed outside any lock.
Meanwhile, gst_vaapisink_show_frame, which is also called from the main
data-flow thread, explicitly clears that variable outside the lock.
The result is that application calls to the expose method can occasionally
cause a segfault during playback.
--
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