[MPlayer-users] crash in motion_est_mmx.c, backtrace included

Ariel asmplayer at dsgml.com
Wed Sep 19 09:06:22 CEST 2007


There were some transmission errors, and then a crash.

Older versions of mplayer never crashed on a transmission error, they 
just skipped it.

This is CVS from 2007-09-03.

Command line: -fs -framedrop -softvol -softvol-max 800 -af volume=12 -ao alsa -channels 6 -ni -vo xvmc:queue -vc ffmpeg12mc

If there is other information you need let me know.


CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

[...snip...]

[mpegvideo_xvmc @ 0x87ddff0]skipped MB in I frame at 20 21 20.8% 15 0
[mpegvideo_xvmc @ 0x87ddff0]concealing 80 DC, 80 AC, 80 MV errors

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1237632192 (LWP 32274)]
0x082f5909 in sad16_sse2 (v=0x0, blk2=0xb5f0d458 "", blk1=0xb5f0d458 "", 
stride=0, h=16)
     at i386/motion_est_mmx.c:94
94        asm volatile(
(gdb) bt
#0  0x082f5909 in sad16_sse2 (v=0x0, blk2=0xb5f0d458 "", blk1=0xb5f0d458 "", stride=0, h=16) at i386/motion_est_mmx.c:94
#1  0x084dfa75 in ff_er_frame_end (s=0x8a09a70) at error_resilience.c:586
#2  0x082c1000 in mpeg_decode_frame (avctx=0x8a055a0, data=0x8a054b0, data_size=0xbff812e4, buf=0xb622f008 "", buf_size=123468) at mpeg12.c:1934
#3  0x082d4804 in avcodec_decode_video (avctx=0x8a055a0, picture=0x8a054b0, got_picture_ptr=0xbff812e4, buf=0xb622f008 "", buf_size=123468) at utils.c:937
#4  0x08160e3a in decode (sh=0x89c1c98, data=0xb622f008, len=123468, flags=0) at vd_ffmpeg.c:783
#5  0x08129532 in decode_video (sh_video=0x89c1c98, start=0xb622f008 "", in_size=123468, drop_frame=0, pts=59748.04296875) at dec_video.c:366
#6  0x080a1242 in main (argc=19, argv=0xbff82534) at mplayer.c:2042
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x82f58e9 to 0x82f5929:
0x082f58e9 <sad16_sse2+9>:   adc    %cl,0x458b1455(%ebx)
0x082f58ef <sad16_sse2+15>:  sbb    %ah,0xf(%esi)
0x082f58f2 <sad16_sse2+18>:  out    %eax,(%dx)
0x082f58f3 <sad16_sse2+19>:  (bad)  0xb6(%ebp)
0x082f58f9 <sad16_sse2+25>:  add    %cl,0xbf(%ebp)
0x082f58ff <sad16_sse2+31>:  add    %dh,%bl
0x082f5901 <sad16_sse2+33>:  movq   (%ecx),%mm0
0x082f5904 <sad16_sse2+36>:  movdqu (%ecx,%edx,1),%xmm1
0x082f5909 <sad16_sse2+41>:  psadbw (%ebx),%xmm0
0x082f590d <sad16_sse2+45>:  psadbw (%ebx,%edx,1),%xmm1
0x082f5912 <sad16_sse2+50>:  paddw  %xmm0,%xmm6
0x082f5916 <sad16_sse2+54>:  paddw  %xmm1,%xmm6
0x082f591a <sad16_sse2+58>:  lea    (%ecx,%edx,2),%ecx
0x082f591d <sad16_sse2+61>:  lea    (%ebx,%edx,2),%ebx
0x082f5920 <sad16_sse2+64>:  sub    $0x2,%eax
0x082f5923 <sad16_sse2+67>:  jg     0x82f5900 <sad16_sse2+32>
0x082f5925 <sad16_sse2+69>:  movhlps %xmm6,%xmm0
0x082f5928 <sad16_sse2+72>:  paddw  %xmm0,%xmm6
End of assembler dump.
(gdb) info all-registers
eax            0x10     16
ecx            0xb5f0d458 -1242508200
edx            0x0      0
ebx            0xb5f0d458 -1242508200
esp            0xbff80f14 0xbff80f14
ebp            0xbff80f18 0xbff80f18
esi            0x45     69
edi            0x0      0
eip            0x82f5909  0x82f5909 <sad16_sse2+41>
eflags         0x210282 [ SF IF RF ID ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            -nan(0x0ffd5ffee) (raw 0xffff00000000ffd5ffee)
st1            -nan(0xffccffe3ffccffe3)  (raw 0xffffffccffe3ffccffe3)
st2            <invalid float value> (raw 0xffff0000000000000000)
st3            <invalid float value> (raw 0xffff0000000000000000)
st4            -nan(0xffccffe300000000)  (raw 0xffffffccffe300000000)
st5            -2.5     (raw 0xc000a000000000000000)
st6            -0.1166833326220512445647869981257827 (raw 0xbffbeef7abccccccd000)
st7            <invalid float value> (raw 0xffff0000000000000000)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x73     115
fioff          0x81294e6  135435494
foseg          0x7b     123
fooff          0xbff81310 -1074261232
fop            0x1c9    457
xmm0           {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}
xmm1           {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}
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, 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}
xmm4           {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}
xmm5           {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}
xmm6           {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}
xmm7           {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          0x1f80   [ IM DM ZM OM UM PM ]
mm0            {uint64 = 0xffd5ffee, v2_int32 = {0xffd5ffee, 0x0}, v4_int16 = {0xffee, 0xffd5, 0x0, 0x0}, v8_int8 = {0xee, 0xff, 0xd5, 0xff, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0xffccffe3ffccffe3, v2_int32 = {0xffccffe3, 0xffccffe3}, v4_int16 = {0xffe3, 0xffcc, 0xffe3, 0xffcc}, v8_int8 = {0xe3, 0xff, 0xcc, 0xff, 0xe3, 0xff, 0xcc, 0xff}}
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 = 0xffccffe300000000, v2_int32 = {0x0, 0xffccffe3}, v4_int16 = {0x0, 0x0, 0xffe3, 0xffcc}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0xe3, 0xff, 0xcc, 0xff}}
mm5            {uint64 = 0xa000000000000000, v2_int32 = {0x0, 0xa0000000}, v4_int16 = {0x0, 0x0, 0x0, 0xa000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0}}
mm6            {uint64 = 0xeef7abccccccd000, v2_int32 = {0xccccd000, 0xeef7abcc}, v4_int16 = {0xd000, 0xcccc, 0xabcc, 0xeef7}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc, 0xab, 0xf7, 0xee}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb)



More information about the MPlayer-users mailing list