[MPlayer-users] matrox xv BadAlloc()

Patryk patrykx at poczta.onet.pl
Fri Aug 27 21:23:35 CEST 2004


Description of the problem:
Whe i use -vo xv or x11 to play avi (divix) movies mplayer crashes just after
opening the file. I have also mga_vid module and when I use -vo xmga or mga
everything works just fine. I've been using mplayer for few years and i
suspect the problem appeared when I moved from XFree4.3 to XFree 4.4 and
Xorg. I also tried to compile mplayer without optimization for may CPU, with
no effect :(


Hardware
Graphic Card: Matrox g450
MB: Asus A7V600 chipset kt600
Processor AMD AthlonXP 2500 (Barton)
Software
Slacware 10.0  same problem on 9.1(Current)
Kernel 2.6.7 with matrox  framebuffer compiled in the kernel
	2.6.7-ck5 #9 Tue Jul 27 23:34:37 CEST 2004 i686 unknown unknown GNU/Linux

-rwxr-xr-x  1 root root 1250840 2004-05-25 06:44 /lib/libc-2.3.2.so
lrwxrwxrwx  1 root root      13 2004-07-02 17:24 /lib/libc.so.6 ->
libc-2.3.2.so

Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.0

GNU ld version 2.15.90.0.3 20040415

NU assembler 2.15.90.0.3 20040415
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-slackware-linux'.

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(TM) XP 2500+
stepping        : 0
cpu MHz         : 1834.274
cache size      : 512 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 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3629.05

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
 82) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. Millennium G450 32Mb SDRAM Dual Head
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (4000ns min, 8000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at ee000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at ed000000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at ec800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at edfe0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans-
64bit-

Xorg X 11 6.7 the same problem was with Xfree4.4

Mplayer Current compiled from source

--
Patryk


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.log
Type: text/x-log
Size: 8783 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040827/4094273b/attachment.bin>
-------------- next part --------------
(gdb) bt
#0  0x408011b1 in kill () from /lib/libc.so.6
#1  0x401899c1 in pthread_kill () from /lib/libpthread.so.0
#2  0x40189ccb in raise () from /lib/libpthread.so.0
#3  0x40800df4 in raise () from /lib/libc.so.6
#4  0x408025a8 in abort () from /lib/libc.so.6
#5  0x08095f25 in vo_showcursor ()
#6  0x404da984 in _XError () from /usr/X11R6/lib/libX11.so.6
#7  0x404d8ee3 in _XReply () from /usr/X11R6/lib/libX11.so.6
#8  0x404d4174 in XSync () from /usr/X11R6/lib/libX11.so.6
#9  0x0809cf8f in vo_xv_get_eq ()
#10 0x08073dd5 in main ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40801191 to 0x408011d1:
0x40801191 <sigprocmask+177>:   neg    %eax
0x40801193 <sigprocmask+179>:   mov    %eax,(%edx)
0x40801195 <sigprocmask+181>:   mov    $0xffffffff,%eax
0x4080119a <sigprocmask+186>:   jmp    0x40801133 <sigprocmask+83>
0x4080119c <sigprocmask+188>:   nop
0x4080119d <sigprocmask+189>:   nop
0x4080119e <sigprocmask+190>:   nop
0x4080119f <sigprocmask+191>:   nop
0x408011a0 <kill+0>:    mov    %ebx,%edx
0x408011a2 <kill+2>:    mov    0x8(%esp),%ecx
0x408011a6 <kill+6>:    mov    0x4(%esp),%ebx
0x408011aa <kill+10>:   mov    $0x25,%eax
0x408011af <kill+15>:   int    $0x80
0x408011b1 <kill+17>:   mov    %edx,%ebx
0x408011b3 <kill+19>:   cmp    $0xfffff001,%eax
0x408011b8 <kill+24>:   jae    0x408011bb <kill+27>
0x408011ba <kill+26>:   ret
0x408011bb <kill+27>:   push   %ebx
0x408011bc <kill+28>:   call   0x407ed78d <_af_nist_default_filesetup+96013>
0x408011c1 <kill+33>:   add    $0x10244b,%ebx
0x408011c7 <kill+39>:   xor    %edx,%edx
0x408011c9 <kill+41>:   sub    %eax,%edx
---Type <return> to continue, or q <return> to quit---
0x408011cb <kill+43>:   push   %edx
0x408011cc <kill+44>:   call   0x407ed6b8 <_af_nist_default_filesetup+95800>
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x6      6
edx            0x4018fbc0       1075379136
ebx            0x113e   4414
esp            0xbfffe05c       0xbfffe05c
ebp            0xbfffe078       0xbfffe078
esi            0x113e   4414
edi            0x40191e80       1075388032
eip            0x408011b1       0x408011b1
eflags         0x200246 2097734
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x0      0
st0            44.422656064975335032940506607701536     (raw 0x4004b1b0ccc06219b                          7c0)
st1            0.5      (raw 0x3ffe8000000000000000)
st2            256      (raw 0x40078000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            959.99997138977136046378291212022305     (raw 0x4008efffff8800003                          c00)
---Type <return> to continue, or q <return> to quit---
st5            1.0666666984558105468966840434497101     (raw 0x3fff888888cccccccccd)
st6            290      (raw 0x40079100000000000000)
st7            2.2068965517241379309821419640869067     (raw 0x40008d3dcb08d3dcb08d)
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 = {0x122, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0, 0x0, 0x91, 0x43, 0x0 <repeats 12 times>}, v8_int16 = {0x0,
    0x4391, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x43910000, 0x0, 0x0,
    0x0}, v2_int64 = {0x43910000, 0x0},
  uint128 = 0x00000000000000000000000043910000}
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},
---Type <return> to continue, or q <return> to quit---
  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}
---Type <return> to continue, or q <return> to quit---
mxcsr          0x1fa0   8096
mm0            {uint64 = 0xb1b0ccc06219b7c0, v2_int32 = {0x6219b7c0,
    0xb1b0ccc0}, v4_int16 = {0xb7c0, 0x6219, 0xccc0, 0xb1b0}, v8_int8 = {0xc0,
    0xb7, 0x19, 0x62, 0xc0, 0xcc, 0xb0, 0xb1}}
mm1            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x80}}
mm2            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x80}}
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 = 0xefffff8800003c00, v2_int32 = {0x3c00, 0xefffff88},
  v4_int16 = {0x3c00, 0x0, 0xff88, 0xefff}, v8_int8 = {0x0, 0x3c, 0x0, 0x0,
    0x88, 0xff, 0xff, 0xef}}
mm5            {uint64 = 0x888888cccccccccd, v2_int32 = {0xcccccccd,
    0x888888cc}, v4_int16 = {0xcccd, 0xcccc, 0x88cc, 0x8888}, v8_int8 = {0xcd,
    0xcc, 0xcc, 0xcc, 0xcc, 0x88, 0x88, 0x88}}
mm6            {uint64 = 0x9100000000000000, v2_int32 = {0x0, 0x91000000},
  v4_int16 = {0x0, 0x0, 0x0, 0x9100}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x91}}
mm7            {uint64 = 0x8d3dcb08d3dcb08d, v2_int32 = {0xd3dcb08d,
    0x8d3dcb08}, v4_int16 = {0xb08d, 0xd3dc, 0xcb08, 0x8d3d}, v8_int8 = {0x8d,
---Type <return> to continue, or q <return> to quit---
    0xb0, 0xdc, 0xd3, 0x8, 0xcb, 0x3d, 0x8d}}
 


More information about the MPlayer-users mailing list