[MPlayer-advusers] SIGSEGV with -vo gl on sparc
Marco Graf
grafmar at ee.ethz.ch
Tue Nov 8 12:31:56 CET 2005
Reimar Döffinger wrote:
> Hi,
> On Mon, Nov 07, 2005 at 06:46:10PM +0100, Marco Graf wrote:
>
>>Reimar Döffinger wrote:
>>
>>>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:
>
>
> Try updating, I fixed bug that could have caused this.
"Better"
No SIGSEGV anymore but SIGILL:
--8<--
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".
(gdb) run -v -vo gl bud.mpeg
Starting program: /usr/src/mplayer/main/mplayer -v -vo gl bud.mpeg
warning: linux_test_for_tracefork: unexpected result from waitpid
(19424, status 0xb7f)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 19423)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer_cvs20051108/share/locale
MPlayer dev-CVS-051108-10:38-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc
CommandLine: '-v' '-vo' 'gl' 'bud.mpeg'
init_freetype
get_path('font/font.desc') -> '/home/grafmar/.mplayer/font/font.desc'
font: can't open file: /home/grafmar/.mplayer/font/font.desc
font: can't open file:
/usr/local/stow/mplayer_cvs20051108/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/grafmar/.mplayer/input.conf'
Can't open input config file /home/grafmar/.mplayer/input.conf: No such
file or directory
Can't open input config file
/usr/local/stow/mplayer_cvs20051108/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('bud.mpeg.conf') -> '/home/grafmar/.mplayer/bud.mpeg.conf'
Playing bud.mpeg.
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
[file] File size is 2605340 bytes
STREAM: [file] bud.mpeg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename bud.mpeg ext: .mpeg
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 70694, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=2697 size=2067812130
LMLM4 Stream Format not found
system stream synced at 0x0 (144)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG1 320x240 (aspect 8) 25.000 fps 563.2 kbps (70.4 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:320x240 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
get_path('default.sub') -> '/home/grafmar/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 96 kbit Stereo, BPF: 313
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
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.
[gl] Using 4 as slice height (0 means image height).
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
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...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
ao2: 44100 Hz 2 chans s16be
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16be (requested: s16be)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch s16be (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 24-bit special converter
REQ: flags=0x437 req=0x0
VO: [gl] 320x240 => 320x240 BGR 24-bit
VO: Description: X11 (OpenGL)
VO: Author: Arpad Gereoffy <arpi at esp-team.scene.hu>
[gl] Creating 512x256 texture...
[gl] Resize: 320x240
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 16384 (LWP 19423)]
0x00770a90 in ?? ()
(gdb) bt
#0 0x00770a90 in ?? ()
#1 0x00051348 in config (width=Variable "width" is not available.
) at vo_gl.c:288
#2 0x00099cc8 in config (vf=Variable "vf" is not available.
) at vf_vo.c:48
#3 0x00070748 in vf_config_wrapper (vf=0x59ee48, width=320, height=240,
d_width=320,
d_height=240, flags=0, outfmt=1111970328) at vf.c:583
#4 0x00093d80 in config (vf=Variable "vf" is not available.
) at vf_scale.c:273
#5 0x00070748 in vf_config_wrapper (vf=0x586060, width=320, height=240,
d_width=320,
d_height=240, flags=0, outfmt=842094169) at vf.c:583
#6 0x0006b8dc in mpcodecs_config_vo (sh=0x5851a8, w=Variable "w" is not
available.
) at vd.c:318
#7 0x0006d40c in decode (sh=0x5851a8, data=0x711c6008, len=6565,
flags=Variable "flags" is not available.
)
at vd_libmpeg2.c:159
#8 0x0006b03c in decode_video (sh_video=0x5851a8, start=0x711c6008 "",
in_size=6565,
drop_frame=0) at dec_video.c:316
#9 0x0001cae8 in main (argc=Variable "argc" is not available.
) at mplayer.c:2447
(gdb) quit
-->8--
>>>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 ;).
>
> Sure, I can see it's a bit much effort, that's why I added the *g*
> Too bad you can't use valgrind, that's usually just as helpful...
There's definitely something fishy with the mesag3 package. I'll change
that to xlibmesa-dri & xlibmesa-gl.
- mga
More information about the MPlayer-advusers
mailing list