[FFmpeg-trac] #851(undetermined:new): crash with grayscale jpegls
FFmpeg
trac at avcodec.org
Thu Dec 29 23:20:10 CET 2011
#851: crash with grayscale jpegls
-------------------------------------+-------------------------------------
Reporter: ami_stuff | 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 gray.jls out.bmp
Starting program: F:\MinGW\msys\1.0\ffmpeg-HEAD-834f80d/ffmpeg_g.exe -i
gray.jls
out.bmp
[New Thread 3208.0x64c]
ffmpeg version 0.9.0.git-834f80d, Copyright (c) 2000-2011 the FFmpeg
developers
built on Dec 22 2011 14:07:40 with gcc 4.5.2
configuration: --disable-ffplay --disable-ffserver --disable-asm
--disable-yas
m --disable-shared --enable-static
libavutil 51. 32.100 / 51. 32.100
libavcodec 53. 47.100 / 53. 47.100
libavformat 53. 28.100 / 53. 28.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 0.100
Input #0, image2, from 'gray.jls':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: jpegls, gray, 1024x768 [SAR 72:72 DAR 4:3], 25
tbr, 25 t
bn, 25 tbc
[buffer @ 03d615d0] w:1024 h:768 pixfmt:gray tb:1/1000000 sar:72/72
sws_param:
Output #0, image2, to 'out.bmp':
Metadata:
encoder : Lavf53.28.100
Stream #0:0: Video: bmp, gray, 1024x768 [SAR 72:72 DAR 4:3], q=2-31,
200 kb/
s, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (jpegls -> bmp)
Press [q] to stop, [?] for help
Program received signal SIGSEGV, Segmentation fault.
0x005bd688 in ls_decode_line (state=<value optimized out>, s=0x43a6008,
last=0x43a7bb8, dst=0x4900020, last2=0, w=3072, stride=3, comp=0,
bits=8)
at libavcodec/jpeglsdec.c:169
169 Rd = (x >= w - stride) ? R(last, x) : R(last, x + stride);
(gdb) bt
#0 0x005bd688 in ls_decode_line (state=<value optimized out>,
s=0x43a6008,
last=0x43a7bb8, dst=0x4900020, last2=0, w=3072, stride=3, comp=0,
bits=8)
at libavcodec/jpeglsdec.c:169
#1 0x005be653 in ff_jpegls_decode_picture (s=0x43a6008, near=0,
point_transform=0, ilv=1) at libavcodec/jpeglsdec.c:316
#2 0x007263ae in ff_mjpeg_decode_sos (avctx=0x3d5f038, data=0x3d61b00,
data_size=0x22deac, avpkt=0x22de10) at libavcodec/mjpegdec.c:1077
#3 ff_mjpeg_decode_frame (avctx=0x3d5f038, data=0x3d61b00,
data_size=0x22deac, avpkt=0x22de10) at libavcodec/mjpegdec.c:1549
#4 0x005091f2 in avcodec_decode_video2 (avctx=0x3d5f038,
picture=0x3d61b00,
got_picture_ptr=0x22deac, avpkt=0x22de10) at libavcodec/utils.c:953
#5 0x00405c17 in transcode_video (ist=0x3d611f0, ost_table=0x42be868,
nb_ostreams=1, pkt=0x22fbb8) at ffmpeg.c:1880
#6 output_packet (ist=0x3d611f0, ost_table=0x42be868, nb_ostreams=1,
pkt=0x22fbb8) at ffmpeg.c:2046
#7 0x0040a63e in transcode (output_files=<value optimized out>,
nb_output_files=0, input_files=0x0, nb_input_files=4256952)
at ffmpeg.c:2804
#8 0x0022ff48 in ?? ()
#9 0x00000000 in ?? ()
}}}
--
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/851>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list