ffmpeg SVN crashes when the input file doesn't exist
Hi all, SVN revision 11298, [/packages/ffmpeg]> ./ffmpeg_g -i /dev/null FFmpeg version SVN-r11298, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-libx264 --enable-libvorbis --enable-libfaad --enable-libfaac --disable-ffserver --enable-liba52 --disable-static --enable-shared --enable-pp --enable-libxvid --enable-libmp3lame --disable-debug --prefix=/usr --enable-pthreads --enable-libamr-nb --enable-libamr-wb --cpu=i686 --enable-libtheora --enable-libgsm --extra-cflags=-fno-strict-aliasing --enable-x11grab libavutil version: 49.6.0 libavcodec version: 51.49.0 libavformat version: 52.3.0 built on Dec 22 2007 01:16:51, gcc: 4.3.0 20071221 [trunk revision 131119] zsh: segmentation fault ./ffmpeg_g -i /dev/null Valgrind reports invalid reads : ==5603== Invalid write of size 4 ==5603== at 0x8052579: opt_input_file (ffmpeg.c:2666) ==5603== Address 0x5294e7c is 0 bytes after a block of size 3,900 alloc'd ==5603== at 0x4024A24: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5603== by 0x38002FAF: (within /usr/lib/valgrind/x86-linux/memcheck) ==5603== ==5603== Invalid write of size 4 ==5603== at 0x80525B1: opt_input_file (ffmpeg.c:2667) ==5603== Address 0x5294e80 is 4 bytes after a block of size 3,900 alloc'd ==5603== at 0x4024A24: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5603== by 0x38002FAF: (within /usr/lib/valgrind/x86-linux/memcheck) ==5603== ==5603== Invalid write of size 4 ==5603== at 0x80525E9: opt_input_file (ffmpeg.c:2668) ==5603== Address 0x5294e84 is 8 bytes after a block of size 3,900 alloc'd ==5603== at 0x4024A24: memalign (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5603== by 0x38002FAF: (within /usr/lib/valgrind/x86-linux/memcheck) Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.
On Sat, Dec 22, 2007 at 01:25:06AM +0200, Ismail D?nmez wrote:
Hi all,
SVN revision 11298,
[/packages/ffmpeg]> ./ffmpeg_g -i /dev/null FFmpeg version SVN-r11298, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libx264 --enable-libvorbis --enable-libfaad --enable-libfaac --disable-ffserver --enable-liba52 --disable-static --enable-shared --enable-pp --enable-libxvid --enable-libmp3lame --disable-debug --prefix=/usr --enable-pthreads --enable-libamr-nb --enable-libamr-wb --cpu=i686 --enable-libtheora --enable-libgsm --extra-cflags=-fno-strict-aliasing --enable-x11grab libavutil version: 49.6.0 libavcodec version: 51.49.0 libavformat version: 52.3.0 built on Dec 22 2007 01:16:51, gcc: 4.3.0 20071221 [trunk revision 131119] zsh: segmentation fault ./ffmpeg_g -i /dev/null
not reproduceable [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your dictator
Wednesday 02 January 2008 18:29:14 tarihinde Michael Niedermayer ?unlar? yazm??t?:
On Sat, Dec 22, 2007 at 01:25:06AM +0200, Ismail D?nmez wrote:
Hi all,
SVN revision 11298,
[/packages/ffmpeg]> ./ffmpeg_g -i /dev/null FFmpeg version SVN-r11298, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-libx264 --enable-libvorbis --enable-libfaad --enable-libfaac --disable-ffserver --enable-liba52 --disable-static --enable-shared --enable-pp --enable-libxvid --enable-libmp3lame --disable-debug --prefix=/usr --enable-pthreads --enable-libamr-nb --enable-libamr-wb --cpu=i686 --enable-libtheora --enable-libgsm --extra-cflags=-fno-strict-aliasing --enable-x11grab libavutil version: 49.6.0 libavcodec version: 51.49.0 libavformat version: 52.3.0 built on Dec 22 2007 01:16:51, gcc: 4.3.0 20071221 [trunk revision 131119] zsh: segmentation fault ./ffmpeg_g -i /dev/null
not reproduceable
Because I am an idiot and forget to run make install as usual, but regtests are still broken oh well svn up -r to oldest revision didn't work either. I am lost for now. Happy new year and thanks! Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.
participants (2)
-
ismail@pardus.org.tr -
michaelni@gmx.at