[issue2471] ffmpeg crashes on mkv files with invalid time stamps
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: Sample moved to /samples/ffmpeg-bugs/roundup/issue2471. -- substatus: needs_more_info - reproduced FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2471
[issue2476] ffmpeg binary not created with --disable-swscale
New submission from Eric Akkerman eric.akker...@gmail.com: when configuring ffmpeg on Red Hat Fedora Core 7, when --disable-swscale flag is added, it wont create the ffmpeg binary in /usr/local/bin Config command: ./configure --prefix=/usr/local --enable-shared --disable-mmx --enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree --enable-libfaad --enable-zlib --enable-libvorbis --enable-libx264 --disable-swscale results of sudo make install: INSTALL libavdevice/libavdevice.a INSTALL libavdevice/libavdevice.so STRIP install-libavdevice-shared INSTALL libavformat/libavformat.a INSTALL libavformat/libavformat.so STRIP install-libavformat-shared INSTALL libavcodec/libavcodec.a INSTALL libavcodec/libavcodec.so STRIP install-libavcodec-shared INSTALL libavutil/libavutil.a INSTALL libavutil/libavutil.so STRIP install-libavutil-shared INSTALL libavdevice/avdevice.h INSTALL libavdevice/libavdevice.pc INSTALL libavformat/avformat.h INSTALL libavformat/avio.h INSTALL libavformat/libavformat.pc INSTALL libavcodec/avcodec.h INSTALL libavcodec/avfft.h INSTALL libavcodec/dxva2.h INSTALL libavcodec/opt.h INSTALL libavcodec/vaapi.h INSTALL libavcodec/vdpau.h INSTALL libavcodec/xvmc.h INSTALL libavcodec/libavcodec.pc INSTALL libavutil/adler32.h INSTALL libavutil/attributes.h INSTALL libavutil/avstring.h INSTALL libavutil/avutil.h INSTALL libavutil/base64.h INSTALL libavutil/common.h INSTALL libavutil/crc.h INSTALL libavutil/error.h INSTALL libavutil/fifo.h INSTALL libavutil/intfloat_readwrite.h INSTALL libavutil/log.h INSTALL libavutil/lzo.h INSTALL libavutil/mathematics.h INSTALL libavutil/md5.h INSTALL libavutil/mem.h INSTALL libavutil/pixdesc.h INSTALL libavutil/pixfmt.h INSTALL libavutil/rational.h INSTALL libavutil/sha1.h INSTALL libavutil/avconfig.h INSTALL libavutil/libavutil.pc INSTALL ffprobe INSTALL ffserver INSTALL install-libs INSTALL ffpresets/libx264-baseline.ffpreset INSTALL ffpresets/libx264-default.ffpreset INSTALL ffpresets/libx264-fast.ffpreset INSTALL ffpresets/libx264-fast_firstpass.ffpreset INSTALL ffpresets/libx264-faster.ffpreset INSTALL ffpresets/libx264-faster_firstpass.ffpreset INSTALL ffpresets/libx264-fastfirstpass.ffpreset INSTALL ffpresets/libx264-hq.ffpreset INSTALL ffpresets/libx264-ipod320.ffpreset INSTALL ffpresets/libx264-ipod640.ffpreset INSTALL ffpresets/libx264-lossless_fast.ffpreset INSTALL ffpresets/libx264-lossless_max.ffpreset INSTALL ffpresets/libx264-lossless_medium.ffpreset INSTALL ffpresets/libx264-lossless_slow.ffpreset INSTALL ffpresets/libx264-lossless_slower.ffpreset INSTALL ffpresets/libx264-lossless_ultrafast.ffpreset INSTALL ffpresets/libx264-main.ffpreset INSTALL ffpresets/libx264-max.ffpreset INSTALL ffpresets/libx264-medium.ffpreset INSTALL ffpresets/libx264-medium_firstpass.ffpreset INSTALL ffpresets/libx264-normal.ffpreset INSTALL ffpresets/libx264-placebo.ffpreset INSTALL ffpresets/libx264-placebo_firstpass.ffpreset INSTALL ffpresets/libx264-slow.ffpreset INSTALL ffpresets/libx264-slow_firstpass.ffpreset INSTALL ffpresets/libx264-slower.ffpreset INSTALL ffpresets/libx264-slower_firstpass.ffpreset INSTALL ffpresets/libx264-slowfirstpass.ffpreset INSTALL ffpresets/libx264-superfast.ffpreset INSTALL ffpresets/libx264-superfast_firstpass.ffpreset INSTALL ffpresets/libx264-ultrafast.ffpreset INSTALL ffpresets/libx264-ultrafast_firstpass.ffpreset INSTALL ffpresets/libx264-veryfast.ffpreset INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset INSTALL ffpresets/libx264-veryslow.ffpreset INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset $ ffmpeg -bash: /usr/local/bin/ffmpeg: No such file or directory If --disable-swscale is removed from config command, all installs and works as it should, however it breaks later installation of ffmpeg-php. -- messages: 13158 priority: normal status: new substatus: needs_more_info title: ffmpeg binary not created with --disable-swscale type: bug FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2476
[issue2476] ffmpeg binary not created with --disable-swscale
Eric Akkerman eric.akker...@gmail.com added the comment: When compiling from latest svn with same configuration command, exits with error: libavfilter/vf_scale.c:138: warning: 'sws_getContext' is deprecated (declared at ./libswscale/swscale.h:194) CC libavfilter/vf_setpts.o CC libavfilter/vf_settb.o CC libavfilter/vf_slicify.o CC libavfilter/vf_transpose.o CC libavfilter/vf_unsharp.o CC libavfilter/vf_vflip.o CC libavfilter/vf_yadif.o CC libavfilter/vsink_nullsink.o CC libavfilter/vsrc_buffer.o libavfilter/vsrc_buffer.c: In function 'request_frame': libavfilter/vsrc_buffer.c:127: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type CC libavfilter/vsrc_nullsrc.o AR libavfilter/libavfilter.a make: *** No rule to make target `libswscale/libswscale.so', needed by `libavfilter/libavfilter.so.1'. Stop. are we able to compile with the --disable-swscale flag? FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2476
[issue2476] ffmpeg binary not created with --disable-swscale
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: While I don't understand what you are trying to achieve and I severely doubt it is supported, I fixed the compilation error in r26200. -- status: new - closed substatus: needs_more_info - invalid FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2476
[issue2476] ffmpeg binary not created with --disable-swscale
Eric Akkerman eric.akker...@gmail.com added the comment: Ok, to fill in situation, for some reason my ffmpeg/ffmpeg-php stopped working. I can sucessully install ffmpeg and execute from command line. However to use ffmpeg-php I keep getting ffmpeg.so: undefined symbol: img_resample, which for what I can find is die to ffmpeg-php not being compatible with swscale. That is where I was on the previous 2 posts. I just ftried r2600 and using configure command: ./configure --prefix=/usr/local --enable-shared --disable-mmx --enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree --enable-zlib --enable-libvorbis --enable-libx264 --disable-swscale then make and make install results in: INSTALL libavdevice/libavdevice.a INSTALL libavdevice/libavdevice.so STRIP install-libavdevice-shared INSTALL libavformat/libavformat.a INSTALL libavformat/libavformat.so STRIP install-libavformat-shared INSTALL libavcodec/libavcodec.a INSTALL libavcodec/libavcodec.so STRIP install-libavcodec-shared INSTALL libavcore/libavcore.a INSTALL libavcore/libavcore.so STRIP install-libavcore-shared INSTALL libavutil/libavutil.a INSTALL libavutil/libavutil.so STRIP install-libavutil-shared INSTALL libavdevice/avdevice.h INSTALL libavdevice/libavdevice.pc INSTALL libavformat/avformat.h INSTALL libavformat/avio.h INSTALL libavformat/libavformat.pc INSTALL libavcodec/avcodec.h INSTALL libavcodec/avfft.h INSTALL libavcodec/dxva2.h INSTALL libavcodec/opt.h INSTALL libavcodec/vaapi.h INSTALL libavcodec/vdpau.h INSTALL libavcodec/xvmc.h INSTALL libavcodec/libavcodec.pc INSTALL libavcore/audioconvert.h INSTALL libavcore/avcore.h INSTALL libavcore/imgutils.h INSTALL libavcore/parseutils.h INSTALL libavcore/samplefmt.h INSTALL libavcore/libavcore.pc INSTALL libavutil/adler32.h INSTALL libavutil/attributes.h INSTALL libavutil/avassert.h INSTALL libavutil/avstring.h INSTALL libavutil/avutil.h INSTALL libavutil/base64.h INSTALL libavutil/bswap.h INSTALL libavutil/common.h INSTALL libavutil/cpu.h INSTALL libavutil/crc.h INSTALL libavutil/error.h INSTALL libavutil/eval.h INSTALL libavutil/fifo.h INSTALL libavutil/file.h INSTALL libavutil/intfloat_readwrite.h INSTALL libavutil/intreadwrite.h INSTALL libavutil/lfg.h INSTALL libavutil/log.h INSTALL libavutil/lzo.h INSTALL libavutil/mathematics.h INSTALL libavutil/md5.h INSTALL libavutil/mem.h INSTALL libavutil/opt.h INSTALL libavutil/pixdesc.h INSTALL libavutil/pixfmt.h INSTALL libavutil/random_seed.h INSTALL libavutil/rational.h INSTALL libavutil/sha1.h INSTALL libavutil/avconfig.h INSTALL libavutil/libavutil.pc Still not getting ffmpeg binary in /usr/local/bin, therefore cannot test if it has fixed other problems. Sorry for the trouble, and if I am doing something wrong please let me know. I have all this working (with swscale as is) on my Mac (OSX 10..6.5) and am baffled why it isn't working on Fedora! Been working on this for 2 days now. -- status: closed - open FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2476
[issue2476] ffmpeg binary not created with --disable-swscale
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: I fear you will have to ask on ffmpeg-php mailing lists: The ffmpeg executable requires libswscale. And please note that we do not provide anything called ffmpeg.so. -- status: open - closed FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2476
[issue2477] MMSH shows full metadata, RTSP does not
New submission from Dennis dfrati...@hotmail.com: ffmpeg -i rtsp://djxmmx.net/Rap-RnB FFmpeg version SVN-r26188, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 2 2011 04:10:51 with gcc 4.4.2 configuration: --enable-gpl --enable-version3 -- enable-libgsm --enable-libvorb is --enable-libtheora --enable-libspeex --enable- libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb - -enable-libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 -- enable-runtime-cpudetect - -enable-libxvid --enable-libx264 --enable-librtmp -- extra-libs='-lrtmp -lpolarss l -lws2_32 -lwinmm' --target-os=mingw32 --enable- avisynth --enable-w32threads -- cross-prefix=i686-mingw32- --cc='ccache i686-mingw32- gcc' --enable-memalign-hack libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec52.101. 0 / 52.101. 0 libavformat 52.91. 0 / 52.91. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=0, dts=160141, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=371, dts=160513, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=743, dts=160896, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=1114, dts=161247, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=1486, dts=161627, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=1857, dts=162045, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=2229, dts=162417, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=2600, dts=162780, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=2972, dts=163160, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=3343, dts=163531, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=3715, dts=163914, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=4086, dts=164274, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=4458, dts=164658, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=4830, dts=165017, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=5201, dts=165389, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=5573, dts=165760, size=5945 [rtsp @ 002bbed0] Invalid timestamps stream=0, pts=5944, dts=166132, size=5945 [rtsp @ 002bbed0] max_analyze_duration reached [rtsp @ 002bbed0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://djxmmx.net/Rap-RnB': Metadata: title : So Appalled Duration: 00:06:38.21, start: 0.00, bitrate: 128 kb/s Stream #0.0: Audio: wmapro, 44100 Hz, stereo, flt, 128 kb/s Stream #0.1: Data: [0][0][0][0] / 0x At least one output file must be specified ffmpeg -i mmsh://djxmmx.net:/Rap-RnB FFmpeg version SVN-r26188, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 2 2011 04:10:51 with gcc 4.4.2 configuration: --enable-gpl --enable-version3 -- enable-libgsm --enable-libvorb is --enable-libtheora --enable-libspeex --enable- libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb - -enable-libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 -- enable-runtime-cpudetect - -enable-libxvid --enable-libx264 --enable-librtmp -- extra-libs='-lrtmp -lpolarss l -lws2_32 -lwinmm' --target-os=mingw32 --enable- avisynth --enable-w32threads -- cross-prefix=i686-mingw32- --cc='ccache i686-mingw32- gcc' --enable-memalign-hack libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec52.101. 0 / 52.101. 0 libavformat 52.91. 0 / 52.91. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 [asf @ 0003bee0] Estimating duration from bitrate, this may be inaccurate Input #0, asf, from 'mmsh://djxmmx.net:/Rap-RnB': Metadata: WMFSDKVersion : 11.0.6002.18049 WMFSDKNeeded: 0.0.0. IsVBR : 0 album : My Beautiful Dark Twisted Fantasy genre : Hip-Hop track : 6 WM/Year : 2010 title : So Appalled artist : Kanye West copyright : comment : Duration: N/A, start: 196.867000, bitrate: 128 kb/s Stream #0.0: Audio: wmapro, 44100 Hz, stereo, flt, 128 kb/s At least one output file must be specified -- messages: 13163 priority: normal status: new substatus: new title: MMSH shows full metadata, RTSP does not type: bug FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2477
[issue2478] MMSH shows full metadata, RTSP does not
Ronald S. Bultje rsbul...@gmail.com added the comment: Metadata from the ASF layer isn't forwarded to the RTSP layer, this should be relatively easy to fix... FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2478
[issue2477] MMSH shows full metadata, RTSP does not
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: Is it possible that this is the second time in a week that you open two identical issues? -- status: new - closed substatus: new - duplicate superseder: +MMSH shows full metadata, RTSP does not FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2477
[issue2475] ffmpeg fails assertion on audio files with invalid sample rates
Daniel Kang daniel.d.k...@gmail.com added the comment: ffmpeg also fails the assertion with an aiff file with invalid sample rates. The patch fixes it. I have uploaded the file to /MPlayer/incoming/roundup_2475_aiff_invalid_sample_rate and changed the title to audio files in general. -- title: ffmpeg fails assertion on wav files with invalid sample rates - ffmpeg fails assertion on audio files with invalid sample rates FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2475
[issue2477] MMSH shows full metadata, RTSP does not
Dennis dfrati...@hotmail.com added the comment: Yeah, seems to be a small bug, not really my fault, I don't think. What happens is: - I go to roundup.ffmpeg.org in Internet Explorer - I submit a report. - I get the certificate error and it asks me if I want to continue to the site. - I click continue, and it says I posted twice. Sorry about that. FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2477
[issue1670] Crash when decoding wmv8 file
Daniel Kang daniel.d.k...@gmail.com added the comment: I have examined this issue. It occurs because when init_get_bits is called, s-avctx-extradata_size4 is checked, but s-avctx-extradata_size*8 is not checked for overflow. I have attached a patch that fixes this issue. The run with the patch is (I have renamed the file): ./ffmpeg_g -i ../crash.wmv del.wmv FFmpeg version git-09f94e4, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 2 2011 15:08:01 with gcc 4.4.5 configuration: --enable-gpl libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec52.101. 0 / 52.101. 0 libavformat 52.92. 0 / 52.92. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) - 30.00 (30/1) Input #0, asf, from '../crash.wmv': Metadata: title : artist : copyright : comment : WMFSDKVersion : 9.00.00.3250 WMFSDKNeeded: 0.0.0. IsVBR : 1 VBR Peak: 884 Buffer Average : 200 Duration: 00:00:00.39, start: 3.00, bitrate: 718 kb/s Stream #0.0(eng): Audio: wmapro, 48000 Hz, stereo, flt, 307 kb/s Stream #0.1(eng): Video: wmv2, yuv420p, 32x32, 64 kb/s, 30 tbr, 1k tbn, 1k tbc File 'del.wmv' already exists. Overwrite ? [y/N] y [buffer @ 0x120cdc0] w:32 h:32 pixfmt:yuv420p Output #0, asf, to 'del.wmv': Metadata: title : Author : copyright : Description : WMFSDKVersion : 9.00.00.3250 WMFSDKNeeded: 0.0.0. IsVBR : 1 VBR Peak: 884 Buffer Average : 200 WM/EncodingSettings: Lavf52.92.0 Stream #0.0(eng): Video: msmpeg4, yuv420p, 32x32, q=2-31, 200 kb/s, 1k tbn, 30 tbc Stream #0.1(eng): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.1 - #0.0 Stream #0.0 - #0.1 Press [q] to stop encoding Multiple frames in a packet from stream 0 frame= 12 fps= 0 q=2.0 Lsize= 7kB time=0.40 bitrate= 148.5kbits/s video:1kB audio:3kB global headers:0kB muxing overhead 82.522124% FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue1670 wmv_crash_fix.diff Description: Binary data
[issue1670] Crash when decoding wmv8 file
Daniel Kang daniel.d.k...@gmail.com added the comment: The first patch is incorrect. s-avctx-extradata_size*8 should be checked if it is = 32, not 4, since it is multiplied times 8. I have uploaded a new patch and deleted the first patch. FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue1670 wmv_crash_fix.diff Description: Binary data
[issue2477] MMSH shows full metadata, RTSP does not
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: Sorry if I sounded offensive, thank you for explaining. FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2477
[issue2475] ffmpeg fails assertion on audio files with invalid sample rates
Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment: Moved to first 1024 bytes of aiff_invalid_samplerate_small.aiff to samples/ffmpeg-bugs/roundup/issue2475 FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2475
[issue2479] ffmpeg crashes on mp4 file with invalid headers
Daniel Kang daniel.d.k...@gmail.com added the comment: I have uploaded a sample to: /MPlayer/incoming/mp4_crash_roundup_2479 FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2479
[issue2480] ffmpeg crashes on ape files large framerates
New submission from Daniel Kang daniel.d.k...@gmail.com: I believe the issue is related to issue2479. Once again, I am not sure if this bug is unique to my box. ffmpeg crashes for ape files with invalid headers (i.e. the header has a value of totalframes greater than there are frames). ffmpeg crashes because the malloc returns a pointer that has less memory than requested. I have attached a patch that does a sanity check on the returned memory. gdb run: (gdb) r -i ../fuzzed.ape Starting program: ffmpeg/ffmpeg_g -i ../fuzzed.ape [Thread debugging using libthread_db enabled] FFmpeg version git-a5b7c2e, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 2 2011 19:33:34 with gcc 4.4.5 configuration: --enable-gpl --samples=../fate/fate-suite/ libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec52.101. 0 / 52.101. 0 libavformat 52.92. 0 / 52.92. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 Program received signal SIGSEGV, Segmentation fault. 0x0044e5e8 in ape_read_header (s=0x11fa510, ap=value optimized out) at libavformat/ape.c:270 270 ape-frames[i].pos = ape-seektable[i]; //ape-frames[i-1].pos + ape-blocksperframe; (gdb) bt #0 0x0044e5e8 in ape_read_header (s=0x11fa510, ap=value optimized out) at libavformat/ape.c:270 #1 0x004d0819 in av_open_input_stream (ic_ptr=0x7fffd558, pb=0x12035b0, filename=0x7fffdb68 ../fuzzed.ape, fmt=0xc9a5a0, ap=0x7fffd520) at libavformat/utils.c:487 #2 0x004d29d8 in av_open_input_file (ic_ptr=0x7fffd558, filename=0x7fffdb68 ../fuzzed.ape, fmt=0xc9a5a0, buf_size=0, ap=0x7fffd520) at libavformat/utils.c:643 #3 0x004301bd in opt_input_file (filename=0x7fffdb68 ../fuzzed.ape) at ffmpeg.c:3178 #4 0x0043a7cc in parse_options (argc=3, argv=0x7fffd7d8, options=value optimized out, parse_arg_function=0x437290 opt_output_file) at cmdutils.c:204 #5 0x004363d2 in main (argc=3, argv=0x7fffd7d8) at ffmpeg.c:4340 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x44e5c8 to 0x44e608: 0x0044e5c8 ape_read_header+728: movl $0x0,0x10(%rdx) 0x0044e5cf ape_read_header+735: mov%eax,0x8(%rdx) 0x0044e5d2 ape_read_header+738: mov0x58(%rbx),%ecx 0x0044e5d5 ape_read_header+741: cmp$0x1,%ecx 0x0044e5d8 ape_read_header+744: jbe0x44e619 ape_read_header+809 0x0044e5da ape_read_header+746: mov0x68(%rbx),%r8 0x0044e5de ape_read_header+750: xor%eax,%eax 0x0044e5e0 ape_read_header+752: mov$0x1,%esi 0x0044e5e5 ape_read_header+757: nopl (%rax) 0x0044e5e8 ape_read_header+760: mov0x4(%r8,%rax,1),%ecx 0x0044e5ed ape_read_header+765: mov0x50(%rbx),%edi 0x0044e5f0 ape_read_header+768: add$0x1,%esi 0x0044e5f3 ape_read_header+771: mov%edi,0x28(%rdx,%rax,8) 0x0044e5f7 ape_read_header+775: mov%rcx,0x20(%rdx,%rax,8) 0x0044e5fc ape_read_header+780: mov%ecx,%edi 0x0044e5fe ape_read_header+782: sub(%rdx),%ecx 0x0044e600 ape_read_header+784: sub(%rdx,%rax,8),%edi 0x0044e603 ape_read_header+787: and$0x3,%ecx 0x0044e606 ape_read_header+790: mov%edi,0xc(%rdx,%rax,8) End of assembler dump. (gdb) info all-registers rax0x159dc 88540 rbx0x11fb5a018855328 rcx0x400025 4194341 rdx0x7fffee8c9010 140737195577360 rsi0x5678 22136 rdi0x0 0 rbp0x11fa5100x11fa510 rsp0x7fffd3c0 0x7fffd3c0 r8 0x11fb62018855456 r9 0x0 0 r100x22 34 r110x246582 r120x12035b01112 r130x25 37 r140x25 37 r150x11fb62018855456 rip0x44e5e8 0x44e5e8 ape_read_header+760 eflags 0x10287 [ CF PF SF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st00(raw 0x) st10(raw 0x) st20(raw 0x) st30(raw 0x) st40(raw 0x) st50(raw 0x) st60(raw 0x) st70(raw 0x) fctrl 0x37f895 fstat 0x0 0 ftag 0x 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop0x0 0 xmm0 {v4_float
[issue2480] ffmpeg crashes on ape files large framerates
Daniel Kang daniel.d.k...@gmail.com added the comment: I have uploaded the sample to /MPlayer/incoming/ape_invalid_malloc_issue2480 FFmpeg issue tracker iss...@roundup.ffmpeg.org https://roundup.ffmpeg.org/issue2480