Opened 11 years ago
Closed 11 years ago
#2733 closed defect (fixed)
indeo3 crash with low mem
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | crash SIGSEGV indeo3 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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)
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | indeo32.avi added |
---|
comment:1 by , 11 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | crash SIGSEGV indeo3 added |
Priority: | normal → important |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in 84343dd9d3b8e19c95c0f641a9f97915efec0633.
Note:
See TracTickets
for help on using tickets.
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/165430
The second crash is fixed by the patches for ticket #2722 and #2727.
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/165332/focus=165366