[MPlayer-advusers] SIGSEGV with -vo gl on sparc

Marco Graf grafmar at ee.ethz.ch
Mon Nov 7 16:37:54 CET 2005


Hi there,
I've got a SIGSEGV with -vo gl.

I'm running debian testing on a sparc. Specification as following:


mplayer dev-CVS-051107-11:37-4.0.2


> uname -a
Linux lisa 2.6.11.7 #7 Sun May 29 15:46:02 CEST 2005 sparc64 GNU/Linux


> gcc --version
gcc (GCC) 4.0.2 (Debian 4.0.2-2)


> ld -v
GNU ld version 2.16.1 Debian GNU/Linux


> as --version
GNU assembler 2.16.1 Debian GNU/Linux


> cat /proc/cpuinfo
cpu             : TI UltraSparc IIe (Hummingbird)
fpu             : UltraSparc IIe integrated FPU
promlib         : Version 3 Revision 0
prom            : 4.0.45
type            : sun4u
ncpus probed    : 1
ncpus active    : 1
Cpu0Bogo        : 997.37
Cpu0ClkTck      : 000000001debe980
MMU Type        : Spitfire


> ls -l /lib/libc[.-]*
-rwxr-xr-x  1 root root 1199100 Aug 30 15:36 /lib/libc-2.3.5.so
lrwxrwxrwx  1 root root      13 Oct 23 13:15 /lib/libc.so.6 -> libc-2.3.5.so


>  X -version
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14 20050601082651
root at vore.debian.org)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 sparc [ELF]
Build Date: 01 June 2005


libGL.1 provided from mesag3
> apt-cache show mesag3
Package: mesag3
Priority: extra
Section: libs
Installed-Size: 2160
Maintainer: Marcelo E. Magallon <mmagallo at debian.org>
Architecture: sparc
Source: mesa
Version: 5.0.0-5.1
Replaces: libgl1
Provides: libgl1
Depends: libc6 (>= 2.3.2.ds1-4), libice6 | xlibs (>> 4.1.0), libsm6 |
xlibs (>> 4.1.0), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>>
4.1.0), libxi6 | xlibs (>> 4.1.0), libxmu6 | xlibs (>> 4.1.0), libglu1-mesa
Conflicts: mesag3-glide, mesag3-glide2, mesag3+ggi, libgl1, nvidia-glx
Filename: pool/main/m/mesa/mesag3_5.0.0-5.1_sparc.deb


gdb backtrace:
--8<--
(gdb) run  -vo gl werbung/bud.mpeg
Starting program: /usr/local/bin/mplayer -vo gl werbung/bud.mpeg
warning: linux_test_for_tracefork: unexpected result from waitpid (6120,
status 0xb7f)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6119)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer_cvs20051107/share/locale

MPlayer dev-CVS-051107-11:37-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc

Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Playing werbung/bud.mpeg.
Playing werbung/bud.mpeg.
MPEG-PS file format detected.
VIDEO:  MPEG1  320x240  (aspect 8)  25.000 fps  563.2 kbps (70.4 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16be, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16be -> 0Hz/0ch/s8...
AO: [oss] 44100Hz 2ch s16be (2 bytes per sample)
Building audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 24-bit special converter
VO: [gl] 320x240 => 320x240 BGR 24-bit

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6119)]
0x7080db24 in glFinish () from /usr/lib/libGL.so.1
(gdb) bt
#0  0x7080db24 in glFinish () from /usr/lib/libGL.so.1
#1  0x000567b0 in setGlWindow (vinfo=0x4e033c, context=0x4e0338,
win=27262978)
    at gl_common.c:1074
#2  0x000511e0 in config (width=Variable "width" is not available.
) at vo_gl.c:417
#3  0x00099cb4 in config (vf=Variable "vf" is not available.
) at vf_vo.c:48
#4  0x00070734 in vf_config_wrapper (vf=0x59ee60, width=320, height=240,
d_width=320,
    d_height=240, flags=0, outfmt=1111970328) at vf.c:583
#5  0x00093d6c in config (vf=Variable "vf" is not available.
) at vf_scale.c:273
#6  0x00070734 in vf_config_wrapper (vf=0x586088, width=320, height=240,
d_width=320,
    d_height=240, flags=0, outfmt=842094169) at vf.c:583
#7  0x0006b8c8 in mpcodecs_config_vo (sh=0x5851d0, w=Variable "w" is not
available.
) at vd.c:318
#8  0x0006d3f8 in decode (sh=0x5851d0, data=0x711ca008, len=6565,
flags=Variable "flags" is not available.
)
    at vd_libmpeg2.c:159
#9  0x0006b028 in decode_video (sh_video=0x5851d0, start=0x711ca008 "",
in_size=6565,
    drop_frame=0) at dec_video.c:316
#10 0x0001cae8 in main (argc=Variable "argc" is not available.
) at mplayer.c:2447
(gdb)
-->8--


Hope this is enough information :)

regards
  mga




More information about the MPlayer-advusers mailing list