x86_64-archlinux-gcc-valgrind-no-undef N-89210-g515555af6c

Architecturex86
Variantx86_64
CPUgeneric
OSlinux
Ownerubitux2
Compilergcc 7.2.0 (GCC)
Configuration--prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
Commentvalgrind-3.13.0 no-undef
RevisionN-89210-g515555af6c
DateThu Nov 23 20:17:25 2017
Status3556 / 3564
Warnings111
Logscompile configure test
8 failed testsStatusLast good rev
diffstderrvsynth1-jpeg20001N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-jpeg2000	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-jpeg2000	2017-11-23 20:56:14.532066236 +0000
@@ -1,4 +0,0 @@
-d2a06ad916711d29b30977a06335bb76 *tests/data/fate/vsynth1-jpeg2000.avi
-2265698 tests/data/fate/vsynth1-jpeg2000.avi
-15a8e49f6fd014193bbafd72f84936c7 *tests/data/fate/vsynth1-jpeg2000.out.rawvideo
-stddev:    5.36 PSNR: 33.55 MAXDIFF:   61 bytes:  7603200/  7603200
==27888== Memcheck, a memory error detector
==27888== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==27888== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==27888== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-jpeg2000.avi
==27888== 
--27888-- WARNING: Serious error when reading debug info
--27888-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--27888-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-jpeg2000.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=2.6 q=-0.0 Lsize=    2213kB time=00:00:02.00 bitrate=9062.8kbits/s speed=0.105x    
video:2206kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.304495%
==27888== 
==27888== HEAP SUMMARY:
==27888==     in use at exit: 541,966,990 bytes in 66,151 blocks
==27888==   total heap usage: 71,603 allocs, 5,452 frees, 571,578,481 bytes allocated
==27888== 
==27888== 57,351 bytes in 7 blocks are possibly lost in loss record 2 of 3
==27888==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27888==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27888==    by 0xEC3BD2: av_malloc (mem.c:87)
==27888==    by 0x731AE9: encode_tile (j2kenc.c:941)
==27888==    by 0x734909: encode_frame (j2kenc.c:1087)
==27888==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==27888==    by 0x603DCC: do_encode (encode.c:374)
==27888==    by 0x603F59: avcodec_send_frame (encode.c:423)
==27888==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==27888==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==27888==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==27888==    by 0x25E63A: transcode (ffmpeg.c:4606)
==27888==    by 0x25E63A: main (ffmpeg.c:4812)
==27888== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==27888== 541,909,599 bytes in 66,143 blocks are definitely lost in loss record 3 of 3
==27888==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27888==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27888==    by 0xEC3BD2: av_malloc (mem.c:87)
==27888==    by 0x731AE9: encode_tile (j2kenc.c:941)
==27888==    by 0x734909: encode_frame (j2kenc.c:1087)
==27888==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==27888==    by 0x603DCC: do_encode (encode.c:374)
==27888==    by 0x603F59: avcodec_send_frame (encode.c:423)
==27888==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==27888==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==27888==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==27888==    by 0x25E63A: transcode (ffmpeg.c:4606)
==27888==    by 0x25E63A: main (ffmpeg.c:4812)
==27888== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==27888== LEAK SUMMARY:
==27888==    definitely lost: 541,909,599 bytes in 66,143 blocks
==27888==    indirectly lost: 0 bytes in 0 blocks
==27888==      possibly lost: 57,351 bytes in 7 blocks
==27888==    still reachable: 40 bytes in 1 blocks
==27888==         suppressed: 0 bytes in 0 blocks
==27888== Reachable blocks (those to which a pointer was found) are not shown.
==27888== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==27888== 
==27888== For counts of detected and suppressed errors, rerun with: -v
==27888== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth1-jpeg2000-971N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth1-jpeg2000-97	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth1-jpeg2000-97	2017-11-23 20:56:15.032066091 +0000
@@ -1,4 +0,0 @@
-8bb707e596f97451fd325dec2dd610a7 *tests/data/fate/vsynth1-jpeg2000-97.avi
-3654620 tests/data/fate/vsynth1-jpeg2000-97.avi
-5073771a78e1f5366a7eb0df341662fc *tests/data/fate/vsynth1-jpeg2000-97.out.rawvideo
-stddev:    4.23 PSNR: 35.59 MAXDIFF:   53 bytes:  7603200/  7603200
==27903== Memcheck, a memory error detector
==27903== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==27903== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==27903== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-jpeg2000-97.avi
==27903== 
--27903-- WARNING: Serious error when reading debug info
--27903-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--27903-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102a40] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth1.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth1-jpeg2000-97.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=2.6 q=-0.0 Lsize=    3569kB time=00:00:02.00 bitrate=14618.5kbits/s speed=0.104x    
video:3562kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.188692%
==27903== 
==27903== HEAP SUMMARY:
==27903==     in use at exit: 541,966,990 bytes in 66,151 blocks
==27903==   total heap usage: 71,587 allocs, 5,436 frees, 572,967,134 bytes allocated
==27903== 
==27903== 57,351 bytes in 7 blocks are possibly lost in loss record 3 of 4
==27903==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27903==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27903==    by 0xEC3BD2: av_malloc (mem.c:87)
==27903==    by 0x731AE9: encode_tile (j2kenc.c:941)
==27903==    by 0x734909: encode_frame (j2kenc.c:1087)
==27903==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==27903==    by 0x603DCC: do_encode (encode.c:374)
==27903==    by 0x603F59: avcodec_send_frame (encode.c:423)
==27903==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==27903==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==27903==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==27903==    by 0x25E63A: transcode (ffmpeg.c:4606)
==27903==    by 0x25E63A: main (ffmpeg.c:4812)
==27903== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==27903== 541,909,599 (541,893,213 direct, 16,386 indirect) bytes in 66,141 blocks are definitely lost in loss record 4 of 4
==27903==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27903==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27903==    by 0xEC3BD2: av_malloc (mem.c:87)
==27903==    by 0x731AE9: encode_tile (j2kenc.c:941)
==27903==    by 0x734909: encode_frame (j2kenc.c:1087)
==27903==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==27903==    by 0x603DCC: do_encode (encode.c:374)
==27903==    by 0x603F59: avcodec_send_frame (encode.c:423)
==27903==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==27903==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==27903==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==27903==    by 0x25E63A: transcode (ffmpeg.c:4606)
==27903==    by 0x25E63A: main (ffmpeg.c:4812)
==27903== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==27903== LEAK SUMMARY:
==27903==    definitely lost: 541,893,213 bytes in 66,141 blocks
==27903==    indirectly lost: 16,386 bytes in 2 blocks
==27903==      possibly lost: 57,351 bytes in 7 blocks
==27903==    still reachable: 40 bytes in 1 blocks
==27903==         suppressed: 0 bytes in 0 blocks
==27903== Reachable blocks (those to which a pointer was found) are not shown.
==27903== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==27903== 
==27903== For counts of detected and suppressed errors, rerun with: -v
==27903== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth2-jpeg20001N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-jpeg2000	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-jpeg2000	2017-11-23 21:15:32.441631897 +0000
@@ -1,4 +0,0 @@
-6c2f979e4a33a36f36aec86f2d464143 *tests/data/fate/vsynth2-jpeg2000.avi
-1494516 tests/data/fate/vsynth2-jpeg2000.avi
-36afd96d6e55bc83166fd615351ba366 *tests/data/fate/vsynth2-jpeg2000.out.rawvideo
-stddev:    5.00 PSNR: 34.15 MAXDIFF:   59 bytes:  7603200/  7603200
==15750== Memcheck, a memory error detector
==15750== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==15750== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==15750== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-jpeg2000.avi
==15750== 
--15750-- WARNING: Serious error when reading debug info
--15750-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--15750-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-jpeg2000.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=2.9 q=-0.0 Lsize=    1459kB time=00:00:02.00 bitrate=5978.1kbits/s speed=0.115x    
video:1453kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.462411%
==15750== 
==15750== HEAP SUMMARY:
==15750==     in use at exit: 541,966,990 bytes in 66,151 blocks
==15750==   total heap usage: 71,603 allocs, 5,452 frees, 570,807,298 bytes allocated
==15750== 
==15750== 57,351 bytes in 7 blocks are possibly lost in loss record 2 of 3
==15750==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15750==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15750==    by 0xEC3BD2: av_malloc (mem.c:87)
==15750==    by 0x731AE9: encode_tile (j2kenc.c:941)
==15750==    by 0x734909: encode_frame (j2kenc.c:1087)
==15750==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==15750==    by 0x603DCC: do_encode (encode.c:374)
==15750==    by 0x603F59: avcodec_send_frame (encode.c:423)
==15750==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==15750==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==15750==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==15750==    by 0x25E63A: transcode (ffmpeg.c:4606)
==15750==    by 0x25E63A: main (ffmpeg.c:4812)
==15750== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==15750== 541,909,599 bytes in 66,143 blocks are definitely lost in loss record 3 of 3
==15750==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15750==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15750==    by 0xEC3BD2: av_malloc (mem.c:87)
==15750==    by 0x731AE9: encode_tile (j2kenc.c:941)
==15750==    by 0x734909: encode_frame (j2kenc.c:1087)
==15750==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==15750==    by 0x603DCC: do_encode (encode.c:374)
==15750==    by 0x603F59: avcodec_send_frame (encode.c:423)
==15750==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==15750==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==15750==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==15750==    by 0x25E63A: transcode (ffmpeg.c:4606)
==15750==    by 0x25E63A: main (ffmpeg.c:4812)
==15750== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==15750== LEAK SUMMARY:
==15750==    definitely lost: 541,909,599 bytes in 66,143 blocks
==15750==    indirectly lost: 0 bytes in 0 blocks
==15750==      possibly lost: 57,351 bytes in 7 blocks
==15750==    still reachable: 40 bytes in 1 blocks
==15750==         suppressed: 0 bytes in 0 blocks
==15750== Reachable blocks (those to which a pointer was found) are not shown.
==15750== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==15750== 
==15750== For counts of detected and suppressed errors, rerun with: -v
==15750== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth2-jpeg2000-971N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth2-jpeg2000-97	2017-03-24 21:02:53.649713172 +0000
+++ tests/data/fate/vsynth2-jpeg2000-97	2017-11-23 21:15:33.064965001 +0000
@@ -1,4 +0,0 @@
-2e43f004a55f4a55a19c4b79fc8e8743 *tests/data/fate/vsynth2-jpeg2000-97.avi
-2448706 tests/data/fate/vsynth2-jpeg2000-97.avi
-a6e2453118a0de135836a868b2ca0e60 *tests/data/fate/vsynth2-jpeg2000-97.out.rawvideo
-stddev:    3.23 PSNR: 37.94 MAXDIFF:   29 bytes:  7603200/  7603200
==15769== Memcheck, a memory error detector
==15769== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==15769== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==15769== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-jpeg2000-97.avi
==15769== 
--15769-- WARNING: Serious error when reading debug info
--15769-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--15769-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102a40] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth2.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth2-jpeg2000-97.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=2.9 q=-0.0 Lsize=    2391kB time=00:00:02.00 bitrate=9794.8kbits/s speed=0.116x    
video:2385kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.281551%
==15769== 
==15769== HEAP SUMMARY:
==15769==     in use at exit: 541,966,990 bytes in 66,151 blocks
==15769==   total heap usage: 71,587 allocs, 5,436 frees, 571,761,228 bytes allocated
==15769== 
==15769== 57,351 bytes in 7 blocks are possibly lost in loss record 2 of 3
==15769==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15769==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15769==    by 0xEC3BD2: av_malloc (mem.c:87)
==15769==    by 0x731AE9: encode_tile (j2kenc.c:941)
==15769==    by 0x734909: encode_frame (j2kenc.c:1087)
==15769==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==15769==    by 0x603DCC: do_encode (encode.c:374)
==15769==    by 0x603F59: avcodec_send_frame (encode.c:423)
==15769==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==15769==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==15769==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==15769==    by 0x25E63A: transcode (ffmpeg.c:4606)
==15769==    by 0x25E63A: main (ffmpeg.c:4812)
==15769== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==15769== 541,909,599 bytes in 66,143 blocks are definitely lost in loss record 3 of 3
==15769==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15769==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15769==    by 0xEC3BD2: av_malloc (mem.c:87)
==15769==    by 0x731AE9: encode_tile (j2kenc.c:941)
==15769==    by 0x734909: encode_frame (j2kenc.c:1087)
==15769==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==15769==    by 0x603DCC: do_encode (encode.c:374)
==15769==    by 0x603F59: avcodec_send_frame (encode.c:423)
==15769==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==15769==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==15769==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==15769==    by 0x25E63A: transcode (ffmpeg.c:4606)
==15769==    by 0x25E63A: main (ffmpeg.c:4812)
==15769== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==15769== LEAK SUMMARY:
==15769==    definitely lost: 541,909,599 bytes in 66,143 blocks
==15769==    indirectly lost: 0 bytes in 0 blocks
==15769==      possibly lost: 57,351 bytes in 7 blocks
==15769==    still reachable: 40 bytes in 1 blocks
==15769==         suppressed: 0 bytes in 0 blocks
==15769== Reachable blocks (those to which a pointer was found) are not shown.
==15769== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==15769== 
==15769== For counts of detected and suppressed errors, rerun with: -v
==15769== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth3-jpeg20001N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-jpeg2000	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-jpeg2000	2017-11-23 20:58:44.285356179 +0000
@@ -1,4 +0,0 @@
-0b8aa8113c10772cffff60f9c8ffd902 *tests/data/fate/vsynth3-jpeg2000.avi
-65548 tests/data/fate/vsynth3-jpeg2000.avi
-2d8bd94d558755c47d7e23fd9556e164 *tests/data/fate/vsynth3-jpeg2000.out.rawvideo
-stddev:    5.48 PSNR: 33.34 MAXDIFF:   47 bytes:    86700/    86700
==29746== Memcheck, a memory error detector
==29746== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29746== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29746== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-jpeg2000.avi
==29746== 
--29746-- WARNING: Serious error when reading debug info
--29746-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--29746-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
[swscaler @ 0x71f34a0] Warning: data is not aligned! This can lead to a speed loss
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-jpeg2000.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=0.0 q=-0.0 Lsize=      64kB time=00:00:02.00 bitrate= 262.2kbits/s speed=3.66x    
video:57kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.721293%
==29746== 
==29746== HEAP SUMMARY:
==29746==     in use at exit: 33,722,428 bytes in 4,117 blocks
==29746==   total heap usage: 7,526 allocs, 3,409 frees, 36,258,300 bytes allocated
==29746== 
==29746== 40,965 bytes in 5 blocks are possibly lost in loss record 2 of 3
==29746==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29746==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29746==    by 0xEC3BD2: av_malloc (mem.c:87)
==29746==    by 0x731AE9: encode_tile (j2kenc.c:941)
==29746==    by 0x734909: encode_frame (j2kenc.c:1087)
==29746==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==29746==    by 0x603DCC: do_encode (encode.c:374)
==29746==    by 0x603F59: avcodec_send_frame (encode.c:423)
==29746==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==29746==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==29746==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==29746==    by 0x25E63A: transcode (ffmpeg.c:4606)
==29746==    by 0x25E63A: main (ffmpeg.c:4812)
==29746== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==29746== 33,681,423 bytes in 4,111 blocks are definitely lost in loss record 3 of 3
==29746==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29746==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29746==    by 0xEC3BD2: av_malloc (mem.c:87)
==29746==    by 0x731AE9: encode_tile (j2kenc.c:941)
==29746==    by 0x734909: encode_frame (j2kenc.c:1087)
==29746==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==29746==    by 0x603DCC: do_encode (encode.c:374)
==29746==    by 0x603F59: avcodec_send_frame (encode.c:423)
==29746==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==29746==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==29746==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==29746==    by 0x25E63A: transcode (ffmpeg.c:4606)
==29746==    by 0x25E63A: main (ffmpeg.c:4812)
==29746== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==29746== LEAK SUMMARY:
==29746==    definitely lost: 33,681,423 bytes in 4,111 blocks
==29746==    indirectly lost: 0 bytes in 0 blocks
==29746==      possibly lost: 40,965 bytes in 5 blocks
==29746==    still reachable: 40 bytes in 1 blocks
==29746==         suppressed: 0 bytes in 0 blocks
==29746== Reachable blocks (those to which a pointer was found) are not shown.
==29746== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==29746== 
==29746== For counts of detected and suppressed errors, rerun with: -v
==29746== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth3-jpeg2000-971N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth3-jpeg2000-97	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth3-jpeg2000-97	2017-11-23 20:58:44.858689346 +0000
@@ -1,4 +0,0 @@
-b6c88a623c3296ca945346d2203f0af0 *tests/data/fate/vsynth3-jpeg2000-97.avi
-83870 tests/data/fate/vsynth3-jpeg2000-97.avi
-0cd707bfb1bbe5312b00c094f695b1fa *tests/data/fate/vsynth3-jpeg2000-97.out.rawvideo
-stddev:    4.52 PSNR: 35.02 MAXDIFF:   47 bytes:    86700/    86700
==29769== Memcheck, a memory error detector
==29769== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29769== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==29769== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 34x34 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-jpeg2000-97.avi
==29769== 
--29769-- WARNING: Serious error when reading debug info
--29769-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--29769-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102a40] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth3.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 346 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 34x34, 346 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
[swscaler @ 0x71f3040] Warning: data is not aligned! This can lead to a speed loss
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth3-jpeg2000-97.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 34x34, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=0.0 q=-0.0 Lsize=      82kB time=00:00:02.00 bitrate= 335.5kbits/s speed=3.46x    
video:75kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.940471%
==29769== 
==29769== HEAP SUMMARY:
==29769==     in use at exit: 33,722,428 bytes in 4,117 blocks
==29769==   total heap usage: 7,510 allocs, 3,393 frees, 36,276,136 bytes allocated
==29769== 
==29769== 32,772 bytes in 4 blocks are possibly lost in loss record 2 of 3
==29769==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29769==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29769==    by 0xEC3BD2: av_malloc (mem.c:87)
==29769==    by 0x731AE9: encode_tile (j2kenc.c:941)
==29769==    by 0x734909: encode_frame (j2kenc.c:1087)
==29769==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==29769==    by 0x603DCC: do_encode (encode.c:374)
==29769==    by 0x603F59: avcodec_send_frame (encode.c:423)
==29769==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==29769==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==29769==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==29769==    by 0x25E63A: transcode (ffmpeg.c:4606)
==29769==    by 0x25E63A: main (ffmpeg.c:4812)
==29769== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==29769== 33,689,616 bytes in 4,112 blocks are definitely lost in loss record 3 of 3
==29769==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29769==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29769==    by 0xEC3BD2: av_malloc (mem.c:87)
==29769==    by 0x731AE9: encode_tile (j2kenc.c:941)
==29769==    by 0x734909: encode_frame (j2kenc.c:1087)
==29769==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==29769==    by 0x603DCC: do_encode (encode.c:374)
==29769==    by 0x603F59: avcodec_send_frame (encode.c:423)
==29769==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==29769==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==29769==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==29769==    by 0x25E63A: transcode (ffmpeg.c:4606)
==29769==    by 0x25E63A: main (ffmpeg.c:4812)
==29769== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==29769== LEAK SUMMARY:
==29769==    definitely lost: 33,689,616 bytes in 4,112 blocks
==29769==    indirectly lost: 0 bytes in 0 blocks
==29769==      possibly lost: 32,772 bytes in 4 blocks
==29769==    still reachable: 40 bytes in 1 blocks
==29769==         suppressed: 0 bytes in 0 blocks
==29769== Reachable blocks (those to which a pointer was found) are not shown.
==29769== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==29769== 
==29769== For counts of detected and suppressed errors, rerun with: -v
==29769== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-jpeg20001N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-jpeg2000	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-jpeg2000	2017-11-23 21:11:20.141727902 +0000
@@ -1,4 +0,0 @@
-1f2cf6061c78905b8011091a9a7c425f *tests/data/fate/vsynth_lena-jpeg2000.avi
-1138054 tests/data/fate/vsynth_lena-jpeg2000.avi
-955653ca7a08447e7b1501b444f24562 *tests/data/fate/vsynth_lena-jpeg2000.out.rawvideo
-stddev:    4.40 PSNR: 35.25 MAXDIFF:   58 bytes:  7603200/  7603200
==9572== Memcheck, a memory error detector
==9572== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==9572== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==9572== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-jpeg2000.avi
==9572== 
--9572-- WARNING: Serious error when reading debug info
--9572-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--9572-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102b80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-jpeg2000.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=3.0 q=-0.0 Lsize=    1111kB time=00:00:02.00 bitrate=4552.2kbits/s speed=0.121x    
video:1105kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.608218%
==9572== 
==9572== HEAP SUMMARY:
==9572==     in use at exit: 541,966,990 bytes in 66,151 blocks
==9572==   total heap usage: 71,603 allocs, 5,452 frees, 570,450,843 bytes allocated
==9572== 
==9572== 57,351 bytes in 7 blocks are possibly lost in loss record 2 of 3
==9572==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9572==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9572==    by 0xEC3BD2: av_malloc (mem.c:87)
==9572==    by 0x731AE9: encode_tile (j2kenc.c:941)
==9572==    by 0x734909: encode_frame (j2kenc.c:1087)
==9572==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==9572==    by 0x603DCC: do_encode (encode.c:374)
==9572==    by 0x603F59: avcodec_send_frame (encode.c:423)
==9572==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==9572==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==9572==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==9572==    by 0x25E63A: transcode (ffmpeg.c:4606)
==9572==    by 0x25E63A: main (ffmpeg.c:4812)
==9572== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==9572== 541,909,599 bytes in 66,143 blocks are definitely lost in loss record 3 of 3
==9572==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9572==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9572==    by 0xEC3BD2: av_malloc (mem.c:87)
==9572==    by 0x731AE9: encode_tile (j2kenc.c:941)
==9572==    by 0x734909: encode_frame (j2kenc.c:1087)
==9572==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==9572==    by 0x603DCC: do_encode (encode.c:374)
==9572==    by 0x603F59: avcodec_send_frame (encode.c:423)
==9572==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==9572==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==9572==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==9572==    by 0x25E63A: transcode (ffmpeg.c:4606)
==9572==    by 0x25E63A: main (ffmpeg.c:4812)
==9572== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==9572== LEAK SUMMARY:
==9572==    definitely lost: 541,909,599 bytes in 66,143 blocks
==9572==    indirectly lost: 0 bytes in 0 blocks
==9572==      possibly lost: 57,351 bytes in 7 blocks
==9572==    still reachable: 40 bytes in 1 blocks
==9572==         suppressed: 0 bytes in 0 blocks
==9572== Reachable blocks (those to which a pointer was found) are not shown.
==9572== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==9572== 
==9572== For counts of detected and suppressed errors, rerun with: -v
==9572== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diffstderrvsynth_lena-jpeg2000-971N-101748-g797c2ecc8f
--- /home/fate/ffmpeg/tests/ref/vsynth/vsynth_lena-jpeg2000-97	2017-03-24 21:02:53.653046513 +0000
+++ tests/data/fate/vsynth_lena-jpeg2000-97	2017-11-23 21:11:22.548393619 +0000
@@ -1,4 +0,0 @@
-e5a756e97910420c90e76259c56261cb *tests/data/fate/vsynth_lena-jpeg2000-97.avi
-1918956 tests/data/fate/vsynth_lena-jpeg2000-97.avi
-93a4ba0c230f2430a813df594676e58a *tests/data/fate/vsynth_lena-jpeg2000-97.out.rawvideo
-stddev:    2.84 PSNR: 39.04 MAXDIFF:   28 bytes:  7603200/  7603200
==9595== Memcheck, a memory error detector
==9595== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==9595== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==9595== Command: /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg -nostdin -nostats -cpuflags all -f rawvideo -s 352x288 -pix_fmt yuv420p -threads 1 -idct simple -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -hwaccel none -threads 1 -thread_type frame+slice -i /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv -threads 1 -idct simple -dct fastint -c jpeg2000 -qscale 7 -strict experimental -pix_fmt rgb24 -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact -f avi -y /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-jpeg2000-97.avi
==9595== 
--9595-- WARNING: Serious error when reading debug info
--9595-- When reading debug info from /home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/ffmpeg:
--9595-- get_Form_contents: DW_FORM_strp points outside .debug_str
ffmpeg version N-89210-g515555af6c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --prefix=/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/install --samples=/home/fate/fate-suite --enable-gpl --enable-memory-poisoning --enable-avresample --cc='ccache cc' --target-exec='valgrind --error-exitcode=1 --malloc-fill=0xa2 --leak-check=full --gen-suppressions=all --suppressions=/home/fate/ffmpeg/tests/fate-valgrind.supp --undef-value-errors=no' --disable-stripping --disable-memory-poisoning
  libavutil      56.  2.100 / 56.  2.100
  libavcodec     58.  3.105 / 58.  3.105
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  2.102 /  7.  2.102
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rawvideo @ 0x7102a40] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/vsynth_lena.yuv':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 30412 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> jpeg2000 (native))
Output #0, avi, to '/home/fate/workdirs/x86_64-archlinux-gcc-valgrind-no-undef/build/tests/data/fate/vsynth_lena-jpeg2000-97.avi':
    Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 352x288, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc jpeg2000
frame=   50 fps=3.1 q=-0.0 Lsize=    1874kB time=00:00:02.00 bitrate=7675.8kbits/s speed=0.123x    
video:1867kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.359661%
==9595== 
==9595== HEAP SUMMARY:
==9595==     in use at exit: 541,966,990 bytes in 66,151 blocks
==9595==   total heap usage: 71,587 allocs, 5,436 frees, 571,231,484 bytes allocated
==9595== 
==9595== 57,351 bytes in 7 blocks are possibly lost in loss record 2 of 3
==9595==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9595==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9595==    by 0xEC3BD2: av_malloc (mem.c:87)
==9595==    by 0x731AE9: encode_tile (j2kenc.c:941)
==9595==    by 0x734909: encode_frame (j2kenc.c:1087)
==9595==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==9595==    by 0x603DCC: do_encode (encode.c:374)
==9595==    by 0x603F59: avcodec_send_frame (encode.c:423)
==9595==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==9595==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==9595==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==9595==    by 0x25E63A: transcode (ffmpeg.c:4606)
==9595==    by 0x25E63A: main (ffmpeg.c:4812)
==9595== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==9595== 541,909,599 bytes in 66,143 blocks are definitely lost in loss record 3 of 3
==9595==    at 0x4C2F286: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9595==    by 0x4C2F3C2: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9595==    by 0xEC3BD2: av_malloc (mem.c:87)
==9595==    by 0x731AE9: encode_tile (j2kenc.c:941)
==9595==    by 0x734909: encode_frame (j2kenc.c:1087)
==9595==    by 0x603A10: avcodec_encode_video2 (encode.c:303)
==9595==    by 0x603DCC: do_encode (encode.c:374)
==9595==    by 0x603F59: avcodec_send_frame (encode.c:423)
==9595==    by 0x27A0A1: do_video_out (ffmpeg.c:1280)
==9595==    by 0x27EA3A: reap_filters (ffmpeg.c:1498)
==9595==    by 0x25E63A: transcode_step (ffmpeg.c:4562)
==9595==    by 0x25E63A: transcode (ffmpeg.c:4606)
==9595==    by 0x25E63A: main (ffmpeg.c:4812)
==9595== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:memalign
   fun:posix_memalign
   fun:av_malloc
   fun:encode_tile
   fun:encode_frame
   fun:avcodec_encode_video2
   fun:do_encode
   fun:avcodec_send_frame
   fun:do_video_out
   fun:reap_filters
   fun:transcode_step
   fun:transcode
   fun:main
}
==9595== LEAK SUMMARY:
==9595==    definitely lost: 541,909,599 bytes in 66,143 blocks
==9595==    indirectly lost: 0 bytes in 0 blocks
==9595==      possibly lost: 57,351 bytes in 7 blocks
==9595==    still reachable: 40 bytes in 1 blocks
==9595==         suppressed: 0 bytes in 0 blocks
==9595== Reachable blocks (those to which a pointer was found) are not shown.
==9595== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==9595== 
==9595== For counts of detected and suppressed errors, rerun with: -v
==9595== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)