Opened 12 years ago

Closed 12 years ago

#1368 closed defect (fixed)

iff_ilbm crash

Reported by: ami_stuff Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: iff crash SIGSEGV
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.mplayerhq.hu/V-codecs/MJPEGs/grayscale/xz.mov

(gdb) r -vcodec iff_ilbm -i xz.mov -f null -
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: d:\mingw\msys\1.0\ffmpeg-head-ab7d6cb\ffmpeg_g.exe -vcodec iff
_ilbm -i xz.mov -f null -
[New Thread 408.0xf4]
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 27 2012 11:57:57 with gcc 4.6.1
  configuration: --disable-ffprobe --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100

Program received signal SIGSEGV, Segmentation fault.
0x00b3ac18 in decode_init (avctx=0x3bcc7c0) at libavcodec/iff.c:319
319             int palette_size = avctx->extradata_size - AV_RB16(avctx->extrad
ata);
(gdb) bt
#0  0x00b3ac18 in decode_init (avctx=0x3bcc7c0) at libavcodec/iff.c:319
#1  0x00540fa4 in avcodec_open2 (avctx=0x3bcc7c0, codec=<optimized out>,
    options=0x3bd1fa0) at libavcodec/utils.c:925
#2  0x00477e8c in avformat_find_stream_info (ic=0x3bc2340, options=0x3bd1fa0)
    at libavformat/utils.c:2485
#3  0x0040ab87 in opt_input_file (o=0x22fdc8, opt=0x3bd0e89 "i",
    filename=<optimized out>) at ffmpeg.c:4327
#4  0x00413a7f in parse_option (optctx=0x22fdc8, opt=<optimized out>,
    arg=0x3bd0e8b "xz.mov", options=0xb76bc0) at cmdutils.c:305
#5  0x00413ce2 in parse_options (optctx=0x22fdc8, argc=8,
    argv=<optimized out>, options=0xb76bc0,
    parse_arg_function=0x410748 <opt_output_file>) at cmdutils.c:338
#6  0x00b14e95 in main (argc=8, argv=0x3bd0dd0) at ffmpeg.c:5906
(gdb)

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Keywords: iff crash SIGSEGV added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Elon Musk, 12 years ago

Resolution: fixed
Status: openclosed

Fixed.

Note: See TracTickets for help on using tickets.