Opened 3 years ago

Closed 3 years ago

#5562 closed defect (fixed)

IFF ANIM: deadlock with fuzzed ANIM-J

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

(gdb) r -i 74_D_deadlock_fuzz.anim -f null -
Starting program: /media/sdb1/ffmpeg/ffmpeg_g -i 74_D_deadlock_fuzz.anim -f null -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
ffmpeg version 3.0.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (Ubuntu 5.3.0-3ubuntu1~14.04) 20151204
  configuration: --enable-debug --disable-ffprobe --disable-ffserver
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 41.102 / 57. 41.102
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
Input #0, iff, from '74_D_deadlock_fuzz.anim':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_ilbm (ANIM / 0x4D494E41), rgb0, 320x200, SAR 10:11 DAR 16:11, 30 fps, 60 tbr, 60 tbn
[null @ 0x98034a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.36.100
    Stream #0:0: Video: wrapped_avframe, rgb0, 320x200 [SAR 10:11 DAR 16:11], q=2-31, 200 kb/s, 60 fps, 60 tbn
    Metadata:
      encoder         : Lavc57.41.102 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (iff_ilbm (iff) -> wrapped_avframe (native))
Press [q] to stop, [?] for help

Program received signal SIGINT, Interrupt.
decode_delta_j (h=<optimized out>, dst_size=1536000, bpp=6, w=<optimized out>, 
    buf_end=0x98539de "", buf=<optimized out>, dst=0xb7bda020 "\b\263\b\247")
    at libavcodec/iff.c:908
908	                            noffset++;
(gdb) Quit
(gdb) bt
#0  decode_delta_j (h=<optimized out>, dst_size=1536000, bpp=6, 
    w=<optimized out>, buf_end=0x98539de "", buf=<optimized out>, 
    dst=0xb7bda020 "\b\263\b\247") at libavcodec/iff.c:908
#1  decode_frame (avctx=0x9803040, data=0x9853ac0, got_frame=0xbfffead0, 
    avpkt=0xbfffe8ac) at libavcodec/iff.c:1536
#2  0x087171ee in avcodec_decode_video2 (avctx=0x9803040, picture=0x9853ac0, 
    got_picture_ptr=0xbfffead0, avpkt=0xbfffeb14) at libavcodec/utils.c:2217
#3  0x080d95c1 in decode_video (ist=ist@entry=0x9802c20, 
    pkt=pkt@entry=0xbfffeb14, got_output=got_output@entry=0xbfffead0)
    at ffmpeg.c:2087
#4  0x080dbfc0 in process_input_packet (ist=0x9802c20, pkt=0xbfffed44, 
    no_eof=0) at ffmpeg.c:2340
#5  0x080bb596 in process_input (file_index=<optimized out>) at ffmpeg.c:4014
#6  transcode_step () at ffmpeg.c:4102
#7  transcode () at ffmpeg.c:4156
#8  main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:4349
(gdb) 

Attachments (2)

74_D_deadlock_fuzz.anim (295.6 KB) - added by ami_stuff 3 years ago.
74_cucug_deadlock_fuzz.anim (344.7 KB) - added by ami_stuff 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by ami_stuff

Changed 3 years ago by ami_stuff

comment:1 Changed 3 years ago by richardpl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.