[MPlayer-users] Crash at the end of a very brief file
The Wanderer
inverseparadox at comcast.net
Wed Aug 13 18:24:20 CEST 2003
I've got a group of ten-second video clips without any sound. Most of
them play fine, but for one of them, at about the same time when the
others end normally, MPlayer crashes. The file is ~430K in size, and can
be provided upon request.
Much of the system information below is copied directly from the output
of the commands provided in bugreport.html.
I'm running Libranet 2.0 Debian (sarge and woody, with unimportant bits
of sid).
uname -a reports:
Linux pegasus 2.4.20 #1 Thu May 22 14:48:37 EDT 2003 i686 GNU/Linux
I'm running XFree86 4.2.1.1, gcc 3.2.3 20030415 (Debian prerelease), and
ld and binutils 2.13.90.0.18 20030121 Debian GNU/Linux.
cat /proc/cpuinfo reports:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2200+
stepping : 0
cpu MHz : 1800.109
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3591.37
I've got a GeForce FX 5200 (not Ultra), 128MB; I've got no idea at this
point who actually put together the board, it's pretty much Brand X,
though I could probably dig a name out if it proves really important.
I'm using the nVidia drivers, version 1.0-4363.
My audio is integrated into my motherboard, using (according to the
motherboard manual) the C-Media CMI8738-MX chipset.
(gdb) run -v 3a.mpeg
Starting program: /home/wanderer/text/src/cvs/mplayer/main/mplayer -v
3a.mpeg
[New Thread 16384 (LWP 6528)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-030813-11:02-3.2.3 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/wanderer/.mplayer/config
Reading /home/wanderer/.mplayer/codecs.conf: parse error at line 30
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' '3a.mpeg'
get_path('font/font.desc') -> '/home/wanderer/.mplayer/font/font.desc'
font: can't open file: /home/wanderer/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid
root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/wanderer/.mplayer/input.conf'
Can't open input config file /home/wanderer/.mplayer/input.conf: No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or directory
Falling back on default (hardcoded) input config
get_path('3a.mpeg.conf') -> '/home/wanderer/.mplayer/3a.mpeg.conf'
Playing 3a.mpeg
Not an URL!
[file] File size is 438545 bytes
STREAM: [file] 3a.mpeg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84ba208
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84ba208
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84ba208
Checking for REAL
DEMUXER: freeing demuxer at 0x84ba208
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84ba208
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
Searching demuxer type for filename 3a.mpeg ext: .mpeg
Checking for MOV
DEMUXER: freeing demuxer at 0x84baba8
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
DEMUXER: freeing demuxer at 0x84baba8
Checking for PVA
DEMUXER: freeing demuxer at 0x84baba8
Checking for TS...
TRIED UP TO POSITION 68354, FOUND 0, packet_size= 71
DEMUXER: freeing demuxer at 0x84baba8
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 310 p101: 310 p1B6: 0 p12x: 0 sli: 310 a: 0 b:
0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0 MP3: 36
MPEG-ES file format detected.
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO: MPEG1 272x192 (aspect 1) 29.97 fps 338.0 kbps (42.2 kbyte/s)
[V] filefmt:1 fourcc:0x10000001 size:272x192 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/wanderer/.mplayer/sub/'
get_path('default.sub') -> '/home/wanderer/.mplayer/default.sub'
SDL: Using driver: x11
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1600x1200
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 272 x 192 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop 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.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
VDec: vo config request - 272 x 192 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (272x192->272x192,flags=0,'MPlayer',0x32315659)
VO: [sdl] 272x192 => 272x192 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann
<atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: using hardware-surface
SDL: setting windowed mode
*** [vo] Allocating mp_image_t, 272x192x12bpp YUV planar, 78336 bytes
*** [vo] Allocating mp_image_t, 272x192x12bpp YUV planar, 78336 bytes
get_path('subfont.ttf') -> '/home/wanderer/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [vo] Allocating mp_image_t, 272x192x12bpp YUV planar, 78336 bytes
VDec: vo config request - 2176 x 16 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (272x192->272x192,flags=0,'MPlayer',0x32315659)
VO: [sdl] 272x192 => 272x192 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann
<atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: using hardware-surface
SDL: setting windowed mode
vf.c: have to REALLOCATE buffer memory :(
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6528)]
fast_memcpy_MMX2 (to=0x40015860, from=0x8505300, len=240) at
aclib_template.c:173
173 small_memcpy(to, from, delta);
(gdb) bt
#0 fast_memcpy_MMX2 (to=0x40015860, from=0x8505300, len=240) at
aclib_template.c:173
#1 0x080f2082 in fast_memcpy (to=0x40015860, from=0x20, len=32) at
aclib.c:138
#2 0x080e8055 in draw_slice (image=0x84f0f80, stride=0x84f0f90, w=272,
h=192, x=0, y=0) at fastmemcpy.h:52
#3 0x0811124d in put_image (vf=0x84c33c0, mpi=0x84f0f60) at vf_vo.c:112
#4 0x08104391 in decode_video (sh_video=0x84be750, start=0x20 <Address
0x20 out of bounds>, in_size=32, drop_frame=0) at dec_video.c:327
#5 0x080ab97e in main (argc=3, argv=0xbffff974) at mplayer.c:2009
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x80f1e1b to 0x80f1e5b:
0x80f1e1b <fast_memcpy_MMX2+43>: add %eax,(%eax)
0x80f1e1d <fast_memcpy_MMX2+45>: add %al,0xf3f107d(%ebx)
0x80f1e23 <fast_memcpy_MMX2+51>: xchg %bh,0x1(%ebx)
0x80f1e26 <fast_memcpy_MMX2+54>: add %al,(%eax)
0x80f1e28 <fast_memcpy_MMX2+56>: mov %edi,%ecx
0x80f1e2a <fast_memcpy_MMX2+58>: and $0x3f,%ecx
0x80f1e2d <fast_memcpy_MMX2+61>: je 0x80f1e3d
<fast_memcpy_MMX2+77>
0x80f1e2f <fast_memcpy_MMX2+63>: mov $0x40,%eax
0x80f1e34 <fast_memcpy_MMX2+68>: sub %ecx,%eax
0x80f1e36 <fast_memcpy_MMX2+70>: sub %eax,0x10(%ebp)
0x80f1e39 <fast_memcpy_MMX2+73>: mov %eax,%ecx
0x80f1e3b <fast_memcpy_MMX2+75>: repz movsb %ds:(%esi),%es:(%edi)
0x80f1e3d <fast_memcpy_MMX2+77>: mov 0x10(%ebp),%ecx
0x80f1e40 <fast_memcpy_MMX2+80>: andl $0x3f,0x10(%ebp)
0x80f1e44 <fast_memcpy_MMX2+84>: shr $0x6,%ecx
0x80f1e47 <fast_memcpy_MMX2+87>: test $0xfff,%edi
0x80f1e4d <fast_memcpy_MMX2+93>: je 0x80f1eab
<fast_memcpy_MMX2+187>
0x80f1e4f <fast_memcpy_MMX2+95>: test %ecx,%ecx
0x80f1e51 <fast_memcpy_MMX2+97>: je 0x80f1eab
<fast_memcpy_MMX2+187>
0x80f1e53 <fast_memcpy_MMX2+99>: prefetchnta 0x140(%esi)
0x80f1e5a <fast_memcpy_MMX2+106>: movq (%esi),%mm0
End of assembler dump.
(gdb) info all-registers
eax 0x20 32
ecx 0x20 32
edx 0x880 2176
ebx 0x40015860 1073829984
esp 0xbfffe508 0xbfffe508
ebp 0xbfffe518 0xbfffe518
esi 0x8505300 139481856
edi 0x40015860 1073829984
eip 0x80f1e3b 0x80f1e3b
eflags 0x210206 2163206
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x14d7 5335
st0 -0e+4922 (raw 0xffff0000000000000000)
st1 -0e+4922 (raw 0xffff0000000000000000)
st2 -nan(0x800000008) (raw 0xffff0000000800000008)
st3 -nan(0x100000008) (raw 0xffff0000000100000008)
st4 -nan(0x200000002) (raw 0xffff0000000200000002)
st5 -nan(0x200000001) (raw 0xffff0000000200000001)
st6 -nan(0x56555900000002) (raw 0xffff0056555900000002)
st7 -0e+4922 (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x120 288
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm3 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double =
{0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xff <repeats 16
times>}, v8_int16 = {0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff}, v4_int32 = {0xffffffff,
0xffffffff, 0xffffffff, 0xffffffff}, v2_int64 =
{0xffffffffffffffff, 0xffffffffffffffff}, uint128 =
0xffffffffffffffffffffffffffffffff}
mxcsr 0x1f80 8064
orig_eax 0xffffffff -1
mm0 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2 {uint64 = 0x800000008, v2_int32 = {0x8, 0x8}, v4_int16 =
{0x8, 0x0, 0x8, 0x0}, v8_int8 = {0x8, 0x0, 0x0, 0x0, 0x8, 0x0, 0x0, 0x0}}
mm3 {uint64 = 0x100000008, v2_int32 = {0x8, 0x1}, v4_int16 =
{0x8, 0x0, 0x1, 0x0}, v8_int8 = {0x8, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0}}
mm4 {uint64 = 0x200000002, v2_int32 = {0x2, 0x2}, v4_int16 =
{0x2, 0x0, 0x2, 0x0}, v8_int8 = {0x2, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0}}
mm5 {uint64 = 0x200000001, v2_int32 = {0x1, 0x2}, v4_int16 =
{0x1, 0x0, 0x2, 0x0}, v8_int8 = {0x1, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0x56555900000002, v2_int32 = {0x2, 0x565559},
v4_int16 = {0x2, 0x0, 0x5559, 0x56}, v8_int8 = {0x2, 0x0, 0x0, 0x0,
0x59, 0x55, 0x56, 0x0}}
mm7 {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0,
0x0, 0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
More information about the MPlayer-users
mailing list