[MPlayer-users] mplayer crashes for "-vo x11"
Nilmoni Deb
ndeb at ece.cmu.edu
Sat May 4 19:31:01 CEST 2002
Configured with --enable-gui (if thats relevant) but not run in gui mode.
Here's the gdb output for CVS-020503 :
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 1)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
/home/ndeb/.mplayer/config(3): option: skin
/home/ndeb/.mplayer/config(3): parameter: WindowsMediaPlayer6
Reading /home/ndeb/.mplayer/codecs.conf: 34 audio & 91 video codecs
CommandLine: '-v' '-vo' 'x11' '/home/ndeb/movies/telf_a1.mpg'
get_path('font/font.desc') -> '/home/ndeb/.mplayer/font/font.desc'
font: can't open file: /home/ndeb/.mplayer/font/font.desc
font: can't open file: /opt/mplayer//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/ndeb/.mplayer/input.conf'
Can't open input config file /home/ndeb/.mplayer/input.conf : No such file
or directory
Falling back on default (hardcoded) config
Playing /home/ndeb/movies/telf_a1.mpg
Not an URL!
File size is 204804 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82b9ed8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82b9ed8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82b9ed8
Checking for MOV
DEMUXER: freeing demuxer at 0x82b9ed8
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82b9ed8
Checking for REAL
DEMUXER: freeing demuxer at 0x82b9ed8
DEMUXER: freeing demuxer at 0x82b9ed8
DEMUXER: freeing demuxer at 0x82b9ed8
DEMUXER: freeing demuxer at 0x82b9ed8
DEMUXER: freeing demuxer at 0x82b9ed8
DEMUXER: freeing demuxer at 0x82b9ed8
system stream synced at 0xB (0)!
==> Found audio stream: 0
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO: MPEG1 160x120 (aspect 1) 25.00 fps 512.0 kbps (64.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:160x120 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/ndeb/.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 3DNow!Ex 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.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.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
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 32/32 (4096 bytes/frag) free: 131072
Start playing...
user_data: len= 29 43 72 65 61 'Created by XingCD Version 1.2'
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 26347)]
0x0816b68a in yuv420_argb32_MMX2 (image=0x40749e80 "\177\203~",
py=0x82f2420 '\200' <repeats 200 times>...,
pu=0x82f4f40 "\177\200\177\200\201\201\200", '\177' <repeats 17
times>, "\200\201\200\200\200\200\200\177\177", '\200' <repeats 12 times>,
"\201\201\201\177\200\200\200\200\200\200\201\177\177\177\177\177\177\177\177\200\200\200\200\177\177\177\177\200\200\200\177\177\177\200\201\200\200\201\201\200\200\200\200\177\177\177\177\177\177\177\177\201\201\201\201\200\200\200\200\200\200\200\201\201",
'\200' <repeats 11 times>,
"\201\201\200\200\200\200\201\201\200\200\200\200\177\177\177\177", '\200'
<repeats 16 times>,
"\201\200\200\200\177~\177\200\201\201\201\202\201\201\201\201", '\200'
<repeats 14 times>,
"\177\177\201\200\200\201\201\200\200\201\200\200\200\200\200\200\200\200"...,
pv=0x82f3b40
"~\177\200\200\200\200\200\200\201\201\200\200\200\200\200\200~~~\177\177\177\177\177\177\177~~\177\200\177~\200\200\200\200\200",
'\177' <repeats 35 times>,
"\201\177\177\177\177~~\200\200\200\201\201\200\177\177\200\201\201\200\200\200\201\201\201\200\200\200\200\200\200\200\200\200\200\177\177\200\201\200\177",
'\200' <repeats 16 times>, "\201\201\201\201\201\201\201\201", '\200'
<repeats 17 times>,
"\177\177\200\201\201\201\201\177\200\201\200\200\177\200\200\200\200\200\200\200\200\200\200\201\201\201",
'\200' <repeats 18 times>, "\201\201\201"..., 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 0x0816b68a in yuv420_argb32_MMX2 (image=0x40749e80 "\177\203~",
py=0x82f2420 '\200' <repeats 200 times>...,
pu=0x82f4f40 "\177\200\177\200\201\201\200", '\177' <repeats 17
times>, "\200\201\200\200\200\200\200\177\177", '\200' <repeats 12 times>,
"\201\201\201\177\200\200\200\200\200\200\201\177\177\177\177\177\177\177\177\200\200\200\200\177\177\177\177\200\200\200\177\177\177\200\201\200\200\201\201\200\200\200\200\177\177\177\177\177\177\177\177\201\201\201\201\200\200\200\200\200\200\200\201\201",
'\200' <repeats 11 times>,
"\201\201\200\200\200\200\201\201\200\200\200\200\177\177\177\177", '\200'
<repeats 16 times>,
"\201\200\200\200\177~\177\200\201\201\201\202\201\201\201\201", '\200'
<repeats 14 times>,
"\177\177\201\200\200\201\201\200\200\201\200\200\200\200\200\200\200\200"...,
pv=0x82f3b40
"~\177\200\200\200\200\200\200\201\201\200\200\200\200\200\200~~~\177\177\177\177\177\177\177~~\177\200\177~\200\200\200\200\200",
'\177' <repeats 35 times>,
"\201\177\177\177\177~~\200\200\200\201\201\200\177\177\200\201\201\200\200\200\201\201\201\200\200\200\200\200\200\200\200\200\200\177\177\200\201\200\177",
'\200' <repeats 16 times>, "\201\201\201\201\201\201\201\201", '\200'
<repeats 17 times>,
"\177\177\200\201\201\201\201\177\200\201\200\200\177\200\200\200\200\200\200\200\200\200\200\201\201\201",
'\200' <repeats 18 times>, "\201\201\201"..., h_size=160, v_size=128,
rgb_stride=640, y_stride=160,
uv_stride=80) at yuv2rgb_template.c:521
#1 0x0815edee in planarYuvToBgr (c=0x82e79c0, src=0x82bf3c0,
srcStride=0x82bf3cc, srcSliceY=0, srcSliceH=128, dstParam=0xbfffe550,
dstStride=0xbfffe540) at swscale.c:1263
#2 0x0807eb4d in draw_slice (src=0x82bf3c0, stride=0x82bf3cc, w=160,
h=128,
x=0, y=0) at vo_x11.c:520
#3 0x080963df in put_image (vf=0x82b8828, mpi=0x82bf3a0) at vf_vo.c:79
#4 0x0809042d in decode_video (sh_video=0x82bb3b8, start=0x40636008 "",
in_size=1786, drop_frame=0) at dec_video.c:205
#5 0x080688ac in main (argc=5, argv=0xbffff8e4, envp=0xbffff8fc)
at mplayer.c:1526
#6 0x403d2280 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x816b66a to 0x816b6aa:
0x816b66a <yuv420_argb32_MMX2+250>: pusha
0x816b66b <yuv420_argb32_MMX2+251>: ret
0x816b66c <yuv420_argb32_MMX2+252>: punpcklbw %mm4,%mm1
0x816b66f <yuv420_argb32_MMX2+255>: punpcklbw %mm5,%mm2
0x816b672 <yuv420_argb32_MMX2+258>: pxor %mm3,%mm3
0x816b675 <yuv420_argb32_MMX2+261>: movq %mm0,%mm6
0x816b678 <yuv420_argb32_MMX2+264>: movq %mm1,%mm7
0x816b67b <yuv420_argb32_MMX2+267>: movq %mm0,%mm4
0x816b67e <yuv420_argb32_MMX2+270>: movq %mm1,%mm5
0x816b681 <yuv420_argb32_MMX2+273>: punpcklbw %mm2,%mm6
0x816b684 <yuv420_argb32_MMX2+276>: punpcklbw %mm3,%mm7
0x816b687 <yuv420_argb32_MMX2+279>: punpcklwd %mm7,%mm6
0x816b68a <yuv420_argb32_MMX2+282>: movntq %mm6,(%esi)
0x816b68d <yuv420_argb32_MMX2+285>: movq %mm0,%mm6
0x816b690 <yuv420_argb32_MMX2+288>: punpcklbw %mm2,%mm6
0x816b693 <yuv420_argb32_MMX2+291>: punpckhwd %mm7,%mm6
0x816b696 <yuv420_argb32_MMX2+294>: movntq %mm6,0x8(%esi)
0x816b69a <yuv420_argb32_MMX2+298>: punpckhbw %mm2,%mm4
0x816b69d <yuv420_argb32_MMX2+301>: punpckhbw %mm3,%mm5
0x816b6a0 <yuv420_argb32_MMX2+304>: punpcklwd %mm5,%mm4
0x816b6a3 <yuv420_argb32_MMX2+307>: movntq %mm4,0x10(%esi)
0x816b6a7 <yuv420_argb32_MMX2+311>: movq %mm0,%mm4
End of assembler dump.
thanks
- Nil
More information about the MPlayer-users
mailing list