[FFmpeg-trac] #3274(undetermined:new): vp9: deadlock with fuzzed file

FFmpeg trac at avcodec.org
Sun Jan 5 21:14:23 CET 2014


#3274: vp9: deadlock with fuzzed file
-------------------------------------+-------------------------------------
               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
-------------------------------------+-------------------------------------
 {{{
 (gdb) r -i vp9_d.webm -f null -
 Starting program: /media/sdb1/ffmpeg-HEAD-8a0d446/ffmpeg_g -i vp9_d.webm
 -f null -
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
 ffmpeg version 2.1.git-8a0d446 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec 29 2013 20:43:02 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --disable-yasm --enable-gpl --disable-ffprobe --disable-
 ffserver
   libavutil      52. 59.100 / 52. 59.100
   libavcodec     55. 47.100 / 55. 47.100
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     4.  0.103 /  4.  0.103
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, matroska,webm, from 'vp9_d.webm':
   Duration: 00:00:12.64, start: 0.000000, bitrate: 206 kb/s
     Stream #0:0: Video: vp9, yuv420p, 320x240, SAR 1:1 DAR 4:3, 23.97 fps,
 23.97 tbr, 1k tbn, 1k tbc (default)
 [New Thread 0xb7df8b70 (LWP 20960)]
 [New Thread 0xb75f8b70 (LWP 20961)]
 [New Thread 0xb6df8b70 (LWP 20962)]
 [New Thread 0xb65f8b70 (LWP 20963)]
 [New Thread 0xb5df8b70 (LWP 20964)]
 [New Thread 0xb55f8b70 (LWP 20965)]
 [New Thread 0xb4df8b70 (LWP 20966)]
 [New Thread 0xb45f8b70 (LWP 20967)]
 [New Thread 0xb3df8b70 (LWP 20968)]
 [New Thread 0xb35f8b70 (LWP 20969)]
 [New Thread 0xb2df8b70 (LWP 20970)]
 [New Thread 0xb25f8b70 (LWP 20971)]
 [New Thread 0xb1df8b70 (LWP 20972)]
 [New Thread 0xb15f8b70 (LWP 20973)]
 [New Thread 0xb0df8b70 (LWP 20974)]
 [New Thread 0xb05f8b70 (LWP 20975)]
 [New Thread 0xafdf8b70 (LWP 20976)]
 [New Thread 0xaf5f8b70 (LWP 20977)]
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf55.22.100
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 23.97 tbc (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (vp9 -> rawvideo)
 Press [q] to stop, [?] for help
 [null @ 0x92a02e0] Encoder did not produce proper pts, making some up.
 Error while decoding stream #0:0: Invalid data found when processing input

 Program received signal SIGINT, Interrupt.
 0xb7f8bea5 in __pthread_cond_wait (cond=0x929d704, mutex=0x929d74c)
     at pthread_cond_wait.c:153
 153     pthread_cond_wait.c: No such file or directory.
 (gdb) bt
 #0  0xb7f8bea5 in __pthread_cond_wait (cond=0x929d704, mutex=0x929d74c)
     at pthread_cond_wait.c:153
 #1  0x0862bf0c in ff_thread_decode_frame (avctx=avctx at entry=0x929f9c0,
     picture=picture at entry=0x930d8a0,
     got_picture_ptr=got_picture_ptr at entry=0xbffff504,
     avpkt=avpkt at entry=0xbffff2a8) at libavcodec/pthread_frame.c:445
 #2  0x086d7872 in avcodec_decode_video2 (avctx=0x929f9c0,
     picture=picture at entry=0x930d8a0,
     got_picture_ptr=got_picture_ptr at entry=0xbffff504,
     avpkt=avpkt at entry=0xbffff750) at libavcodec/utils.c:2098
 #3  0x080c187d in decode_video (ist=ist at entry=0x92a0060,
     pkt=pkt at entry=0xbffff750, got_output=got_output at entry=0xbffff504)
     at ffmpeg.c:1694
 #4  0x080c59aa in output_packet (pkt=0xbffff6e8, ist=0x92a0060)
     at ffmpeg.c:1907
 #5  process_input (file_index=1) at ffmpeg.c:3216
 #6  0x080aa85b in transcode_step () at ffmpeg.c:3312
 #7  transcode () at ffmpeg.c:3364
 #8  main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:3544
 (gdb)
 }}}

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


More information about the FFmpeg-trac mailing list