[MPlayer-users] MPlayer crashes.

Peter Welzien peter.welzien at telia.com
Sun Jul 18 12:38:39 CEST 2004


Hi. When I try to play a certain MPEG-file MPlayer crashes:

MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
 won't help unless you provide this information when reporting a possible bug.

I get the following information when I run gdb:

Program received signal SIGSEGV, Segmentation fault.
0x0813f94b in mpeg2_set_buf (mpeg2dec=0x85ceac0, buf=0x85b7db0, id=0x85b7d90)
    at decode.c:383
383         if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){
(gdb) bt
#0  0x0813f94b in mpeg2_set_buf (mpeg2dec=0x85ceac0, buf=0x85b7db0, 
    id=0x85b7d90) at decode.c:383
#1  0x080f2910 in decode (sh=0x85b0ab8, data=0x1, len=140213648, flags=0)
    at vd_libmpeg2.c:147
#2  0x080f0663 in decode_video (sh_video=0x85b0ab8, 
    start=0x85b7d90 "\003Ã\004\fYV12@\001", in_size=140213648, drop_frame=0)
    at dec_video.c:309
#3  0x0807dfbb in main (argc=3, argv=0xbffff9c4) at mplayer.c:2104
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x813f92b to 0x813f96b:
0x0813f92b <mpeg2_set_buf+59>:  mov    (%esi),%eax
0x0813f92d <mpeg2_set_buf+61>:  test   %ecx,%ecx
0x0813f92f <mpeg2_set_buf+63>:  mov    %eax,(%edx)
0x0813f931 <mpeg2_set_buf+65>:  mov    0x4(%esi),%eax
0x0813f934 <mpeg2_set_buf+68>:  mov    %eax,0x4(%edx)
0x0813f937 <mpeg2_set_buf+71>:  mov    0x8(%esi),%eax
0x0813f93a <mpeg2_set_buf+74>:  mov    %eax,0x8(%edx)
0x0813f93d <mpeg2_set_buf+77>:  mov    0x10(%ebp),%eax
0x0813f940 <mpeg2_set_buf+80>:  mov    %eax,0xc(%edx)
0x0813f943 <mpeg2_set_buf+83>:  je     0x813f970 <mpeg2_set_buf+128>
0x0813f945 <mpeg2_set_buf+85>:  mov    0x398(%ebx),%edx
0x0813f94b <mpeg2_set_buf+91>:  mov    (%edx),%ecx
0x0813f94d <mpeg2_set_buf+93>:  test   %ecx,%ecx
0x0813f94f <mpeg2_set_buf+95>:  jne    0x813f970 <mpeg2_set_buf+128>
0x0813f951 <mpeg2_set_buf+97>:  movl   $0x0,0xc(%edx)
0x0813f958 <mpeg2_set_buf+104>: mov    (%esi),%eax
0x0813f95a <mpeg2_set_buf+106>: mov    %eax,(%edx)
0x0813f95c <mpeg2_set_buf+108>: mov    0x4(%esi),%eax
0x0813f95f <mpeg2_set_buf+111>: mov    %eax,0x4(%edx)
0x0813f962 <mpeg2_set_buf+114>: mov    0x8(%esi),%eax
0x0813f965 <mpeg2_set_buf+117>: mov    %eax,0x8(%edx)
0x0813f968 <mpeg2_set_buf+120>: nop    
0x0813f969 <mpeg2_set_buf+121>: lea    0x0(%esi),%esi
End of assembler dump.
(gdb) info all-registers
eax            0x85b7d90        140213648
ecx            0x1      1
edx            0x0      0
ebx            0x85ceac0        140307136
esp            0xbfffd530       0xbfffd530
ebp            0xbfffd548       0xbfffd548
esi            0x85b7db0        140213680
edi            0x85ceac0        140307136
eip            0x813f94b        0x813f94b
eflags         0x210202 2163202
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x7      7
st0            -nan(0x63f0e7a063f0e7a)  (raw 0xffff063f0e7a063f0e7a)
st1            -nan(0xf9c1f186f9c1f186) (raw 0xfffff9c1f186f9c1f186)
st2            -nan(0xff3d6220fed3f0ea) (raw 0xffffff3d6220fed3f0ea)
st3            -nan(0xffff2a070013bd2f) (raw 0xffffffff2a070013bd2f)
st4            -nan(0x344093203440932)  (raw 0xffff0344093203440932)
st5            0.1000000000000000055511151231257827     (raw 
0x3ffbccccccccccccd000)
st6            -0.1000000000000000055511151231257827    (raw 
0xbffbccccccccccccd000)
st7            0.034490320364634195976841213315822188   (raw 
0x3ffa8d45b8dfea279840)
fctrl          0x37f    895
fstat          0x120    288
ftag           0xffff   65535
fiseg          0x73     115
fioff          0x807e049        134733897
foseg          0x7b     123
fooff          0x83a1a88        138025608
fop            0x2d1    721
xmm0           {v4_float = {0x0, 0x16a7a, 0x0, 0x0}, v2_double = {
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xa4, 0x2c, 0x3d, 
    0x3c, 0x3b, 0x3d, 0xb5, 0x47, 0x52, 0x31, 0x6e, 0x15, 0x81, 0x14, 0x99, 
    0x79}, v8_int16 = {0x2ca4, 0x3c3d, 0x3d3b, 0x47b5, 0x3152, 0x156e, 0x1481, 
    0x7999}, v4_int32 = {0x3c3d2ca4, 0x47b53d3b, 0x156e3152, 0x79991481}, 
  v2_int64 = {0x47b53d3b3c3d2ca4, 0x79991481156e3152}, 
  uint128 = 0x79991481156e315247b53d3b3c3d2ca4}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x48000000}, v2_double = {0x0, 
    0x8000000000000000}, v16_int8 = {0xc0, 0x71, 0xb7, 0x21, 0xb0, 0x3a, 0xda, 
    0x26, 0xd0, 0xd2, 0x23, 0x15, 0x5c, 0x49, 0xa6, 0xd7}, v8_int16 = {0x71c0, 
    0x21b7, 0x3ab0, 0x26da, 0xd2d0, 0x1523, 0x495c, 0xd7a6}, v4_int32 = {
    0x21b771c0, 0x26da3ab0, 0x1523d2d0, 0xd7a6495c}, v2_int64 = {
    0x26da3ab021b771c0, 0xd7a6495c1523d2d0}, 
  uint128 = 0xd7a6495c1523d2d026da3ab021b771c0}
xmm2           {v4_float = {0x0, 0x0, 0x3c490380, 0x0}, v2_double = {0x0, 
    0x8000000000000000}, v16_int8 = {0xc5, 0xb4, 0xda, 0x39, 0xac, 0xec, 0xed, 
    0x9c, 0xe, 0x24, 0x71, 0x4e, 0xb9, 0x57, 0x6d, 0x7c}, v8_int16 = {0xb4c5, 
    0x39da, 0xecac, 0x9ced, 0x240e, 0x4e71, 0x57b9, 0x7c6d}, v4_int32 = {
    0x39dab4c5, 0x9cedecac, 0x4e71240e, 0x7c6d57b9}, v2_int64 = {
    0x9cedecac39dab4c5, 0x7c6d57b94e71240e}, 
  uint128 = 0x7c6d57b94e71240e9cedecac39dab4c5}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0xd9, 0x4b, 0xe1, 0x89, 0x4, 0x5d, 0xd6, 0x27, 0x1d, 0x1a, 0x4d, 
    0x5b, 0x76, 0xb5, 0x69, 0xad}, v8_int16 = {0x4bd9, 0x89e1, 0x5d04, 0x27d6, 
    0x1a1d, 0x5b4d, 0xb576, 0xad69}, v4_int32 = {0x89e14bd9, 0x27d65d04, 
    0x5b4d1a1d, 0xad69b576}, v2_int64 = {0x27d65d0489e14bd9, 
    0xad69b5765b4d1a1d}, uint128 = 0xad69b5765b4d1a1d27d65d0489e14bd9}
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   8064
mm0            {uint64 = 0x63f0e7a063f0e7a, v2_int32 = {0x63f0e7a, 0x63f0e7a}, 
  v4_int16 = {0xe7a, 0x63f, 0xe7a, 0x63f}, v8_int8 = {0x7a, 0xe, 0x3f, 0x6, 
    0x7a, 0xe, 0x3f, 0x6}}
mm1            {uint64 = 0xf9c1f186f9c1f186, v2_int32 = {0xf9c1f186, 
    0xf9c1f186}, v4_int16 = {0xf186, 0xf9c1, 0xf186, 0xf9c1}, v8_int8 = {0x86, 
    0xf1, 0xc1, 0xf9, 0x86, 0xf1, 0xc1, 0xf9}}
mm2            {uint64 = 0xff3d6220fed3f0ea, v2_int32 = {0xfed3f0ea, 
    0xff3d6220}, v4_int16 = {0xf0ea, 0xfed3, 0x6220, 0xff3d}, v8_int8 = {0xea, 
    0xf0, 0xd3, 0xfe, 0x20, 0x62, 0x3d, 0xff}}
mm3            {uint64 = 0xffff2a070013bd2f, v2_int32 = {0x13bd2f, 
    0xffff2a07}, v4_int16 = {0xbd2f, 0x13, 0x2a07, 0xffff}, v8_int8 = {0x2f, 
    0xbd, 0x13, 0x0, 0x7, 0x2a, 0xff, 0xff}}
mm4            {uint64 = 0x344093203440932, v2_int32 = {0x3440932, 0x3440932}, 
  v4_int16 = {0x932, 0x344, 0x932, 0x344}, v8_int8 = {0x32, 0x9, 0x44, 0x3, 
    0x32, 0x9, 0x44, 0x3}}
mm5            {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 
    0xcccccccc}, v4_int16 = {0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 
    0xd0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}}
mm6            {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 
    0xcccccccc}, v4_int16 = {0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 
    0xd0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc}}
mm7            {uint64 = 0x8d45b8dfea279840, v2_int32 = {0xea279840, 
    0x8d45b8df}, v4_int16 = {0x9840, 0xea27, 0xb8df, 0x8d45}, v8_int8 = {0x40, 
    0x98, 0x27, 0xea, 0xdf, 0xb8, 0x45, 0x8d}}

My system:

Slackware 10.0
Kernel 2.6.7
libc 2.3.2
gcc 2.3.4
ld 2.15.90.0.3
binutils 2.15.90.0.3

CPU info:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 1.80GHz
stepping        : 4
cpu MHz         : 1795.019
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3555.32

nVidia GeForce FX 5600
nVidia driver 1.0-5336

-- 
/Peter Welzien




More information about the MPlayer-users mailing list