[Bug 797039] New: Race condition: double free or corruption (fasttop) with vaapih264dec ! vaapipostproc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 28 15:00:25 UTC 2018


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

            Bug ID: 797039
           Summary: Race condition: double free or corruption (fasttop)
                    with vaapih264dec ! vaapipostproc
    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: florent.thiery at ubicast.eu
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Created attachment 373485
  --> https://bugzilla.gnome.org/attachment.cgi?id=373485&action=edit
reproduction script

Confirmed happening both on stable and master, and on multiple hardware.

The attached test program basically repeatedly runs this multi-decoder
pipeline:

gst-launch-1.0 filesrc location=/tmp/sample.h264 ! tee name=tee ! queue !
fakesink tee. ! queue ! h264parse ! vaapih264dec ! vaapipostproc !
"video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30" ! fakesink tee. ! queue ! h264parse ! vaapih264dec !
vaapipostproc ! "video/x-raw, format=(string)NV12, width=(int)1280,
height=(int)720, framerate=(fraction)30" ! fakesink tee. ! queue ! h264parse !
vaapih264dec ! vaapipostproc ! "video/x-raw, format=(string)NV12,
width=(int)1280, height=(int)720, framerate=(fraction)30" ! fakesink tee. !
queue ! h264parse ! vaapih264dec ! vaapipostproc ! "video/x-raw,
format=(string)NV12, width=(int)1280, height=(int)720, framerate=(fraction)30"
! fakesink

Generating sample
Setting pipeline to PAUSED ...
...
Pipeline is PREROLLING ...
Got context from element 'vaapipostproc3': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
double free or corruption (fasttop)
Error after 4 iterations

Note that removing vaapipostproc generates random internal data stream errors.

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