Opened 4 years ago

Closed 4 years ago

#1365 closed defect (fixed)

yop crash

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

Description

http://multimedia.cx/samples/V-codecs/HuffYUV/yuv_predgrad.avi

(gdb) r -vcodec yop -i yuv_predgrad.avi -an -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 yop
 -i yuv_predgrad.avi -an -f null -
[New Thread 1848.0xa30]
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
Input #0, avi, from 'yuv_predgrad.avi':
  Duration: 00:00:07.00, start: 0.000000, bitrate: 896 kb/s
    Stream #0:0: Video: yop (HFYU / 0x55594648), pal8, 200x150, 6 tbr, 6 tbn, 6
tbc
[buffer @ 03bd1ac0] w:200 h:150 pixfmt:pal8 tb:1/6 sar:0/1 sws_param:flags=2
[buffersink @ 03bd23c0] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.6.101
    Stream #0:0: Video: rawvideo, pal8, 200x150, q=2-31, 200 kb/s, 90k tbn, 6 tb
c
Stream mapping:
  Stream #0:0 -> #0:0 (yop -> rawvideo)
Press [q] to stop, [?] for help
[yop @ 03bcc7c0] YOP: cannot decode, file probably corrupt
Error while decoding stream #0:0

Program received signal SIGSEGV, Segmentation fault.
0x006d45c2 in yop_decode_frame (avctx=0x3bcc7c0, data=0x3bd2bc0,
    data_size=0x22e8bc, avpkt=0x22e5b8) at libavcodec/yop.c:229
229             palette[i + firstcolor] |= 0xFF << 24 |
(gdb) bt
#0  0x006d45c2 in yop_decode_frame (avctx=0x3bcc7c0, data=0x3bd2bc0,
    data_size=0x22e8bc, avpkt=0x22e5b8) at libavcodec/yop.c:229
#1  0x00542637 in avcodec_decode_video2 (avctx=0x3bcc7c0, picture=0x3bd2bc0,
    got_picture_ptr=0x22e8bc, avpkt=0x22e7f0) at libavcodec/utils.c:1464
#2  0x0040c507 in decode_video (got_output=<optimized out>,
    pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:2645
#3  output_packet (ist=0x3bd1c40, pkt=0x22fbb0) at ffmpeg.c:2816
#4  0x0040e723 in transcode () at ffmpeg.c:3662
#5  0x00b14ee2 in main (argc=9, argv=0x3bd0df0) at ffmpeg.c:5926
(gdb)

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords yop crash SIGSEGV added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Only crashes with valgrind here.

comment:2 Changed 4 years ago by michael

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