[FFmpeg-trac] #1376(undetermined:new): avfilter crash

FFmpeg trac at avcodec.org
Thu Jul 5 11:52:45 CEST 2012


#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):

 Replying to [comment:12 tadawson]:
 > As per request by cehoyos in #1464, I tested this:
 >
 > AMD Phenom 940, Quad core at 3GHz, 3GB RAM . . .
 > {{{
 > ffmpeg version N-42235-g039e9fe Copyright (c) 2000-2012 the FFmpeg
 developers
 >   built on Jul  4 2012 17:20:56 with gcc 4.2.4
 >   configuration: --disable-asm --enable-libmp3lame --enable-libx264
 --enable-gpl
 >  --enable-libfaac --enable-nonfree --prefix=/usr/local/ffmpeg-GIT
 >   libavutil      51. 64.100 / 51. 64.100
 >   libavcodec     54. 32.100 / 54. 32.100
 >   libavformat    54. 14.100 / 54. 14.100
 >   libavdevice    54.  0.100 / 54.  0.100
 >   libavfilter     3.  0.101 /  3.  0.101
 >   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
 > [graph 0 input from stream 0:1 @ 0x8e0a660] tb:1/15963 samplefmt:s32
 samplerate:
 > 44100 chlayout:0x3
 > [auto-inserted resampler 0 @ 0x8dffbc0] chl:stereo fmt:s32 r:44100Hz ->
 chl:ster
 > eo fmt:s16 r:44100Hz
 > Output #0, null, to 'pipe:':
 >   Metadata:
 >     encoder         : Lavf54.14.100
 >     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 @ 0x8e0b130] Invalid PCM packet, data has size 7 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 1 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 3 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 5 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 1 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 5 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 5 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 3 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 1 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 1 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 4 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 1 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 5 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 7 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 4 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 6 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > [pcm_s32le @ 0x8e0b130] Invalid PCM packet, data has size 2 but at least
 a size
 > of 8 was expected
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > .
 > .
 > .
 > Error while decoding stream #0:1: Invalid data found when processing
 input
 > size=       0kB time=00:00:13.60 bitrate=   0.0kbits/s    ^M
 > video:0kB audio:106kB subtitle:0 global headers:0kB muxing overhead
 -100.000000%
 > }}}
 >
 > Without --disable-asm, it's pretty much the same thing, so no, I cannot
 duplicate the crash.
 >
 > - Tim
 >

 Maybe you could test with "-cpuflags -sse2"?

 {{{
 ffmpeg -cpuflags -sse2 -threads 1 -acodec real_144 -i airfone.mov -vn
 -acodec mp2 -f null -
 }}}

 be sure to use normal build for test, not "--disable-asm".

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1376#comment:15>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list