[MPlayer-users] MPlayer Crash after starting a second X Server

Draco draco_d at gmx.net
Sun Feb 23 23:38:55 CET 2003


> I can't reproduce it here either, with a GeForce4 Ti4200. Are you using
> those crummy 4191 drivers? I had several problems with those regarding
> multiple X servers, and went back to 3123 a long time ago.
No, I'm using the Version 3123.
I also found out, that Xine has the same problem, so it may be a problem of X 
or the nvidia driver, not one of mplayer.... 

Anyway, here's the backtrace, with a recompiled mplayer with debug=3:
------------------------
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -v 
/mnt/big/movies3/from_simon/TNG/star.trek.tng.s04e03.dvdrip.divx-sfm.avi
Starting program: /data/programs/MPlayer-debug/mplayer -v 
/mnt/big/movies3/from_simon/TNG/star.trek.tng.s04e03.dvdrip.divx-sfm.avi
[New Thread 8192 (LWP 3469)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc4-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf
Reading config file /home/tt/.mplayer/config
Reading /home/tt/.mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' 
'/mnt/big/movies3/from_simon/TNG/star.trek.tng.s04e03.dvdrip.divx-sfm.avi'
get_path('font/font.desc') -> '/home/tt/.mplayer/font/font.desc'
Font /home/tt/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/tt/.mplayer/input.conf'
Parsing input config file /home/tt/.mplayer/input.conf
Input config file /home/tt/.mplayer/input.conf parsed : 52 binds
Setting up LIRC support...
get_path('star.trek.tng.s04e03.dvdrip.divx-sfm.avi.conf') -> 
'/home/tt/.mplayer/star.trek.tng.s04e03.dvdrip.divx-sfm.avi.conf'

Playing 
/mnt/big/movies3/from_simon/TNG/star.trek.tng.s04e03.dvdrip.divx-sfm.avi
Not an URL!
File size is 367583232 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 11.69% (3923968 bytes)    AVI file format detected.
list_end=0x2286
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 65524   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  512 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 65524
Suggested BufferSize: 74657
Quality 10000
Sample size: 393216
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 512
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 589824
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x217A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 24000/1 = 24000.000
Start: 0   Len: 65588999
Suggested BufferSize: 2304
Quality -1
Sample size: 1
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 18
Unknown extra header dump: [0] [0] [61] [4] [0] [0] [0] [0] [0] [0] [0] [0] 
[0] [0] [0] [0] [0] [0]
list_end=0x2286
list_end=0x22AA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1358  (id=JUNK)
list_end=0x15D1EB1E
Found movie at 0x280C - 0x15D1EB1E
Reading INDEX block, 93992 chunks for 65524 frames (fpos=0x15d1eb26)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x90C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=299694694 (65524) audio size=65588999 (65588999)
VIDEO:  [DIV3]  512x384  24bpp  23.98 fps  877.3 kbps (107.1 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:512x384  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/tt/.mplayer/sub/'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 
16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps 
= 2
Starting playback...
XXX initial  v_pts=0.000  a_pos=2304 (0.096)
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (512x384->512x384,flags=1,'MPlayer',0x32315659)
VO: [xv] 512x384 => 512x384 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x3 (   ) packed
[x11] NET style stay on top ( layer 1 ). Using state 
_NET_WM_STATE_STAYS_ON_TOP.
using Xvideo port 85 for hw scaling
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 960
[xv] dx: 0 dy: 0 dw: 1280 dh: 960
*** [vo] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
[xv] dx: 0 dy: 0 dw: 1280 dh: 960
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 960
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 83f5158, resourceid: 3e00001, serial: 64
Error code: b, request code: 8e, minor code: 13

Program received signal SIGABRT, Aborted.
[Switching to Thread 8192 (LWP 3469)]
0x42028cc1 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0  0x42028cc1 in kill () from /lib/i686/libc.so.6
#1  0x4032307d in raise () from /lib/i686/libpthread.so.0
#2  0x4202a019 in abort () from /lib/i686/libc.so.6
#3  0x0808af45 in x11_errorhandler () at x11_common.c:147
#4  0x401f8831 in _XError () from /usr/X11R6/lib/libX11.so.6
#5  0x401f6dcf in _XReply () from /usr/X11R6/lib/libX11.so.6
#6  0x401f2075 in XSync () from /usr/X11R6/lib/libX11.so.6
#7  0x080905a3 in flip_page () at vo_xv.c:601
#8  0x0806daae in main (argc=3, argv=0xbffff954) at mplayer.c:2054
#9  0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x42028ca1 to 0x42028ce1:
0x42028ca1 <sigprocmask+81>:    clc
0x42028ca2 <sigprocmask+82>:    mov    0xfffffffc(%ebp),%edi
0x42028ca5 <sigprocmask+85>:    mov    %ebp,%esp
0x42028ca7 <sigprocmask+87>:    pop    %ebp
0x42028ca8 <sigprocmask+88>:    ret
0x42028ca9 <sigprocmask+89>:    nop
0x42028caa <sigprocmask+90>:    nop
0x42028cab <sigprocmask+91>:    nop
0x42028cac <sigprocmask+92>:    nop
0x42028cad <sigprocmask+93>:    nop
0x42028cae <sigprocmask+94>:    nop
0x42028caf <sigprocmask+95>:    nop
0x42028cb0 <kill>:      mov    %ebx,%edx
0x42028cb2 <kill+2>:    mov    0x8(%esp,1),%ecx
0x42028cb6 <kill+6>:    mov    0x4(%esp,1),%ebx
0x42028cba <kill+10>:   mov    $0x25,%eax
0x42028cbf <kill+15>:   int    $0x80
0x42028cc1 <kill+17>:   mov    %edx,%ebx
0x42028cc3 <kill+19>:   cmp    $0xfffff001,%eax
0x42028cc8 <kill+24>:   jae    0x42028ccb <kill+27>
0x42028cca <kill+26>:   ret
0x42028ccb <kill+27>:   push   %ebx
0x42028ccc <kill+28>:   call   0x4201575d <__i686.get_pc_thunk.bx>
0x42028cd1 <kill+33>:   add    $0x1015ff,%ebx
0x42028cd7 <kill+39>:   xor    %edx,%edx
0x42028cd9 <kill+41>:   sub    %eax,%edx
0x42028cdb <kill+43>:   push   %edx
0x42028cdc <kill+44>:   call   0x42015644 <__nvsym13616+26035968>
End of assembler dump.
(gdb) info all-registers
eax            0x0      0
ecx            0x6      6
edx            0x40329b44       1077058372
ebx            0xd8d    3469
esp            0xbfffe2ec       0xbfffe2ec
ebp            0xbfffe308       0xbfffe308
esi            0xd8d    3469
edi            0x40329e20       1077059104
eip            0x42028cc1       0x42028cc1
eflags         0x246    582
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x7      7
st0            -nan(0x7e7e7e7e7e7e7e7e) (raw 0xffff7e7e7e7e7e7e7e7e)
st1            -nan(0x7e7e7e7e7e7e7e7e) (raw 0xffff7e7e7e7e7e7e7e7e)
st2            -nan(0x7e7e7e7e7e7e7e7e) (raw 0xffff7e7e7e7e7e7e7e7e)
st3            -nan(0x7f7f7f7f7f7f7f7f) (raw 0xffff7f7f7f7f7f7f7f7f)
st4            960      (raw 0x4008f000000000000000)
st5            1.0000000298023223876953125      (raw 0x3fff8000004000000000)
st6            1280     (raw 0x4009a000000000000000)
st7            1.3333333333333333333694734057495168     (raw 
0x3fffaaaaaaaaaaaaaaab)
fctrl          0x37f    895
fstat          0x320    800
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
---Type <return> to continue, or q <return> to quit---
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
    -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80   8064
orig_eax       0x25     37
(gdb)
-------------

Draco



More information about the MPlayer-users mailing list