[MPlayer-users] -vo svga segmentation fault

Ken Acmens kpacam at sympatico.ca
Wed Jul 31 09:32:01 CEST 2002

I've been trying to get the -vo svga output driver working on my computer.  

I don't get very far before a segmentation fault occurs:

[snip - see attached file for full output]
a52: len=1792  flags=0x17  48000 Hz 448000 bit/s
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 56000->192000 (448.0 kbit)
vo_svga: preinit - maxframes=1
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Segmentation fault

This happens with MPlayer-20020731 and MPlayer-0.90pre5.

I've traced (by inserting more printfs) the problem to the vga_init() 
function call in checksupportedmodes() in libvo/vo_svga.c

Strangely, the demos that come with svgalib-1.4.3 call vga_init() and 
run just fine.  For some reason mplayer can't call that function...

Does anyone have any ideas?

Here's the information specified in 

System Information:
    Red Hat 7.3
    Kernel version: 2.4.18-3
    libc version:
        -rwxr-xr-x    2 root     root      1260480 Apr 15 09:44 
        lrwxrwxrwx    1 root     root           13 Jun 20 20:37 
/lib/libc.so.6 -> libc-2.2.5.so
    X version: XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / 
X Window System
    gcc version:
        Reading specs from 
        Configured with: ../gcc-3.1/configure
        Thread model: single
        gcc version 3.1
    ld version:  GNU ld version 2.12
    binutils version:  2.12
Hardware & drivers:

processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 8
model name    : Pentium III (Coppermine)
stepping    : 1
cpu MHz        : 595.576
cache size    : 256 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 sep mtrr pge mca cmov 
pat pse36 mmx fxsr sse
bogomips    : 1189.47

Video Card:  Neomagic NM2380 rev 16, Mem @ 0xfc000000/25, 0xfe800000/22, 

Neomagic Corporation NM2380 [MagicMedia 256XL+] (rev 10)

Video Driver: svgalib-1.4.3 configured as VESA in /etc/vga/libvga.config

Computer: Sony Vaio PCG-F560

Please find attached the full output of what happens.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer.log
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020731/c767d909/attachment.asc>

More information about the MPlayer-users mailing list