Carl Eugen Hoyos <ceho...@rainbow.studorg.tuwien.ac.at> added the comment:
Using --disable-shared: (gdb) r -i camcorder.avi -f crc - Starting program: ffmpeg_g -i camcorder.avi -f crc - [Thread debugging using libthread_db enabled] FFmpeg version SVN-r17166, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-swscale --cc=/opt/intel/cce/10.1.021/bin/icc --cpu=core2 libavutil 49.14. 0 / 49.14. 0 libavcodec 52.15. 0 / 52.15. 0 libavformat 52.27. 0 / 52.27. 0 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 6. 2 / 0. 6. 2 built on Feb 12 2009 01:30:49, gcc: Intel(R) C++ gcc 4.3 mode Input #0, avi, from 'camcorder.avi': Duration: 00:05:50.98, start: 0.000000, bitrate: 30819 kb/s Stream #0.0: Video: dvvideo, yuv411p, 720x480, 28771 kb/s, PAR 10:11 DAR 15:11, 29.97 tb(r) Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0.2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Output #0, crc, to 'pipe:': Stream #0.0: Video: rawvideo, yuv411p, 720x480 [PAR 10:11 DAR 15:11], q=2-31, 200 kb/s, 29.97 tb(c) Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [New Thread 0x7fb1463166f0 (LWP 30031)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fb1463166f0 (LWP 30031)] 0x00000000004819d1 in avi_read_packet (s=0x18, pkt=0x2c) at libavformat/avidec.c:844 844 } else if( ((ast->prefix_count<5 || sync+9 > i) && d[2]<128 && d[3]<128) || (gdb) bt #0 0x00000000004819d1 in avi_read_packet (s=0x18, pkt=0x2c) at libavformat/avidec.c:844 #1 0x000000000046cd77 in av_read_packet (s=0x18, pkt=0x2c) at libavformat/utils.c:591 #2 0x000000000046eee9 in av_read_frame_internal (s=0x18, pkt=0x2c) at libavformat/utils.c:972 #3 0x0000000000470aa6 in av_read_frame (s=0x18, pkt=0x2c) at libavformat/utils.c:1092 #4 0x00000000004248f3 in av_encode (output_files=0x18, nb_output_files=44, input_files=0x0, nb_input_files=1, stream_maps=0xffffffff8b1036a4, nb_stream_maps=0) at ffmpeg.c:2103 #5 0x00000000004222e2 in main (argc=24, argv=0x2c) at ffmpeg.c:3923 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0x4819b1 to 0x4819f1: 0x00000000004819b1 <avi_read_packet+983>: je 0x481e45 <avi_read_packet+2155> 0x00000000004819b7 <avi_read_packet+989>: cmp $0x30,%edx 0x00000000004819ba <avi_read_packet+992>: jge 0x481e45 <avi_read_packet+2155> 0x00000000004819c0 <avi_read_packet+998>: mov 0x38(%rsp),%esi 0x00000000004819c4 <avi_read_packet+1002>: cmp $0x70,%esi 0x00000000004819c7 <avi_read_packet+1005>: je 0x481d84 <avi_read_packet+1962> 0x00000000004819cd <avi_read_packet+1011>: mov 0x3c(%rsp),%edi 0x00000000004819d1 <avi_read_packet+1015>: mov 0x2c(%r9),%edx 0x00000000004819d5 <avi_read_packet+1019>: cmp $0x5,%edx 0x00000000004819d8 <avi_read_packet+1022>: jl 0x4819e3 <avi_read_packet+1033> 0x00000000004819da <avi_read_packet+1024>: lea 0x9(%rbp),%r8 0x00000000004819de <avi_read_packet+1028>: cmp %r8,%rbx 0x00000000004819e1 <avi_read_packet+1031>: jge 0x4819f7 <avi_read_packet+1053> 0x00000000004819e3 <avi_read_packet+1033>: cmp $0x80,%esi 0x00000000004819e9 <avi_read_packet+1039>: jge 0x4819f7 <avi_read_packet+1053> 0x00000000004819eb <avi_read_packet+1041>: cmp $0x80,%edi End of assembler dump. (gdb) info all-registers rax 0x2c 44 rbx 0xfbb5b 1031003 rcx 0x1 1 rdx 0x0 0 rsi 0x2c 44 rdi 0x18 24 rbp 0xfae00 0xfae00 rsp 0x7fff4e33e0f0 0x7fff4e33e0f0 r8 0xffffffff8b1036a4 -1961871708 r9 0x0 0 r10 0x8b1036a4 2333095588 r11 0x8b000000 2332033024 r12 0x118cab0 18401968 r13 0x118cb50 18402128 r14 0x11e7d40 18775360 r15 0x1036a4 1062564 rip 0x4819d1 0x4819d1 <avi_read_packet+1015> eflags 0x210283 [ CF SF IF RF ID ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 -nan(0x8080808080808080) (raw 0xffff8080808080808080) st1 -nan(0x80008000800080) (raw 0xffff0080008000800080) st2 -nan(0x8080808080808080) (raw 0xffff8080808080808080) st3 -nan(0x80008000800080) (raw 0xffff0080008000800080) st4 -nan(0x8080808080808080) (raw 0xffff8080808080808080) st5 -nan(0x80008000800080) (raw 0xffff0080008000800080) st6 -nan(0x8080808080808080) (raw 0xffff8080808080808080) st7 -nan(0x80008000800080) (raw 0xffff0080008000800080) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x30, 0x0, 0x0, 0x0, 0x31, 0x0, 0x0, 0x0, 0x2c, 0x0, 0x0, 0x0, 0x18, 0x0, 0x0, 0x0}, v8_int16 = {0x30, 0x0, 0x31, 0x0, 0x2c, 0x0, 0x18, 0x0}, v4_int32 = {0x30, 0x31, 0x2c, 0x18}, v2_int64 = {0x3100000030, 0x180000002c}, uint128 = 0x000000180000002c0000003100000030} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16 times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}, v4_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 = {0xffffffffffffffff, 0xffffffffffffffff}, uint128 = 0xffffffffffffffffffffffffffffffff} xmm2 {v4_float = {0x0, 0x8, 0x0, 0x0}, v2_double = {0x3903d, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xe8, 0x81, 0xc, 0x41, 0xf4, 0xff, 0x5, 0x0, 0xf5, 0xff, 0x3, 0x0}, v8_int16 = {0x0, 0x0, 0x81e8, 0x410c, 0xfff4, 0x5, 0xfff5, 0x3}, v4_int32 = {0x0, 0x410c81e8, 0x5fff4, 0x3fff5}, v2_int64 = {0x410c81e800000000, 0x3fff50005fff4}, uint128 = 0x0003fff50005fff4410c81e800000000} xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x8000000000000000}, v16_int8 = {0x28, 0x58, 0xa7, 0x7b, 0x3b, 0x4d, 0xe7, 0x3e, 0xfd, 0xff, 0x1, 0x0, 0xfb, 0xff, 0xf8, 0xff}, v8_int16 = { 0x5828, 0x7ba7, 0x4d3b, 0x3ee7, 0xfffd, 0x1, 0xfffb, 0xfff8}, v4_int32 = {0x7ba75828, 0x3ee74d3b, 0x1fffd, 0xfff8fffb}, v2_int64 = {0x3ee74d3b7ba75828, 0xfff8fffb0001fffd}, uint128 = 0xfff8fffb0001fffd3ee74d3b7ba75828} xmm4 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x72, 0x40, 0x38, 0x8c, 0x6f, 0x15, 0xd1, 0x3f, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x4072, 0x8c38, 0x156f, 0x3fd1, 0xc0, 0x0, 0x0, 0x0}, v4_int32 = {0x8c384072, 0x3fd1156f, 0xc0, 0x0}, v2_int64 = {0x3fd1156f8c384072, 0xc0}, uint128 = 0x00000000000000c03fd1156f8c384072} xmm5 {v4_float = {0x7b1b8000, 0x0, 0x7b1b8000, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x37, 0xf6, 0xe0, 0x52, 0x64, 0x27, 0xcf, 0xbe, 0x37, 0xf6, 0xe0, 0x52, 0x64, 0x27, 0xcf, 0xbe}, v8_int16 = { 0xf637, 0x52e0, 0x2764, 0xbecf, 0xf637, 0x52e0, 0x2764, 0xbecf}, v4_int32 = {0x52e0f637, 0xbecf2764, 0x52e0f637, 0xbecf2764}, v2_int64 = {0xbecf276452e0f637, 0xbecf276452e0f637}, uint128 = 0xbecf276452e0f637becf276452e0f637} xmm6 {v4_float = {0x0, 0x0, 0x31540000, 0xfffffffd}, v2_double = {0x0, 0xffffffffffffffd2}, v16_int8 = {0x0, 0x80, 0x52, 0x2, 0x55, 0x4e, 0x66, 0x3f, 0xb0, 0x3a, 0x27, 0xd2, 0x44, 0x6, 0x47, 0xc0}, v8_int16 = {0x8000, 0x252, 0x4e55, 0x3f66, 0x3ab0, 0xd227, 0x644, 0xc047}, v4_int32 = {0x2528000, 0x3f664e55, 0xd2273ab0, 0xc0470644}, v2_int64 = {0x3f664e5502528000, 0xc0470644d2273ab0}, uint128 = 0xc0470644d2273ab03f664e5502528000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x33, 0x46, 0x89, 0x8c, 0xc6, 0x4a, 0x90, 0xbd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x4633, 0x8c89, 0x4ac6, 0xbd90, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x8c894633, 0xbd904ac6, 0x0, 0x0}, v2_int64 = {0xbd904ac68c894633, 0x0}, uint128 = 0x0000000000000000bd904ac68c894633} xmm8 {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} xmm9 {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} xmm10 {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} xmm11 {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} xmm12 {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} xmm13 {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 = { ---Type <return> to continue, or q <return> to quit--- 0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm14 {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} xmm15 {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} mxcsr 0x9fe0 [ PE DAZ IM DM ZM OM UM PM FZ ] ---------- status: new -> open substatus: new -> reproduced ____________________________________________________ FFmpeg issue tracker <ffmpeg_iss...@live.polito.it> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue841> ____________________________________________________