[Bug 773546] New: double free or corruption when running parallel vaapi encoders in a loop
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 26 16:24:23 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773546
Bug ID: 773546
Summary: double free or corruption when running parallel vaapi
encoders in a loop
Classification: Platform
Product: GStreamer
Version: 1.9.90
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 338533
--> https://bugzilla.gnome.org/attachment.cgi?id=338533&action=edit
test program
Generate a sample file:
$ gst-launch-1.0 videotestsrc num-buffers=292 pattern=smpte ! video/x-raw\,\
format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\
framerate\=\(fraction\)30/1 ! filesink location=/tmp/buf.raw
Run the following in a loop
$ gst-launch-1.0 -f filesrc location=/tmp/buf.raw blocksize=3110400 !
videoparse width=1920 height=1080 framerate=30 format=nv12 ! tee name=encoder !
queue name=enc_1 max-size-buffers=1 ! vaapih264enc rate-control=2 bitrate=20000
keyframe-period=30 ! fakesink encoder. ! queue name=enc_2 max-size-buffers=1 !
vaapih264enc rate-control=2 bitrate=20000 keyframe-period=30 ! fakesink
encoder. ! queue name=enc_3 max-size-buffers=1 ! vaapih264enc rate-control=2
bitrate=20000 keyframe-period=30 ! fakesink
Unrepairable overflow!
Unrepairable overflow!
Unrepairable overflow!
Unrepairable overflow!
After some time:
*** Error in `gst-launch-1.0': double free or corruption (fasttop):
0x00007f5b380011e0 ***
Also noticed with vaapivp8enc.
To reproduce, run attached script
--
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