[FFmpeg-cvslog] r19901 - trunk/tests/vsynth.regression.ref

Vitor Sessak vitor1001
Thu Sep 17 21:33:47 CEST 2009


reimar wrote:
> Author: reimar
> Date: Thu Sep 17 20:57:22 2009
> New Revision: 19901
> 
> Log:
> Update dnxhd regression test to match the majority of FATE machines (which
> also have a much saner stddev).

I don't know about the stddev, but valgrind is not happy about this test 
(reading uninited memory). This is not a false-positive, since the 
md5sum differs for different --malloc-fill values.

vitor at vitor-laptop:~/ffmpeg$ valgrind ./ffmpeg_g -y -flags +bitexact 
-dct fastint -idct simple -sws_flags +accurate_rnd+bitexact -f image2 
-vcodec pgmyuv -i ./tests/vsynth1/%02d.pgm -s hd1080 -b 120Mb -pix_fmt 
yuv422p -an -sws_flags neighbor+bitexact -vframes 2 
././tests/data/a-dnxhd.dnxhd ; md5sum ./tests/data/a-dnxhd.dnxhd
==14822== Memcheck, a memory error detector.
==14822== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==14822== Using LibVEX rev 1804, a library for dynamic binary translation.
==14822== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==14822== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation 
framework.
==14822== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==14822== For more details, rerun with: -v
==14822==
FFmpeg version SVN-r19862, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --cc='ccache gcc'
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.35. 0 / 52.35. 0
   libavformat   52.38. 0 / 52.38. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libswscale     0. 7. 1 /  0. 7. 1
   built on Sep 15 2009 18:55:57, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
[NULL @ 0x4217410]Unknown option 'sws_flags'
Input #0, image2, from './tests/vsynth1/%02d.pgm':
   Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: pgmyuv, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
[NULL @ 0x4217410]Unknown option 'sws_flags'
Output #0, dnxhd, to '././tests/data/a-dnxhd.dnxhd':
     Stream #0.0: Video: dnxhd, yuv422p, 1920x1080, q=2-31, 120000 kb/s, 
90k tbn, 25 tbc
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
==14822== Syscall param write(buf) points to uninitialised byte(s)
==14822==    at 0x40007F2: (within /lib/ld-2.7.so)
==14822==    by 0x41672F2: write (in /lib/tls/i686/cmov/libc-2.7.so)
==14822==    by 0x80683A7: put_buffer (aviobuf.c:84)
==14822==  Address 0x4849648 is 8 bytes inside a block of size 32,768 
alloc'd
==14822==    at 0x4021A92: memalign (vg_replace_malloc.c:460)
==14822==    by 0x4021B3F: posix_memalign (vg_replace_malloc.c:569)
==14822==    by 0x84A7C64: av_malloc (mem.c:66)
==14822==
==14822== Syscall param write(buf) points to uninitialised byte(s)
==14822==    at 0x40007F2: (within /lib/ld-2.7.so)
==14822==  Address 0x484d5b8 is 16,248 bytes inside a block of size 
32,768 alloc'd
==14822==    at 0x4021A92: memalign (vg_replace_malloc.c:460)
==14822==    by 0x4021B3F: posix_memalign (vg_replace_malloc.c:569)
==14822==    by 0x84A7C64: av_malloc (mem.c:66)
frame=    2 fps=  0 q=4.0 Lsize=    1184kB time=0.08 
bitrate=121241.6kbits/s
video:1184kB audio:0kB global headers:0kB muxing overhead 0.000000%
==14822==
==14822== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 25 from 1)
==14822== malloc/free: in use at exit: 0 bytes in 0 blocks.
==14822== malloc/free: 318 allocs, 318 frees, 26,993,394 bytes allocated.
==14822== For counts of detected errors, rerun with: -v
==14822== All heap blocks were freed -- no leaks are possible.
023baac7eda6ec5bf24ed96fbbc68ca4  ./tests/data/a-dnxhd.dnxhd


vitor at vitor-laptop:~/ffmpeg$ valgrind --malloc-fill=0xff ./ffmpeg_g -y 
-flags +bitexact -dct fastint -idct simple -sws_flags 
+accurate_rnd+bitexact -f image2 -vcodec pgmyuv -i 
./tests/vsynth1/%02d.pgm -s hd1080 -b 120Mb -pix_fmt yuv422p -an 
-sws_flags neighbor+bitexact -vframes 2 ././tests/data/a-dnxhd.dnxhd ; 
md5sum ./tests/data/a-dnxhd.dnxhd
==14846== Memcheck, a memory error detector.
==14846== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==14846== Using LibVEX rev 1804, a library for dynamic binary translation.
==14846== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==14846== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation 
framework.
==14846== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==14846== For more details, rerun with: -v
==14846==
FFmpeg version SVN-r19862, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --cc='ccache gcc'
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.35. 0 / 52.35. 0
   libavformat   52.38. 0 / 52.38. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libswscale     0. 7. 1 /  0. 7. 1
   built on Sep 15 2009 18:55:57, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
[NULL @ 0x4217410]Unknown option 'sws_flags'
Input #0, image2, from './tests/vsynth1/%02d.pgm':
   Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: pgmyuv, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
[NULL @ 0x4217410]Unknown option 'sws_flags'
Output #0, dnxhd, to '././tests/data/a-dnxhd.dnxhd':
     Stream #0.0: Video: dnxhd, yuv422p, 1920x1080, q=2-31, 120000 kb/s, 
90k tbn, 25 tbc
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
==14846== Syscall param write(buf) points to uninitialised byte(s)
==14846==    at 0x40007F2: (within /lib/ld-2.7.so)
==14846==    by 0x41672F2: write (in /lib/tls/i686/cmov/libc-2.7.so)
==14846==    by 0x80683A7: put_buffer (aviobuf.c:84)
==14846==  Address 0x4849648 is 8 bytes inside a block of size 32,768 
alloc'd
==14846==    at 0x4021A92: memalign (vg_replace_malloc.c:460)
==14846==    by 0x4021B3F: posix_memalign (vg_replace_malloc.c:569)
==14846==    by 0x84A7C64: av_malloc (mem.c:66)
==14846==
==14846== Syscall param write(buf) points to uninitialised byte(s)
==14846==    at 0x40007F2: (within /lib/ld-2.7.so)
==14846==  Address 0x484d5b8 is 16,248 bytes inside a block of size 
32,768 alloc'd
==14846==    at 0x4021A92: memalign (vg_replace_malloc.c:460)
==14846==    by 0x4021B3F: posix_memalign (vg_replace_malloc.c:569)
==14846==    by 0x84A7C64: av_malloc (mem.c:66)
frame=    2 fps=  0 q=4.0 Lsize=    1184kB time=0.08 
bitrate=121241.6kbits/s
video:1184kB audio:0kB global headers:0kB muxing overhead 0.000000%
==14846==
==14846== ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 25 from 1)
==14846== malloc/free: in use at exit: 0 bytes in 0 blocks.
==14846== malloc/free: 318 allocs, 318 frees, 26,993,394 bytes allocated.
==14846== For counts of detected errors, rerun with: -v
==14846== All heap blocks were freed -- no leaks are possible.
7b86495b963a59d097af5399ad727ed9  ./tests/data/a-dnxhd.dnxhd

-Vitor



More information about the ffmpeg-cvslog mailing list