Carl Eugen Hoyos <[email protected]> added the comment:
Crashes are important.
(gdb) r -i smclockhuffyuv.avi.1.0 -f rawvideo /dev/null
Starting program: ffmpeg_g -i smclockhuffyuv.avi.1.0 -f rawvideo /dev/null
[Thread debugging using libthread_db enabled]
FFmpeg version SVN-r19281, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --cc=/opt/intel/Compiler/11.1/038/bin/ia32/icc
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.32. 0 / 52.32. 0
libavformat 52.36. 0 / 52.36. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jun 27 2009 11:19:44, gcc: Intel(R) C++ gcc 4.3 mode
[avi @ 0x8c19420]non-interleaved AVI
Input #0, avi, from 'smclockhuffyuv.avi.1.0':
Duration: 00:00:00.10, start: 0.000000, bitrate: 3638 kb/s
Stream #0.0: Video: huffyuv, yuv420p, 65664x128, 30 tbr, 30 tbn, 30 tbc
Stream #0.1: Audio: truespeech, 8000 Hz, 1 channels, s16, 8 kb/s
Output #0, rawvideo, to '/dev/null':
Stream #0.0: Video: rawvideo, yuv420p, 65664x128, q=2-31, 200 kb/s, 90k tbn,
30 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[New Thread 0xf7c726c0 (LWP 6675)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7c726c0 (LWP 6675)]
0x0822bff0 in decode_422_bitstream (s=0x8c2d3f0, count=17493) at
libavcodec/huffyuv.c:734
734 READ_2PIX(s->temp[0][2*i+1], s->temp[2][i], 2);
(gdb) bt
#0 0x0822bff0 in decode_422_bitstream (s=0x8c2d3f0, count=17493) at
libavcodec/huffyuv.c:734
#1 0x0822b862 in decode_frame (avctx=0x8c22730, data=0xffa2e4a8,
data_size=0xffa2e6b4, avpkt=0xffa2e700) at libavcodec/huffyuv.c:1017
#2 0x080f94ec in avcodec_decode_video2 (avctx=0xf4240, picture=0x8c24fb0,
got_picture_ptr=0x1, avpkt=0x804dcf6) at libavcodec/utils.c:577
#3 0x0804dcf6 in output_packet (ist=0x8c2d3f0, ist_index=17493, ost_table=0x7f,
nb_ostreams=0, pkt=0x804d009) at ffmpeg.c:1314
#4 0x0804d009 in av_encode (output_files=0x8c2d3f0, nb_output_files=17493,
input_files=0x7f, nb_input_files=1, stream_maps=0x8790300, nb_stream_maps=0) at
ffmpeg.c:2281
#5 0x0804ac7f in main (argc=6, argv=0xffa2f2b4) at ffmpeg.c:3997
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x822bfd0 to 0x822c010:
0x0822bfd0 <decode_422_bitstream+112>: or %cl,-0x74ffaaa4(%eax)
0x0822bfd6 <decode_422_bitstream+118>: jo 0x822c03c
<decode_422_bitstream+220>
0x0822bfd8 <decode_422_bitstream+120>: mov %cl,(%esi,%edx,1)
0x0822bfdb <decode_422_bitstream+123>: mov 0x47c0(%eax),%esi
0x0822bfe1 <decode_422_bitstream+129>: mov 0x10(%eax),%ebp
0x0822bfe4 <decode_422_bitstream+132>: mov 0x8(%eax),%ebx
0x0822bfe7 <decode_422_bitstream+135>: mov %ebx,0x70(%esp)
0x0822bfeb <decode_422_bitstream+139>: mov %ebp,%edi
0x0822bfed <decode_422_bitstream+141>: sar $0x3,%edi
0x0822bff0 <decode_422_bitstream+144>: mov (%edi,%ebx,1),%ebx
0x0822bff3 <decode_422_bitstream+147>: bswap %ebx
0x0822bff5 <decode_422_bitstream+149>: mov %ebp,%ecx
0x0822bff7 <decode_422_bitstream+151>: and $0x7,%ecx
0x0822bffa <decode_422_bitstream+154>: shl %cl,%ebx
0x0822bffc <decode_422_bitstream+156>: shr $0xf5,%ebx
0x0822bfff <decode_422_bitstream+159>: movzwl (%esi,%ebx,4),%ecx
0x0822c003 <decode_422_bitstream+163>: cmp $0xffff,%ecx
0x0822c009 <decode_422_bitstream+169>: movswl 0x2(%esi,%ebx,4),%esi
0x0822c00e <decode_422_bitstream+174>: lea (%esi,%ebp,1),%ebx
End of assembler dump.
(gdb) info all-registers
eax 0x8c2d3f0 146985968
ecx 0x7f 127
edx 0x4455 17493
ebx 0x8c72f70 147271536
esp 0xffa2e1d4 0xffa2e1d4
ebp 0x90472 0x90472
esi 0x8c3ce58 147050072
edi 0x1208e 73870
eip 0x822bff0 0x822bff0 <decode_422_bitstream+144>
eflags 0x10216 [ PF AF IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 0 (raw 0x00000000000000000000)
st7 9223372036854775807 (raw 0x403dfffffffffffffffe)
fctrl 0x37f 895
fstat 0x220 544
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x804ca8e 134531726
foseg 0x0 0
fooff 0xffa2f010 -6098928
fop 0x59c 1436
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080,
0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {
0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 =
{0x8080808080808080, 0x8080808080808080}, uint128 =
0x80808080808080808080808080808080}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080,
0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {
0x80808080, 0x80808080, 0x80808080, 0x80808080}, v2_int64 =
{0x8080808080808080, 0x8080808080808080}, uint128 =
0x80808080808080808080808080808080}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {
0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm3 {v4_float = {0x0, 0x1, 0x0, 0x1}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x2, 0xe0, 0xff, 0xff, 0xbf, 0x3f, 0x0, 0x0, 0x2, 0xe0,
0xff, 0xff, 0xbf, 0x3f}, v8_int16 = {0x0, 0xe002, 0xffff,
0x3fbf, 0x0, 0xe002, 0xffff, 0x3fbf}, v4_int32 = {0xe0020000, 0x3fbfffff,
0xe0020000, 0x3fbfffff}, v2_int64 = {0x3fbfffffe0020000, 0x3fbfffffe0020000},
uint128 = 0x3fbfffffe00200003fbfffffe0020000}
xmm4 {v4_float = {0x0, 0x1, 0x0, 0x1}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x2, 0xe0, 0xff, 0xff, 0xbf, 0x3f, 0x0, 0x0, 0x2, 0xe0,
0xff, 0xff, 0xbf, 0x3f}, v8_int16 = {0x0, 0xe002, 0xffff,
0x3fbf, 0x0, 0xe002, 0xffff, 0x3fbf}, v4_int32 = {0xe0020000, 0x3fbfffff,
0xe0020000, 0x3fbfffff}, v2_int64 = {0x3fbfffffe0020000, 0x3fbfffffe0020000},
uint128 = 0x3fbfffffe00200003fbfffffe0020000}
xmm5 {v4_float = {0x0, 0x7, 0x0, 0x0}, v2_double = {0x8050, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0xe0, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xa00, 0x40e0,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40e00a00, 0x0, 0x0}, v2_int64 =
{0x40e00a0000000000, 0x0}, uint128 = 0x000000000000000040e00a0000000000}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x80, 0x52, 0x2, 0x55, 0x4e, 0x66, 0x3f, 0x7d, 0x30, 0xe6,
0x2e, 0xb5, 0x66, 0x17, 0xbd}, v8_int16 = {0x8000, 0x252,
0x4e55, 0x3f66, 0x307d, 0x2ee6, 0x66b5, 0xbd17}, v4_int32 = {0x2528000,
0x3f664e55, 0x2ee6307d, 0xbd1766b5}, v2_int64 = {0x3f664e5502528000,
0xbd1766b52ee6307d},
uint128 = 0xbd1766b52ee6307d3f664e5502528000}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x33, 0x46, 0x89, 0x8c, 0xc6, 0x4a, 0x90, 0xbd, 0x23, 0x42, 0x92,
0xc, 0xa1, 0x9c, 0xc7, 0x3b}, v8_int16 = {0x4633, 0x8c89,
0x4ac6, 0xbd90, 0x4223, 0xc92, 0x9ca1, 0x3bc7}, v4_int32 = {0x8c894633,
0xbd904ac6, 0xc924223, 0x3bc79ca1}, v2_int64 = {0xbd904ac68c894633,
0x3bc79ca10c924223},
uint128 = 0x3bc79ca10c924223bd904ac68c894633}
mxcsr 0x9fe4 [ ZE PE DAZ IM DM ZM OM UM PM FZ ]
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0,
0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7 {uint64 = 0xfffffffffffffffe, v2_int32 = {0xfffffffe,
0xffffffff}, v4_int16 = {0xfffe, 0xffff, 0xffff, 0xffff}, v8_int8 = {0xfe, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff}}
----------
priority: normal -> important
status: new -> open
substatus: new -> reproduced
_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1237>
_____________________________________________________