Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2985 closed defect (fixed)

sgirle: deadlock with fuzzed file

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

Description

http://www1.datafilehost.com/d/1999b8fa

(gdb) r -threads 1 -i ./deadlock.movie -an -f null -
Starting program: /media/sdb1/ffmpeg-HEAD-93439e8/ffmpeg_g -threads 1 -i ./deadlock.movie -an -f null -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
ffmpeg version 2.0-93439e8 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 18 2013 23:23:15 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --disable-yasm --enable-gpl --disable-ffprobe --disable-ffserver
  libavutil      52. 44.100 / 52. 44.100
  libavcodec     55. 31.101 / 55. 31.101
  libavformat    55. 18.100 / 55. 18.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 86.101 /  3. 86.101
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mv, from './deadlock.movie':
  Metadata:
    Q_TEMPORAL      : 0.500000
    Q_SPATIAL       : 0.500000
  Duration: 00:00:07.75, start: 0.000000, bitrate: 3650 kb/s
    Stream #0:0: Audio: pcm_s16be, 44100 Hz, stereo, s16, 1411 kb/s
    Stream #0:1: Video: sgirle, bgr8, 500x375, SAR 1:1 DAR 4:3, 4 fps, 4 tbr, 4 tbn, 4 tbc
[New Thread 0xb7df8b70 (LWP 12138)]
[New Thread 0xb75f8b70 (LWP 12139)]
[New Thread 0xb6df8b70 (LWP 12140)]
[New Thread 0xb65f8b70 (LWP 12141)]
[New Thread 0xb5df8b70 (LWP 12142)]
[New Thread 0xb55f8b70 (LWP 12143)]
[New Thread 0xb4df8b70 (LWP 12144)]
[New Thread 0xb45f8b70 (LWP 12145)]
[New Thread 0xb3df8b70 (LWP 12146)]
Output #0, null, to 'pipe:':
  Metadata:
    Q_TEMPORAL      : 0.500000
    Q_SPATIAL       : 0.500000
    encoder         : Lavf55.18.100
    Stream #0:0: Video: rawvideo (BGR[8] / 0x8524742), bgr8, 500x375 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 4 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (sgirle -> rawvideo)
Press [q] to stop, [?] for help
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[null @ 0x9138540] Encoder did not produce proper pts, making some up.
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 192 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome
[sgirle @ 0x9115d00] opcode 0 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[sgirle @ 0x9115d00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
Error while decoding stream #0:1: Not yet implemented in FFmpeg, patches welcome

Program received signal SIGINT, Interrupt.
0x08617a85 in decode_sgirle8 (linesize=544, height=375, width=500, 
    src_size=<optimized out>, src=0x92cb2bb "", dst=0xb35c2020 "", 
    avctx=0x9115d00) at libavcodec/sgirledec.c:93
93	                int length = FFMIN3(v, width - x, src_end - src);
(gdb) bt
#0  0x08617a85 in decode_sgirle8 (linesize=544, height=375, width=500, 
    src_size=<optimized out>, src=0x92cb2bb "", dst=0xb35c2020 "", 
    avctx=0x9115d00) at libavcodec/sgirledec.c:93
#1  sgirle_decode_frame (avctx=0x9115d00, data=0x913a800, 
    got_frame=0xbffff4e4, avpkt=0xbffff288) at libavcodec/sgirledec.c:119
#2  0x0867a58e in avcodec_decode_video2 (avctx=0x9115d00, 
    picture=picture@entry=0x913a800, 
    got_picture_ptr=got_picture_ptr@entry=0xbffff4e4, 
    avpkt=avpkt@entry=0xbffff730) at libavcodec/utils.c:1995
#3  0x080b394d in decode_video (ist=ist@entry=0x91189e0, 
    pkt=pkt@entry=0xbffff730, got_output=got_output@entry=0xbffff4e4)
    at ffmpeg.c:1668
#4  0x080b786a in output_packet (pkt=0xbffff6c8, ist=0x91189e0)
    at ffmpeg.c:1866
#5  process_input (file_index=2) at ffmpeg.c:3089
#6  0x080a3043 in transcode_step () at ffmpeg.c:3185
#7  transcode () at ffmpeg.c:3237
#8  main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:3415
(gdb) 

Change History (2)

comment:1 by Elon Musk, 11 years ago

Component: undeterminedavcodec
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

comment:2 by Carl Eugen Hoyos, 11 years ago

Keywords: sgi deadlock added
Priority: normalimportant
Note: See TracTickets for help on using tickets.