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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 30 16:26:49 UTC 2018


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

--- Comment #9 from Florent ThiƩry <florent.thiery at ubicast.eu> ---
I am trying to run this until it fails, but of course this is a race condition,
valgrind may be slowing it so much that the problem may not happen again.

If i ever get it, is the following good enough or is a leak report necessary ?

$ while valgrind 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 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; do :; done
...
Got EOS from element "pipeline0".
Execution ended after 0:00:14.416327794
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
==27980== 
==27980== HEAP SUMMARY:
==27980==     in use at exit: 747,612 bytes in 3,654 blocks
==27980==   total heap usage: 349,937 allocs, 346,283 frees, 8,687,337,467
bytes allocated
==27980== 
==27980== LEAK SUMMARY:
==27980==    definitely lost: 16,880 bytes in 4 blocks
==27980==    indirectly lost: 5,056 bytes in 12 blocks
==27980==      possibly lost: 8,140 bytes in 71 blocks
==27980==    still reachable: 700,536 bytes in 3,440 blocks
==27980==                       of which reachable via heuristic:
==27980==                         length64           : 792 bytes in 18 blocks
==27980==                         newarray           : 1,648 bytes in 23 blocks
==27980==         suppressed: 0 bytes in 0 blocks
==27980== Rerun with --leak-check=full to see details of leaked memory
==27980== 
==27980== For counts of detected and suppressed errors, rerun with: -v
==27980== ERROR SUMMARY: 756483 errors from 559 contexts (suppressed: 2 from 2)

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