[MPlayer-users] -vo x11 crash

Meszaros Andras andrej at draconis.elte.hu
Mon May 6 21:37:02 CEST 2002


> > I compiled mplayer with --enable-debug=3. It's problem?
> > Recompile it?
> no
> but then you ran wrong binary?
No.
My compile command: 
export DEB_BUILD_OPTIONS=--enable-debug=3
fakeroot debian/rules clean binary

It's a problem, sorry:
charlie:MPlayer$ grep strip debian/rules 
	dh_strip


> those (no debugging symbols found) message smean it was NOT compiled wiht
OK, I see.


That is it:
(gdb) run -v -vo x11 manga04.mpg
Starting program: /mnt/hda3/andrej/download/MPlayer/mplayer -v -vo x11
manga04.mpg
[New Thread 1024 (LWP 13254)]


MPlayer CVS-020506-20:30-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping:
6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
/etc/mplayer.conf(3): option: vo
/etc/mplayer.conf(3): parameter: xv
Reading /home/andrej/.mplayer/codecs.conf: can't open
'/home/andrej/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine: '-v' '-vo' 'x11' 'manga04.mpg'
get_path('font/font.desc') -> '/home/andrej/.mplayer/font/font.desc'
font: can't open file: /home/andrej/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/andrej/.mplayer/input.conf'
Can't open input config file /home/andrej/.mplayer/input.conf : No such file
or directory
Falling back on default (hardcoded) config
Playing manga04.mpg
Not an URL!
File size is 2801704 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82b5fc8  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82b5fc8  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82b5fc8  
Checking for MOV
DEMUXER: freeing demuxer at 0x82b5fc8  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82b5fc8  
Checking for REAL
DEMUXER: freeing demuxer at 0x82b5fc8  
DEMUXER: freeing demuxer at 0x82b5fc8  
DEMUXER: freeing demuxer at 0x82b5fc8  
DEMUXER: freeing demuxer at 0x82b5fc8  
DEMUXER: freeing demuxer at 0x82b5fc8  
DEMUXER: freeing demuxer at 0x82b5fc8  
system stream synced at 0xB (11)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  160x120  (aspect 1)  24.00 fps  115.0 kbps (14.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:160x120  fps:24.00  ftime:=0.0417
get_path('sub/') -> '/home/andrej/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 44100 Hz 32 kbit Single-Channel, BPF: 104
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 4000->176400
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bits/pixel (":0" => local
display)
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 160 x 120, Mpeg PES  
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 160 x 120, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x445 (i=0) 
vo_debug: query(Planar I420) returned 0x445 (i=1) 
vo_debug: query(Planar IYUV) returned 0x445 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(160x120->160x120,flags=0,'MPlayer',0x32315659)
VO: [x11] 160x120 => 160x120 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
Can't open audio device /dev/dsp: Device or resource busy  -> no sound
couldn't open/init audio device -> NOSOUND
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13254)]
0x0816073c in yuv420_argb32_MMX2 (image=0x40943000 "\b\006", py=0x82e8e00
"", pu=0x82f04c0 "", pv=0x82ef0c0 "", h_size=160, v_size=128,
rgb_stride=640, 
    y_stride=160, uv_stride=80) at yuv2rgb_template.c:521
521		    __asm__ __volatile__ (
(gdb) bt
#0  0x0816073c in yuv420_argb32_MMX2 (image=0x40943000 "\b\006",
py=0x82e8e00 "", pu=0x82f04c0 "", pv=0x82ef0c0 "", h_size=160, v_size=128, 
    rgb_stride=640, y_stride=160, uv_stride=80) at yuv2rgb_template.c:521
#1  0x081548df in planarYuvToBgr (c=0x82e2f40, src=0x82b0ff8,
srcStride=0x82b1004, srcSliceY=0, srcSliceH=128, dstParam=0xbfffe220,
dstStride=0xbfffe214)
    at swscale.c:1261
#2  0x08084503 in draw_slice (src=0x82b0ff8, stride=0x82b1004, w=160, h=128,
x=0, y=0) at vo_x11.c:520
#3  0x0809f827 in put_image (vf=0x82b3bd0, mpi=0x82b0fd8) at vf_vo.c:79
#4  0x08099760 in decode_video (sh_video=0x82b6d40, start=0x40842008 "",
in_size=279, drop_frame=0) at dec_video.c:204
#5  0x080694ee in main (argc=5, argv=0xbffff574, envp=0xbffff58c) at
mplayer.c:1538
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x816071c to 0x816075c:
0x816071c <yuv420_argb32_MMX2+272>:	pusha  
0x816071d <yuv420_argb32_MMX2+273>:	ret    
0x816071e <yuv420_argb32_MMX2+274>:	punpcklbw %mm4,%mm1
0x8160721 <yuv420_argb32_MMX2+277>:	punpcklbw %mm5,%mm2
0x8160724 <yuv420_argb32_MMX2+280>:	pxor   %mm3,%mm3
0x8160727 <yuv420_argb32_MMX2+283>:	movq   %mm0,%mm6
0x816072a <yuv420_argb32_MMX2+286>:	movq   %mm1,%mm7
0x816072d <yuv420_argb32_MMX2+289>:	movq   %mm0,%mm4
0x8160730 <yuv420_argb32_MMX2+292>:	movq   %mm1,%mm5
0x8160733 <yuv420_argb32_MMX2+295>:	punpcklbw %mm2,%mm6
0x8160736 <yuv420_argb32_MMX2+298>:	punpcklbw %mm3,%mm7
0x8160739 <yuv420_argb32_MMX2+301>:	punpcklwd %mm7,%mm6
0x816073c <yuv420_argb32_MMX2+304>:	movntq %mm6,(%edi)
0x816073f <yuv420_argb32_MMX2+307>:	movq   %mm0,%mm6
0x8160742 <yuv420_argb32_MMX2+310>:	punpcklbw %mm2,%mm6
0x8160745 <yuv420_argb32_MMX2+313>:	punpckhwd %mm7,%mm6
0x8160748 <yuv420_argb32_MMX2+316>:	movntq %mm6,0x8(%edi)
0x816074c <yuv420_argb32_MMX2+320>:	punpckhbw %mm2,%mm4
0x816074f <yuv420_argb32_MMX2+323>:	punpckhbw %mm3,%mm5
0x8160752 <yuv420_argb32_MMX2+326>:	punpcklwd %mm5,%mm4
0x8160755 <yuv420_argb32_MMX2+329>:	movntq %mm4,0x10(%edi)
0x8160759 <yuv420_argb32_MMX2+333>:	movq   %mm0,%mm4
End of assembler dump.
(gdb) 


bye
		Andrej




More information about the MPlayer-users mailing list