[Bug 766940] Crash when continuously resizing a video pipeline after some time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 7 04:21:17 UTC 2016


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

Scott D Phillips <scott.d.phillips at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scott.d.phillips at intel.com

--- Comment #3 from Scott D Phillips <scott.d.phillips at intel.com> ---
Created attachment 329236
  --> https://bugzilla.gnome.org/attachment.cgi?id=329236&action=edit
[PATCH] GstVaapiPostproc: take ref on srccaps during transform

There seems to be a race between gst_vaapipostproc_set_caps which releases
postproc->allowed_srcpad_caps and gst_vaapipostproc_transform_caps which uses
postproc->allowed_srcpad_caps. To see that this is in fact the case, here is a
patch which takes a ref to the allowed caps in transform. With the patch I was
able to run the test program for 4 hours without crashing.

I believe the correct fix to the issue here is to add locking around the access
to all of postproc's data members (there doesn't seem to be any locking in
postproc currently).

-- 
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