[FFmpeg-trac] #2934(undetermined:new): c93: invalid read
FFmpeg
trac at avcodec.org
Thu Sep 5 17:50:00 CEST 2013
#2934: c93: invalid read
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: c93 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ami_stuff):
{{{
(gdb) r -vcodec c93 -i cyuv.avi -f null -
Starting program: D:\MinGW\msys\1.0\ffmpeg-HEAD-a67dcd7\ffmpeg_g.exe
-vcodec c93
-i cyuv.avi -f null -
[New Thread 1968.0xf04]
ffmpeg version 2.0-a67dcd7 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 5 2013 17:46:37 with gcc 4.6.2 (GCC)
configuration: --disable-w32threads --disable-yasm --disable-ffprobe
--enable-
gpl
libavutil 52. 43.100 / 52. 43.100
libavcodec 55. 31.101 / 55. 31.101
libavformat 55. 16.101 / 55. 16.101
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 83.102 / 3. 83.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'cyuv.avi':
Duration: 00:00:05.00, start: 0.000000, bitrate: 4579 kb/s
Stream #0:0: Video: c93 (cyuv / 0x76757963), pal8, 176x144, 30 tbr, 30
tbn,
30 tbc
[New Thread 1968.0x8ac]
[New Thread 1968.0x6b4]
[New Thread 1968.0xba0]
[New Thread 1968.0x6dc]
[New Thread 1968.0xcc4]
[New Thread 1968.0x2d4]
[New Thread 1968.0xe30]
[New Thread 1968.0xed0]
[New Thread 1968.0x790]
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf55.16.101
Stream #0:0: Video: rawvideo, pal8, 176x144, q=2-31, 200 kb/s, 90k
tbn, 30 t
bc
Stream mapping:
Stream #0:0 -> #0:0 (c93 -> rawvideo)
Press [q] to stop, [?] for help
[c93 @ 04df6e60] unexpected type 1 at 24x0
Error while decoding stream #0:0: Invalid data found when processing input
[c93 @ 04df6e60] invalid offset 61163 during C93 decoding
Error while decoding stream #0:0: Invalid data found when processing input
Program received signal SIGSEGV, Segmentation fault.
0x006381c2 in copy_block (stride=208, height=4, offset=<optimized out>,
from=0x4e01fe0 "ţ˝ţ˘", to=0x4df9370 "", avctx=0x4df6e60)
at libavcodec/c93.c:96
96 memcpy(&to[i*stride], &from[(from_y+i)*stride+from_x],
width);
(gdb) bt
#0 0x006381c2 in copy_block (stride=208, height=4, offset=<optimized
out>,
from=0x4e01fe0 "ţ˝ţ˘", to=0x4df9370 "", avctx=0x4df6e60)
at libavcodec/c93.c:96
#1 decode_frame (avctx=0x4df6e60, data=0x4de1d20, got_frame=0x22fa9c,
avpkt=0x22f768) at libavcodec/c93.c:179
#2 0x0059fcb2 in avcodec_decode_video2 (avctx=0x4df6e60,
picture=0x4de1d20,
got_picture_ptr=0x22fa9c, avpkt=0x22f898) at libavcodec/utils.c:1983
#3 0x00413624 in decode_video (got_output=<optimized out>,
pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:1668
#4 output_packet (ist=0x4df8e40, pkt=0x22fbe0) at ffmpeg.c:1866
#5 0x004162a7 in process_input (file_index=81760096) at ffmpeg.c:3085
#6 0x00b07c28 in transcode_step () at ffmpeg.c:3181
#7 transcode () at ffmpeg.c:3233
#8 main (argc=8, argv=<optimized out>) at ffmpeg.c:3411
(gdb)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2934#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list