[FFmpeg-trac] #2732(undetermined:new): acc enc crash with low mem

FFmpeg trac at avcodec.org
Sun Jun 30 00:14:29 CEST 2013


#2732: acc enc crash with low mem
-------------------------------------+-------------------------------------
             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):

 {{{
 (gdb) r -max_alloc 70000 -i divx.avi -vn -acodec aac -strict -2 -f null -
 Starting program: D:\MinGW\msys\1.0\ffmpeg-HEAD-7f866c1\ffmpeg_g.exe
 -max_alloc
 70000 -i divx.avi -vn -acodec aac -strict -2 -f null -
 [New Thread 2368.0xb50]
 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
 [mpeg4 @ 04ca6dc0] Invalid and inefficient vfw-avi packed B frames
 detected
 Input #0, avi, from 'divx.avi':
   Duration: 00:00:12.64, start: 0.000000, bitrate: 963 kb/s
     Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR
 1:1 DAR
  4:3], 23.97 tbr, 23.97 tbn, 30k tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p,
 128 k
 b/s
 [New Thread 2368.0x658]
 [New Thread 2368.0xbac]
 [New Thread 2368.0xedc]
 [New Thread 2368.0xd7c]
 [New Thread 2368.0xc00]
 [New Thread 2368.0xf58]
 [New Thread 2368.0x9a8]
 [New Thread 2368.0xd8c]
 [New Thread 2368.0xe30]
 [aac @ 04c9e3a0] Cannot allocate memory.

 Program received signal SIGSEGV, Segmentation fault.
 0x00b33cd4 in ff_psy_end (ctx=0x4ca9390) at libavcodec/psymodel.c:78
 78          if (ctx->model->end)
 (gdb) bt
 #0  0x00b33cd4 in ff_psy_end (ctx=0x4ca9390) at libavcodec/psymodel.c:78
 #1  0x00b15fdb in aac_encode_end (avctx=0x4c9e3a0) at
 libavcodec/aacenc.c:676
 #2  0x00b1640b in aac_encode_init (avctx=0x4c9e3a0) at
 libavcodec/aacenc.c:784
 #3  0x0059a44e in avcodec_open2 (avctx=0x4c9e3a0, codec=<optimized out>,
     options=0x4c9e8c0) at libavcodec/utils.c:1309
 #4  0x004113b2 in transcode_init () at ffmpeg.c:2439
 #5  0x00aeea82 in transcode () at ffmpeg.c:3183
 #6  main (argc=13, argv=<optimized out>) at ffmpeg.c:3390
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list