[FFmpeg-trac] #1135(avcodec:new): ffmpeg/ffplay crashes with lowres=1 or lowres=3 with 1080i mpeg2 video on arm-neon

FFmpeg trac at avcodec.org
Mon Mar 26 23:41:15 CEST 2012


#1135: ffmpeg/ffplay crashes with lowres=1 or lowres=3 with 1080i mpeg2 video on
arm-neon
---------------------------------+--------------------------------------
             Reporter:  yiwang   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 This was found on iOS (ipad1+ and iPhone4+) device.

 It did not crash for the following cases:
 - compiled for armv6, or
 - compiled for i386, or
 - with 720p/480p mpeg2video, or
 - with 1080i mpeg2video but lowres=2

 ./ffmpeg -vlowres 2 -i video_6.ts -benchmark -f null null.ts

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x01fcd000
 0x00148460 in ff_put_h264_chroma_mc4_neon ()
 (gdb) bt
 #0  0x00148460 in ff_put_h264_chroma_mc4_neon ()
 #1  0x004069cc in MPV_motion_lowres ()
 #2  0x0041204c in MPV_decode_mb ()
 #3  0x003d864c in mpeg_decode_slice ()
 #4  0x003d93cc in decode_chunks ()
 #5  0x003dbb3c in mpeg_decode_frame ()
 #6  0x004c3e0c in avcodec_decode_video2 ()
 #7  0x00008488 in output_packet ()
 #8  0x0000cf34 in transcode ()
 #9  0x0000d7a0 in main ()

 - ffplay will crash at the exact same function
 - found on master, 0.10.2, 0.9.1

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1135>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list