[MPlayer-users] Re: -vo svga segmentation fault

Ken Acmens kpacam at sympatico.ca
Wed Jul 31 20:03:02 CEST 2002


Ken Acmens wrote:

> 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 
> http://www.mplayerhq.hu/DOCS/bugreports.html
>
> 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 
> /lib/libc-2.2.5.so
>        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 
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
>        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, 0xfec00000/20
>
> 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.
>
>
>------------------------------------------------------------------------
>
>
>
>MPlayer CVS-020731-00:00-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
>
>CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
>CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
>Compiled for x86 CPU with extensions: MMX MMX2 SSE
>
>Reading /root/.mplayer/codecs.conf: 36 audio & 103 video codecs
>CommandLine:get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
> '-dvd' '1' '-vo' 'svga' '-v'
>font: can't open file: /root/.mplayer/font/font.desc
>Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
>Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
>Linux RTC init error: No such device
>Using usleep() timing
>get_path('input.conf') -> '/root/.mplayer/input.conf'
>Can't open input config file /root/.mplayer/input.conf : No such file or directory
>Can't open input config file /usr/local/share/mplayer/input.conf : No such file or directory
>Falling back on default (hardcoded) input config
>
>Playing DVD title 1
>get_path('') -> '/root/.mplayer/'
>get_path('DVDKeys') -> '/root/.mplayer/DVDKeys'
>libdvdcss debug: GetASF authenticated
>libdvdcss debug: already authenticated
>Reading disc structure, please wait...
>There are 11 titles on this DVD.
>There are 32 chapters in this DVD title.
>There are 1 angles in this DVD title.
>dvdcss: opening /root/.mplayer/DVDKeys/2002050719312500/0000011de8 to look for key
>DVD successfully opened!
>[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
>[open] audio stream: 1 audio format: ac3 (stereo) language: es aid: 129
>[open] audio stream: 2 audio format: ac3 (stereo) language: fr aid: 130
>[open] audio stream: 3 audio format: ac3 (stereo) language: pt aid: 131
>[open] audio stream: 4 audio format: ac3 (stereo) language: en aid: 132
>[open] audio stream: 5 audio format: ac3 (stereo) language: en aid: 133
>[open] number of audio channels on disk: 6.
>[open] subtitle ( sid ): 0 language: en
>[open] subtitle ( sid ): 1 language: es
>[open] subtitle ( sid ): 2 language: fr
>[open] subtitle ( sid ): 3 language: pt
>[open] subtitle ( sid ): 4 language: es
>[open] subtitle ( sid ): 5 language: fr
>[open] subtitle ( sid ): 6 language: pt
>[open] number of subtitles on disk: 7
>DVD start cell: 0  pack: 0x0-0x115D  
>DVD start=0 end=2647706  
>DVD Seek! lba=0x0  cell=0  packs: 0x0-0x115D  
>Angle-seek synced by cell/vob IDN search!  
>Checking for YUV4MPEG2
>DEMUXER: freeing demuxer at 0x82477e0  
>ASF_check: not ASF guid!
>DEMUXER: freeing demuxer at 0x82477e0  
>Checking for NuppelVideo
>DEMUXER: freeing demuxer at 0x82477e0  
>Checking for MOV
>DEMUXER: freeing demuxer at 0x82477e0  
>Checking for VIVO
>header block 1 size: 0
>DEMUXER: freeing demuxer at 0x82477e0  
>Checking for REAL
>DEMUXER: freeing demuxer at 0x82477e0  
>DEMUXER: freeing demuxer at 0x82477e0  
>DEMUXER: freeing demuxer at 0x82477e0  
>DEMUXER: freeing demuxer at 0x82477e0  
>DEMUXER: freeing demuxer at 0x82477e0  
>DEMUXER: freeing demuxer at 0x82477e0  
>DVD Seek! lba=0x0  cell=0  packs: 0x0-0x115D  
>Angle-seek synced by cell/vob IDN search!  
>system stream synced at 0xD (0)!
>==> Found video stream: 0
>Detected MPEG-PS file format!
>==> Found audio stream: 128
>Searching for sequence header... OK!
>VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12250.0 kbps (1531.2 kbyte/s)
>[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
>get_path('sub/') -> '/root/.mplayer/sub/'
>Detected audio codec: [a52] afm:14 (AC3-liba52)
>Initializing audio codec...
>Opening audio decoder: [liba52] AC3-liba52
>dec_audio: Allocating 3840 bytes for input buffer
>dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
>Using SSE optimized IMDCT transform
>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
>






More information about the MPlayer-users mailing list