Baptiste Coudurier <baptiste.coudur...@gmail.com> added the comment:
~/samples> valgrind ~/src/ffmpeg/debug/ffmpeg_g -i file.mpg -s 12x4 test.mpg Err 139 #69940 ==9248== Memcheck, a memory error detector. ==9248== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==9248== Using LibVEX rev 1884, a library for dynamic binary translation. ==9248== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==9248== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. ==9248== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==9248== For more details, rerun with: -v ==9248== FFmpeg version SVN-r19014, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libgsm --enable-nonfree --enable-libamr-nb --e nable-libtheora --enable-libx264 --enable-libspeex --enable-pthreads --enable-libopenjpeg --disable-optimizations --enable -debug=gdb3 --extra-cflags=-DDEBUG libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.29. 1 / 52.29. 1 libavformat 52.34. 0 / 52.34. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on May 30 2009 21:27:56, gcc: 4.3.3 Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, mpeg, from 'PubMatrix.mpg': Duration: 00:00:24.26, start: 0.220000, bitrate: 11888 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv422p, 720x608 [PAR 1:1 DAR 45:38], 11386 kb/s, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s File 'test.mpg' already exists. Overwrite ? [y/N] y Output #0, mpeg, to 'test.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 12x4 [PAR 15:38 DAR 45:38], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding ffmpeg_g: libswscale/swscale_template.c:2716: swScale_MMX2: Assertion `firstLumSrcY >= lastInLumBuf - vLumBufSize + 1' fai led. ==9248== ==9248== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 46 from 1) ==9248== malloc/free: in use at exit: 5,138,710 bytes in 268 blocks. ==9248== malloc/free: 3,161 allocs, 2,893 frees, 18,163,845 bytes allocated. ==9248== For counts of detected errors, rerun with: -v ==9248== searching for pointers to 268 not-freed blocks. ==9248== checked 9,978,832 bytes. ==9248== ==9248== LEAK SUMMARY: ==9248== definitely lost: 0 bytes in 0 blocks. ==9248== possibly lost: 0 bytes in 0 blocks. ==9248== still reachable: 5,138,710 bytes in 268 blocks. ==9248== suppressed: 0 bytes in 0 blocks. ==9248== Rerun with --leak-check=full to see details of leaked memory. zsh: abort valgrind ~/src/ffmpeg/debug/ffmpeg_g -i file.mpg -s 12x4 test.mpg This ffmpeg is compiled with -DDEBUG. ---------- status: new -> open substatus: new -> reproduced _____________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1136> _____________________________________________________