Ticket #1630 (closed defect: fixed)
msrle crash
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | crash SIGSEGV msrle |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
I have too old debug-build which doesn't crash, so no gdb output - please add.
http://samples.mplayerhq.hu/V-codecs/G2M4/g2m4.wmv
C:\>ffmpeg -vcodec msrle -i g2m4.wmv -f null -
ffmpeg version N-43410-ga0d1502 Copyright (c) 2000-2012 the FFmpeg developers
built on Aug 10 2012 02:39:29 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
libavutil 51. 67.100 / 51. 67.100
libavcodec 54. 51.100 / 54. 51.100
libavformat 54. 22.104 / 54. 22.104
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 7.100 / 3. 7.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[asf @ 0x1e9cec0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, asf, from 'g2m4.wmv':
Metadata:
WMFSDKVersion : 9.00.00.4509
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
Duration: 00:00:02.95, start: 0.000000, bitrate: 27694 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, mono, s16, 4
8 kb/s
Stream #0:1(eng): Data: none
Stream #0:2(eng): Video: msrle (G2M4 / 0x344D3247), bgr24, 1280x1024, 27648
kb/s, 9.92 tbr, 1k tbn, 1k tbc
Output #0, null, to 'pipe:':
Metadata:
WMFSDKVersion : 9.00.00.4509
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
encoder : Lavf54.22.104
Stream #0:0(eng): Video: rawvideo (BGR[24] / 0x18524742), bgr24, 1280x1024,
q=2-31, 200 kb/s, 90k tbn, 9.92 tbc
Stream #0:1(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
Stream #0:2 -> #0:0 (msrle -> rawvideo)
Stream #0:0 -> #0:1 (wmav2 -> pcm_s16le)
Press [q] to stop, [?] for help
Change History
Note: See
TracTickets for help on using
tickets.



Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb76cf8e0 (LWP 27866)] msrle_decode_frame (avctx=0x9107cc0, data=0x911c000, data_size=0xbfcf96f4, avpkt=0xbfcf93b0) at libavcodec/msrle.c:112 112 memcpy(s->frame.data[1], s->pal, AVPALETTE_SIZE); (gdb) bt #0 msrle_decode_frame (avctx=0x9107cc0, data=0x911c000, data_size=0xbfcf96f4, avpkt=0xbfcf93b0) at libavcodec/msrle.c:112 #1 0x08591285 in avcodec_decode_video2 (avctx=0x9107cc0, picture=0x911c000, got_picture_ptr=0xbfcf956c, avpkt=0xb7a51140) at libavcodec/utils.c:1509 #2 0x0805e4db in output_packet (ist=0x9140fa0, pkt=0xbfcf9888) at ffmpeg.c:1549 #3 0x080612d5 in process_input () at ffmpeg.c:2858 #4 0x080620ca in main (argc=Cannot access memory at address 0x100 ) at ffmpeg.c:2916