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

Marco Graf grafmar at ee.ethz.ch
Mon Nov 7 18:46:10 CET 2005


Reimar Döffinger wrote:
> Hi,
> On Mon, Nov 07, 2005 at 04:37:54PM +0100, Marco Graf wrote:
> 
>>[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
> 
> 
> Did you try do that?

No, but does not help. Got the same backtrace:
--8<--
(gdb) run -vo gl:nomanyfmts werbung/bud.mpeg
Starting program: /usr/local/bin/mplayer -vo gl:nomanyfmts werbung/bud.mpeg
warning: linux_test_for_tracefork: unexpected result from waitpid (6561,
status 0xb7f)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6560)]
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.
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)
==========================================================================
==========================================================================
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 -> RGB 24-bit special converter
VO: [gl] 320x240 => 320x240 RGB 24-bit

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6560)]
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=0x59ee90, width=320, height=240,
d_width=320,
    d_height=240, flags=0, outfmt=1380401688) 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=0x5860a8, 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=0x5851f0, w=Variable "w" is not
available.
) at vd.c:318
#8  0x0006d3f8 in decode (sh=0x5851f0, data=0x711ca008, len=6565,
flags=Variable "flags" is not available.
)
    at vd_libmpeg2.c:159
#9  0x0006b028 in decode_video (sh_video=0x5851f0, 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--

> 
> 
>>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
> 
> 
> The problem is in the GL lib, so if you can get one with
> debugging-symbols *g*

Not that I need -vo gl was told to report the bug (attila told me to).
So I don't think I will compile that lib just to see that it isn't a
mplayer bug ;). But I also got an other sig11 with an other file and it
doesn't seem it comes form libGL. Bugreport comming soon...

regards
  mga




More information about the MPlayer-advusers mailing list