[MPlayer-users] MPlayer, sig10, FreeBSD, -vo sdl, DivX

Jan Spitalnik spitalnik at penguin.cz
Mon Dec 17 12:43:37 CET 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
MPlayer crashes on FreeBSD when playing DivX movie.
It only crashes when -vo sdl. Other work OK.
See the crash in [ACTUAL RUN]

[System Info]
- ------------------

FreeBSD noodles.net 4.4-RELEASE FreeBSD 4.4-RELEASE #16: Sun Dec 16 16:57:01 CET
2001     root at noodles.net:/usr/obj/usr/src/sys/NOODLES  i386

libc.so.4

[X -version]
- ----------------
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: FreeBSD 4.4 i386 [ELF]
Module Loader present

[gcc -v]
- -----------
gcc version 2.95.3 20010315 (release) [FreeBSD]

[ld -v]
- --------
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])

[as --version]
- -------------------
GNU assembler 2.11.2 20010719 [FreeBSD]
Copyright 2001 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 `i386-unknown-freebsd4'.

[CPU INFO]
- ----------------
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
stepping        : 3
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm
cpu MHz         : 499.95
bogomips        : 499.95

[VIDEO CARD]
- ---------------------
MSI8815, Geforce2 GTS (32MB DDR RAM)

[VIDEO CARD TYPE & DRIVER]
- -------------------------------------------
X built-in driver
MESA GLX

[SOUNDCARD]
- ----------------------
Creative SB128 PCI (es1371)

[ACTUAL RUN]
- ----------------------
(gdb) run -v -vo sdl XXXXXXXXXXXXXXXXXXXXXXXXX.avi
Starting program: /usr/local/src/mplayer/main/./mplayer -v -vo sdl XXXXXXXXXXXXXXXXXXXXXXXXXXX.avi


MPlayer CVS-011216-23:40-2.95.3 (C) 2000-2001 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Type: 6, Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /usr/home/spity/.mplayer/codecs.conf: 21 audio & 57 video codecs
CommandLine: '-v' '-vo' 'sdl' 'XXXXXXXXXXXXXXXXXXXXXXXXX.avi' num_filenames: 1
Font /usr/home/spity/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing XXXXXXXXXXXXXXXXXXXXXXXXXXXX.avi
SUB: Detected sub file: XXXXXXXXXXXXXXXXXXXXXXXXX.sub
SUB: Detected subtitle file format: 0
SUB: Read 1159 subtitles.
File size is 706447360 bytes
Detected AVI file format!
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 135507   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 336
==> 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: 135507
Suggested BufferSize: 83341
Quality 5000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 645120
===========================
Regenerating keyframe table for DIVX 3 video
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 15963/1 = 15963.000
Start: 0   Len: 90211695
Suggested BufferSize: 7376
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15963
Block align: 1
bits/sample: 0
cbSize: 12
Found movie at 0x280C - 0x29F4E852
Reading INDEX block, 158111 chunks for 135507 frames
AVI index offset: 10248
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=612429279
VIDEO:  [DIV3]  640x336  24bpp  23.98 fps  866.9 kbps (105.8 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x336  fps:23.98  ftime:=0.0417
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 673
mp3lib: Using Pentium-MMX optimized decore.
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
Trying to force video codec driver family 5 ...
Detected video codec: [ffdivx] drv:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
FFmpeg's libavcodec video codec
INFO: libavcodec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x336 => 640x336 Planar YV12 fs vm
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(640x336->640x336,flags=3,'MPlayer',0x32315659)
SDL: Using 0x32315659 (YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1152x864
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting zoomed fullscreen without modeswitching
SDL: Info - please use -vm or -zoom to switch to best resolution.

Program received signal SIGBUS, Bus error.
0x28316c2a in X11_EnterFullScreen () from /usr/local/lib/libSDL-1.1.so.3
(gdb) bt
#0  0x28316c2a in X11_EnterFullScreen () from /usr/local/lib/libSDL-1.1.so.3
Error accessing memory address 0x0: Bad address.
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x28316c0a to 0x28316c4a:
0x28316c0a <X11_EnterFullScreen+98>:    mov    %eax,0xfffffff4(%ebp)
0x28316c0d <X11_EnterFullScreen+101>:   add    $0xfffffffc,%esp
0x28316c10 <X11_EnterFullScreen+104>:   lea    0xfffffffc(%ebp),%eax
0x28316c13 <X11_EnterFullScreen+107>:   push   %eax
0x28316c14 <X11_EnterFullScreen+108>:   lea    0xfffffff8(%ebp),%eax
0x28316c17 <X11_EnterFullScreen+111>:   push   %eax
0x28316c18 <X11_EnterFullScreen+112>:   push   %esi
0x28316c19 <X11_EnterFullScreen+113>:   call   0x28315fd0 <get_real_resolution>
0x28316c1e <X11_EnterFullScreen+118>:   mov    0x290(%esi),%eax
0x28316c24 <X11_EnterFullScreen+124>:   add    $0x20,%esp
0x28316c27 <X11_EnterFullScreen+127>:   mov    0x4c(%eax),%eax
0x28316c2a <X11_EnterFullScreen+130>:   cmp    0xfffffff8(%ebp),%eax
0x28316c2d <X11_EnterFullScreen+133>:
    jle    0x28316c3c <X11_EnterFullScreen+148>
0x28316c2f <X11_EnterFullScreen+135>:   mov    %edi,%eax
0x28316c31 <X11_EnterFullScreen+137>:   cmp    0xfffffff8(%ebp),%eax
0x28316c34 <X11_EnterFullScreen+140>:
    jge    0x28316c39 <X11_EnterFullScreen+145>
0x28316c36 <X11_EnterFullScreen+142>:   mov    0xfffffff8(%ebp),%eax
0x28316c39 <X11_EnterFullScreen+145>:   mov    %eax,0xfffffff8(%ebp)
0x28316c3c <X11_EnterFullScreen+148>:   mov    0x290(%esi),%eax
0x28316c42 <X11_EnterFullScreen+154>:   mov    0x50(%eax),%eax
0x28316c45 <X11_EnterFullScreen+157>:   cmp    0xfffffffc(%ebp),%eax
0x28316c48 <X11_EnterFullScreen+160>:
    jle    0x28316c58 <X11_EnterFullScreen+176>
End of assembler dump.
(gdb)


This happens when run w/o fs=yes in confing
.
.
.
FFmpeg's libavcodec video codec
INFO: libavcodec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x336 => 640x336 Planar YV12 vm
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(640x336->640x336,flags=2,'MPlayer',0x32315659)
SDL: Using 0x32315659 (YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1152x864
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting zoomed fullscreen with modeswitching
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Value in failed request:  0x0
  Serial number of failed request:  60
  Current serial number in output stream:  67



Cheers,
		spity




- --
Jan "spity" Spitalnik <spitalnik at penguin.cz>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwd2msACgkQHMW/u4DYERrLXgCghReE1PYGSlMCVjLG/utvHZtp
NekAnjpdfjP+Up7e2ON6T72G7XLVA3zk
=vrJ4
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list