[Ffmpeg-devel] Segfault and gdb output of ffmpeg, build 3276800
Alexander Rødseth
alexanro
Tue Mar 7 11:31:46 CET 2006
Hello,
I know you prefer bugreports from the very latest CVS version, but I thought
this might be of some help anyways. Disregard at will.
~/download% ffmpeg -version
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build x86_64-linux-gnu --enable-gpl --enable-pp
--enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52
--enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Jan 22 2006 15:23:35, gcc: 4.0.3 20060115 (prerelease) (Debian
4.0.2-7)
ffmpeg CVS
libavcodec 3276800
libavformat 3211520
Commandline: ffmpeg -i GPCore.wmv GPCore.avi
File:
http://www.softimage.com/downloadsrv/process.asp?file=/Videos/NFT50/GPCore.wmv
Output at segfault:
// ...
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]Transform used: 8x4
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errorsits/s
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errorsits/s
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
zsh: segmentation fault ffmpeg -i GPCore.wmv GPCore.avi
139~/download%
// (returned errorlevel 139)
Gdb output:
/// ...
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
[wmv3 @ 0x7eea70]concealing 3072 DC, 3072 AC, 3072 MV errors
Program received signal SIGSEGV, Segmentation fault.
0x00000000005c5f18 in vc9_decode_block ()
(gdb) bt
#0 0x00000000005c5f18 in vc9_decode_block ()
#1 0x00000000005c69ff in vc9_decode_p_mb ()
#2 0x00000000005c86ff in vc9_decode_b_mb ()
#3 0x0000000000460b50 in avcodec_decode_video ()
#4 0x00000000004176d0 in parse_matrix_coeffs ()
#5 0x0000000000419e0e in main ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x5c5ef8 to 0x5c5f38:
0x00000000005c5ef8 <vc9_decode_block+152>: add %al,0xffffffffffffffc8
(%rcx,%rcx,4)
0x00000000005c5efc <vc9_decode_block+156>: mov %r9d,%ecx
0x00000000005c5eff <vc9_decode_block+159>: sar $0x3,%eax
0x00000000005c5f02 <vc9_decode_block+162>: and $0x7,%ecx
0x00000000005c5f05 <vc9_decode_block+165>: cltq
0x00000000005c5f07 <vc9_decode_block+167>: mov 0x0(%rbp,%rax,1),%eax
0x00000000005c5f0b <vc9_decode_block+171>: bswap %eax
0x00000000005c5f0d <vc9_decode_block+173>: shl %cl,%eax
0x00000000005c5f0f <vc9_decode_block+175>: shr $0xf7,%eax
0x00000000005c5f12 <vc9_decode_block+178>: cltq
0x00000000005c5f14 <vc9_decode_block+180>: lea (%rdx,%rax,4),%rax
0x00000000005c5f18 <vc9_decode_block+184>: movswl 0x2(%rax),%edi
0x00000000005c5f1c <vc9_decode_block+188>: movswl (%rax),%r10d
0x00000000005c5f20 <vc9_decode_block+192>: test %edi,%edi
0x00000000005c5f22 <vc9_decode_block+194>: js 0x5c6304
<vc9_decode_block+1188>
0x00000000005c5f28 <vc9_decode_block+200>: lea (%r9,%rdi,1),%eax
0x00000000005c5f2c <vc9_decode_block+204>: cmp $0x0,%r10d
0x00000000005c5f30 <vc9_decode_block+208>: mov %eax,0x10(%r8)
0x00000000005c5f34 <vc9_decode_block+212>: jl 0x5c6459
<vc9_decode_block+1529>
End of assembler dump.
(gdb) info all-registers
rax 0x71c 1820
rbx 0xa14d30 10571056
rcx 0x2 2
rdx 0x0 0
rsi 0x0 0
rdi 0xa14d30 10571056
rbp 0xb3bb00 0xb3bb00
rsp 0x7fffff98c0a0 0x7fffff98c0a0
r8 0xa17508 10581256
r9 0xdd2 3538
r10 0x5 5
r11 0x8 8
r12 0xa14d34 10571060
r13 0xa40d70 10751344
r14 0x0 0
r15 0x5 5
rip 0x5c5f18 0x5c5f18 <vc9_decode_block+184>
eflags 0x10212 66066
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(0x8080808080808080) (raw 0xffff8080808080808080)
st2 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st3 <invalid float value> (raw 0xffff0000000000000000)
st4 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st5 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st6 <invalid float value> (raw 0xffff0000000000000000)
st7 <invalid float value> (raw 0xffff0000000000000000)
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, 0x11, 0x0, 0x0}, v2_double = {0x3fbf560,
0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xab, 0xdf, 0x8f, 0x41,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xdfab,
0x418f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x418fdfab, 0x0,
0x0}, v2_int64 = {0x418fdfab00000000, 0x0}, uint128 =
0x0000000000000000418fdfab00000000}
xmm1 {v4_float = {0x0, 0x4, 0x0, 0x0}, v2_double = {0x4c9, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x24, 0x93, 0x40, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x2400, 0x4093, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x40932400, 0x0, 0x0},
v2_int64 = {0x4093240000000000, 0x0}, uint128 =
0x00000000000000004093240000000000}
xmm2 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x3f, 0x0},
v16_int8 = {0x2a, 0xf1, 0x8e, 0xb4, 0xa0, 0x87, 0x4f, 0x40, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf12a, 0xb48e, 0x87a0,
0x404f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xb48ef12a,
0x404f87a0, 0x0, 0x0}, v2_int64 = {0x404f87a0b48ef12a, 0x0}, uint128 =
0x0000000000000000404f87a0b48ef12a}
xmm3 {v4_float = {0x0, 0x3, 0x0, 0x0}, v2_double = {0x3f, 0x0},
v16_int8 = {0x2a, 0xf1, 0x8e, 0xb4, 0xa0, 0x87, 0x4f, 0x40, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xf12a, 0xb48e, 0x87a0,
0x404f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xb48ef12a,
0x404f87a0, 0x0, 0x0}, v2_int64 = {0x404f87a0b48ef12a, 0x0}, uint128 =
0x0000000000000000404f87a0b48ef12a}
xmm4 {v4_float = {0x0, 0x11, 0x0, 0x0}, v2_double = {0x3fbf560,
0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0xab, 0xdf, 0x8f, 0x41,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0xdfab,
0x418f, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x418fdfab, 0x0,
0x0}, v2_int64 = {0x418fdfab00000000, 0x0}, uint128 =
0x0000000000000000418fdfab00000000}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x36, 0xed, 0x2f, 0xbb, 0x0 <repeats 12 times>},
v8_int16 = {0xed36, 0xbb2f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 =
{0xbb2fed36, 0x0, 0x0, 0x0}, v2_int64 = {0xbb2fed36, 0x0},
uint128 = 0x000000000000000000000000bb2fed36}
xmm6 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0},
v16_int8 = {0xe, 0xdf, 0x1d, 0x74, 0x64, 0x0, 0xf0, 0x3f, 0x0,
0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x0}, v8_int16 = {0xdf0e, 0x741d, 0x64,
0x3ff0, 0x0, 0x1, 0x0, 0x1}, v4_int32 = {0x741ddf0e, 0x3ff00064,
0x10000, 0x10000}, v2_int64 = {0x3ff00064741ddf0e, 0x1000000010000},
uint128 = 0x00010000000100003ff00064741ddf0e}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xcc, 0x8c,
0xff, 0xff, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x8ccc,
0xffff, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0xffff8ccc, 0x0},
v2_int64 = {0x0, 0xffff8ccc}, uint128 = 0x00000000ffff8ccc0000000000000000}
xmm8 {v4_float = {0xce3f9, 0x6, 0x0, 0x0}, v2_double = {0x3de8,
0x0}, v16_int8 = {0x98, 0x3f, 0x4e, 0x49, 0x77, 0xf4, 0xce, 0x40,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x3f98, 0x494e,
0xf477, 0x40ce, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x494e3f98,
0x40cef477, 0x0, 0x0}, v2_int64 = {0x40cef477494e3f98, 0x0}, uint128 =
0x000000000000000040cef477494e3f98}
---Type <return> to continue, or q <return> to quit---
xmm9 {v4_float = {0xf9999998, 0x2, 0x0, 0x0}, v2_double = {0x4,
0x0}, v16_int8 = {0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x10, 0x40,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xcccd, 0xcccc,
0xcccc, 0x4010, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xcccccccd,
0x4010cccc, 0x0, 0x0}, v2_int64 = {0x4010cccccccccccd, 0x0}, uint128 =
0x00000000000000004010cccccccccccd}
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, 0x4b, 0x0, 0x0}, v2_double = {0x5ffffffffff,
0x0}, v16_int8 = {0x2c, 0xfd, 0xff, 0xff, 0xff, 0xff, 0x97,
0x42, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0xfd2c, 0xffff,
0xffff, 0x4297, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xfffffd2c,
0x4297ffff, 0x0, 0x0}, v2_int64 = {0x4297fffffffffd2c, 0x0}, uint128 =
0x00000000000000004297fffffffffd2c}
xmm12 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xe0, 0x3f, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3fe0, 0x0,
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3fe00000, 0x0, 0x0},
v2_int64 = {0x3fe0000000000000, 0x0}, uint128 =
0x00000000000000003fe0000000000000}
xmm13 {v4_float = {0x3, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0xd9, 0x80, 0x6c, 0x40, 0x36, 0x20, 0x6b, 0x3f, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x80d9, 0x406c, 0x2036,
0x3f6b, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x406c80d9,
0x3f6b2036, 0x0, 0x0}, v2_int64 = {0x3f6b2036406c80d9, 0x0}, uint128 =
0x00000000000000003f6b2036406c80d9}
xmm14 {v4_float = {0x0, 0x2, 0x0, 0x0}, v2_double = {0x4, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0xd0, 0xcc, 0xcc, 0x10, 0x40, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0xd000, 0xcccc, 0x4010,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0xd0000000, 0x4010cccc, 0x0,
0x0}, v2_int64 = {0x4010ccccd0000000, 0x0}, uint128 =
0x00000000000000004010ccccd0000000}
xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0, 0x0, 0x0, 0x98, 0x99, 0x99, 0x69, 0xbe, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x9800, 0x9999, 0xbe69,
0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x98000000, 0xbe699999, 0x0,
0x0}, v2_int64 = {0xbe69999998000000, 0x0}, uint128 =
0x0000000000000000be69999998000000}
mxcsr 0x1fa0 8096
(gdb)
Hope this was of any help. Thanks for making ffmpeg.
Best regards,
Alexander R?dseth
More information about the ffmpeg-devel
mailing list