[FFmpeg-trac] #2733(undetermined:new): indeo3 crash with low mem

FFmpeg trac at avcodec.org
Sat Jun 29 22:18:05 CEST 2013


#2733: indeo3 crash with low mem
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 I will tortur a bit ffmpeg with a script.

 Here is a first crash:

 {{{
 (gdb) r -max_alloc 33000 -i indeo32.avi -f null -
 Starting program: D:\MinGW\msys\1.0\ffmpeg-HEAD-7f866c1\ffmpeg_g.exe
 -max_alloc
 33000 -i indeo32.avi -f null -
 [New Thread 3932.0xfc]
 ffmpeg version 1.1.git-7f866c1 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 29 2013 22:13:29 with gcc 4.6.2 (GCC)
   configuration: --disable-ffprobe --disable-yasm --disable-w32threads
 --enable-
 gpl
   libavutil      52. 37.101 / 52. 37.101
   libavcodec     55. 17.100 / 55. 17.100
   libavformat    55. 10.100 / 55. 10.100
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 77.101 /  3. 77.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100

 Program received signal SIGSEGV, Segmentation fault.
 0x00b097fc in allocate_frame_buffers (ctx=<optimized out>,
     avctx=<optimized out>, luma_width=320, luma_height=240)
     at libavcodec/indeo3.c:192
 192             memset(ctx->planes[p].buffers[0], 0x40,
 ctx->planes[p].pitch);
 (gdb) bt
 #0  0x00b097fc in allocate_frame_buffers (ctx=<optimized out>,
     avctx=<optimized out>, luma_width=320, luma_height=240)
     at libavcodec/indeo3.c:192
 #1  0x0059a44e in avcodec_open2 (avctx=0x4ca6dc0, codec=<optimized out>,
     options=0x4caa460) at libavcodec/utils.c:1309
 #2  0x004984cc in avformat_find_stream_info (ic=0x4c95e00,
 options=0x4caa460)
     at libavformat/utils.c:2678
 #3  0x004055ef in open_input_file (o=0x22fbb0, filename=<optimized out>)
     at ffmpeg_opt.c:814
 #4  0x00403056 in open_files (inout=<optimized out>,
     open_file=0x405200 <open_input_file>, l=<optimized out>)
     at ffmpeg_opt.c:2483
 #5  0x0040973f in ffmpeg_parse_options (argc=8, argv=0x4bb2518)
     at ffmpeg_opt.c:2520
 #6  0x00aeea55 in main (argc=8, argv=0x4bb2518) at ffmpeg.c:3368
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list