#1376: avfilter crash -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by ami_stuff): Still crashes here, please try to reproduce with another file - looks like the same issue: http://samples.mplayerhq.hu/V-codecs/MPG3/mpg3.avi {{{ C:\>ffmpeg -acodec pcm_s32le -i mpg3.avi -vn out.mp2 ffmpeg version N-41116-g8619362 Copyright (c) 2000-2012 the FFmpeg developers built on May 30 2012 02:20:05 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc 14) configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch= x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686 -pc-min gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime- cpudetect --enable-cross-compile --enable-static --disable-shared --extra- libs='-lws2_32 - lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable- libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable- libopencor e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx libavutil 51. 55.100 / 51. 55.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.101 / 54. 6.101 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from 'mpg3.avi': Duration: 02:02:54.36, start: 0.000000, bitrate: 0 kb/s Stream #0:0: Video: msmpeg4 (MPG3 / 0x3347504D), yuv420p, 704x512, 25 tbr, 2 5 tbn, 25 tbc Stream #0:1: Audio: pcm_s32le (U[0][0][0] / 0x0055), 44100 Hz, stereo, s32, 2822 kb/s [aformat @ 0x1de2ba0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat' [aresample @ 0x1de24a0] chl:stereo fmt:s32 r:44100Hz -> chl:stereo fmt:s16 r:441 00Hz Output #0, null, to 'pipe:': Metadata: encoder : Lavf54.6.101 Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Stream mapping: Stream #0:1 -> #0:0 (pcm_s32le -> pcm_s16le) Press [q] to stop, [?] for help Multiple frames in a packet from stream 1 [pcm_s32le @ 0x23463e0] invalid PCM packet Error while decoding stream #0:1 C:\> }}} {{{ (gdb) r -acodec pcm_s32le -i mpg3.avi -vn out.mp2 Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -acodec pcm _s32le -i mpg3.avi -vn out.mp2 [New Thread 3292.0x32c] ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers built on May 27 2012 11:57:57 with gcc 4.6.1 configuration: --disable-ffprobe --enable-gpl libavutil 51. 55.100 / 51. 55.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.101 / 54. 6.101 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from 'mpg3.avi': Duration: 02:02:54.36, start: 0.000000, bitrate: 0 kb/s Stream #0:0: Video: msmpeg4 (MPG3 / 0x3347504D), yuv420p, 704x512, 25 tbr, 2 5 tbn, 25 tbc Stream #0:1: Audio: pcm_s32le (U[0][0][0] / 0x0055), 44100 Hz, stereo, s32, 2822 kb/s auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and t he filter 'aformat' [aresample @ 03bd2540] chl:stereo fmt:s32 r:44100Hz -> chl:stereo fmt:s16 r:4410 0Hz Output #0, mp2, to 'out.mp2': Metadata: encoder : Lavf54.6.101 Stream #0:0: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:1 -> #0:0 (pcm_s32le -> mp2) Press [q] to stop, [?] for help Multiple frames in a packet from stream 1 [pcm_s32le @ 03bccbc0] invalid PCM packet Error while decoding stream #0:1 Program received signal SIGSEGV, Segmentation fault. 0x0041c8d9 in avfilter_copy_buffer_ref_props (dst=0x0, src=0x3bd45c0) at libavfilter/buffer.c:240 240 dst->pts = src->pts; (gdb) bt #0 0x0041c8d9 in avfilter_copy_buffer_ref_props (dst=0x0, src=0x3bd45c0) at libavfilter/buffer.c:240 #1 0x0042299a in filter_samples (inlink=0x3bd2920, insamplesref=0x3bd45c0) at libavfilter/af_aresample.c:178 #2 0x0042089c in ff_filter_samples (link=0x3bd2920, samplesref=0x3bd45c0) at libavfilter/audio.c:217 #3 0x0041cad0 in request_frame (link=0x3bd2920) at libavfilter/buffersrc.c:392 #4 0x00419d93 in avfilter_request_frame (link=0x3bd2920) at libavfilter/avfilter.c:275 #5 0x00422811 in request_frame (outlink=0x3bd3120) at libavfilter/af_aresample.c:214 #6 0x00419d93 in avfilter_request_frame (link=0x3bd2880) at libavfilter/avfilter.c:275 #7 0x0041be80 in av_buffersink_read (ctx=0x3bd2aa0, buf=0x22e47c) at libavfilter/buffersink.c:108 #8 0x0041bfb4 in av_buffersink_read_samples (ctx=0x3bd2aa0, pbuf=0x22e8b4, nb_samples=1152) at libavfilter/buffersink.c:159 #9 0x00407bab in poll_filters () at ffmpeg.c:2125 #10 0x0040e730 in transcode () at ffmpeg.c:3662 #11 0x00b14ee2 in main (argc=7, argv=0x3bd0dc0) at ffmpeg.c:5926 (gdb) }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1376#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac