[MPlayer-users] Crash Bugreport

Lehmeier Michael m_lehmeier at gmx.de
Thu Oct 2 22:27:57 CEST 2003


I have a reproducable crash.
The video stream has a slight defect at that point, but mpeg2dec for
example doesn't complain.
And even a damaged video stream shouldn't create a segfault.
I use the standard xv-display.

MPlayer dev-CVS-031002-21:51-3.3.2 (C) 2000-2003 MPlayer Team

I use Debian unstable
Linux radom 2.4.21 #5 Mon Sep 8 20:58:17 CEST 2003 i686 GNU/Linux
/lib/libc-2.3.2.so
XFree86 Version 4.3.0 (Debian 4.3.0-0pre1v2 20030824110626 dard at gmx.de)
gcc version 3.3.2 20030908 (Debian prerelease)
GNU ld version 2.14.90.0.6 20030820 Debian GNU/Linux
GNU assembler 2.14.90.0.6 20030820 Debian GNU/Linux

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 1800+
stepping        : 1
cpu MHz         : 1493.670
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 2981.88

ATI Xpert2000

(gdb) bt
#0  0x080f9f8b in mpeg2_set_buf (mpeg2dec=0x82d28d0, buf=0x82d9200, 
    id=0x82d91e0) at decode.c:383
#1  0x080b9334 in decode (sh=0x82bd9e8, data=0x7, len=137204192,
flags=0)
    at vd_libmpeg2.c:145
#2  0x080b4133 in decode_video (sh_video=0x82bd9e8, 
    start=0x82d91e0 "\003Ã\004\fYV12À\002", in_size=137204192,
drop_frame=0)
    at dec_video.c:304
#3  0x0806b762 in main (argc=3, argv=0xbffffbc4) at mplayer.c:2085
(gdb) bt
#0  0x080f9f8b in mpeg2_set_buf (mpeg2dec=0x82d28d0, buf=0x82d9200, 
    id=0x82d91e0) at decode.c:383
#1  0x080b9334 in decode (sh=0x82bd9e8, data=0x7, len=137204192,
flags=0)
    at vd_libmpeg2.c:145
#2  0x080b4133 in decode_video (sh_video=0x82bd9e8, 
    start=0x82d91e0 "\003Ã\004\fYV12À\002", in_size=137204192,
drop_frame=0)
    at dec_video.c:304
#3  0x0806b762 in main (argc=3, argv=0xbffffbc4) at mplayer.c:2085

(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80f9f6b to 0x80f9fab:
0x080f9f6b <mpeg2_set_buf+59>:  mov    (%esi),%eax
0x080f9f6d <mpeg2_set_buf+61>:  test   %ecx,%ecx
0x080f9f6f <mpeg2_set_buf+63>:  mov    %eax,(%edx)
0x080f9f71 <mpeg2_set_buf+65>:  mov    0x4(%esi),%eax
0x080f9f74 <mpeg2_set_buf+68>:  mov    %eax,0x4(%edx)
0x080f9f77 <mpeg2_set_buf+71>:  mov    0x8(%esi),%eax
0x080f9f7a <mpeg2_set_buf+74>:  mov    %eax,0x8(%edx)
0x080f9f7d <mpeg2_set_buf+77>:  mov    0x10(%ebp),%eax
0x080f9f80 <mpeg2_set_buf+80>:  mov    %eax,0xc(%edx)
0x080f9f83 <mpeg2_set_buf+83>:  je     0x80f9fa8 <mpeg2_set_buf+120>
0x080f9f85 <mpeg2_set_buf+85>:  mov    0x398(%ebx),%edx
0x080f9f8b <mpeg2_set_buf+91>:  mov    (%edx),%eax
0x080f9f8d <mpeg2_set_buf+93>:  test   %eax,%eax
0x080f9f8f <mpeg2_set_buf+95>:  jne    0x80f9fa8 <mpeg2_set_buf+120>
0x080f9f91 <mpeg2_set_buf+97>:  mov    (%esi),%eax
0x080f9f93 <mpeg2_set_buf+99>:  movl   $0x0,0xc(%edx)
0x080f9f9a <mpeg2_set_buf+106>: mov    %eax,(%edx)
0x080f9f9c <mpeg2_set_buf+108>: mov    0x4(%esi),%eax
0x080f9f9f <mpeg2_set_buf+111>: mov    %eax,0x4(%edx)
0x080f9fa2 <mpeg2_set_buf+114>: mov    0x8(%esi),%eax
0x080f9fa5 <mpeg2_set_buf+117>: mov    %eax,0x8(%edx)
0x080f9fa8 <mpeg2_set_buf+120>: mov    0xfffffff8(%ebp),%ebx
End of assembler dump.

(gdb) info all-registers
eax            0x82d91e0        137204192
ecx            0x1      1
edx            0x0      0
ebx            0x82d28d0        137177296
esp            0xbfffe770       0xbfffe770
ebp            0xbfffe788       0xbfffe788
esi            0x82d9200        137204224
edi            0x82d28d0        137177296
eip            0x80f9f8b        0x80f9f8b
eflags         0x210202 2163202
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
st0            -nan(0xffc8fcb2ffc8fcb2) (raw 0xffffffc8fcb2ffc8fcb2)
st1            -nan(0x38034e0038034e)   (raw 0xffff0038034e0038034e)
st2            -nan(0xfffa22120006c20b) (raw 0xfffffffa22120006c20b)
st3            -nan(0xbd166005566ea)    (raw 0xffff000bd166005566ea)
st4            -nan(0xff1df6cfff1df6cf) (raw 0xffffff1df6cfff1df6cf)
st5            0.1000000000000000055511151231257827     (raw
0x3ffbccccccccccccd000)
st6            -0.1000000000000000055511151231257827    (raw
0xbffbccccccccccccd000)
st7            0.038176418066024780283629000421363742   (raw
0x3ffa9c5ee03126e978d8)
fctrl          0x37f    895
fstat          0x120    288
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 = {
    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}
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, 
xmm2           {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}
xmm3           {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}
xmm4           {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}
xmm5           {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}
xmm6           {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}
xmm7           {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}
mxcsr          0x1f80   8064
mm0            {uint64 = 0xffc8fcb2ffc8fcb2, v2_int32 = {0xffc8fcb2, 
    0xffc8fcb2}, v4_int16 = {0xfcb2, 0xffc8, 0xfcb2, 0xffc8}, v8_int8 =
{0xb2, 
    0xfc, 0xc8, 0xff, 0xb2, 0xfc, 0xc8, 0xff}}
mm1            {uint64 = 0x38034e0038034e, v2_int32 = {0x38034e,
0x38034e}, 
  v4_int16 = {0x34e, 0x38, 0x34e, 0x38}, v8_int8 = {0x4e, 0x3, 0x38,
0x0, 
    0x4e, 0x3, 0x38, 0x0}}
mm2            {uint64 = 0xfffa22120006c20b, v2_int32 = {0x6c20b,
0xfffa2212}, 
  v4_int16 = {0xc20b, 0x6, 0x2212, 0xfffa}, v8_int8 = {0xb, 0xc2, 0x6,
0x0, 
    0x12, 0x22, 0xfa, 0xff}}
mm3            {uint64 = 0xbd166005566ea, v2_int32 = {0x5566ea,
0xbd166}, 
  v4_int16 = {0x66ea, 0x55, 0xd166, 0xb}, v8_int8 = {0xea, 0x66, 0x55,
0x0, 
    0x66, 0xd1, 0xb, 0x0}}
mm4            {uint64 = 0xff1df6cfff1df6cf, v2_int32 = {0xff1df6cf, 
    0xff1df6cf}, v4_int16 = {0xf6cf, 0xff1d, 0xf6cf, 0xff1d}, v8_int8 =
{0xcf, 
    0xf6, 0x1d, 0xff, 0xcf, 0xf6, 0x1d, 0xff}}
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 = 0x9c5ee03126e978d8, v2_int32 = {0x26e978d8, 
    0x9c5ee031}, v4_int16 = {0x78d8, 0x26e9, 0xe031, 0x9c5e}, v8_int8 =
{0xd8, 
    0x78, 0xe9, 0x26, 0x31, 0xe0, 0x5e, 0x9c}}

-- 
Lehmeier Michael <m_lehmeier at gmx.de>



More information about the MPlayer-users mailing list