[MPlayer-users] crash playing MPEG-PS
wing tung Leung
tgke at pandora.be
Wed Jun 4 00:37:53 CEST 2003
hello,
mplayer (CVS version) crashes when playing movie
http://users.pandora.be/orka/tg/todo/planehead.mpeg
Linux 2.4.20 on Athlon system (based on RedHat 7.3)
XFree86 Version 4.2.0 (with XVideo extension)
gcc (GCC) 3.2 20020822 (Red Hat Linux Rawhide 3.2-2)
GNU ld version 2.13.90.0.2 20020802
GNU assembler 2.13.90.0.2 20020802
gdb output in attachment.
kudos to mplayer development team.
--
fingerprint = A3C4 DE50 712D 4FA8 C564 4D96 5E06 C9CC ECFA 19C5
Open source advocate
-------------- next part --------------
(gdb) set args planehead.mpeg
(gdb) r
Starting program: /home/tg/mplayer planehead.mpeg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-030602-23:56-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading config file /usr/local/etc/mplayer/mplayer.confReading config file /home/tg/.mplayer/config
Reading /home/tg/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
Font /home/tg/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing planehead.mpeg
MPEG-PS file format detected.
VIDEO: MPEG1 240x180 (aspect 1) 23.98 fps 204.8 kbps (25.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8000->176400 (64.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 240 x 180 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
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))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 240 x 192 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 240x180 => 240x180 Planar YV12
A: 0.2 V: 0.0 A-V: 0.147 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0%
[New Thread 1024 (LWP 5027)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 5027)]
0x40398a9a in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0 0x40398a9a in _int_malloc () from /lib/libc.so.6
#1 0x40399358 in _int_memalign () from /lib/libc.so.6
#2 0x403982f2 in memalign () from /lib/libc.so.6
#3 0x080c3a6d in vf_get_image (vf=0x841a7e8, outfmt=842094169, mp_imgtype=4,
mp_imgflag=3, w=240, h=184) at vf.c:278
#4 0x080b6ca4 in mpcodecs_get_image (sh=0x8401eb0, mp_imgtype=1078166752,
mp_imgflag=1078166752, w=1078166752, h=1078166752) at vd.c:337
#5 0x080bec74 in decode (sh=0x8401eb0, data=0x2, len=138419888, flags=0)
at vd_libmpeg2.c:134
#6 0x080b6373 in decode_video (sh_video=0x8401eb0, start=0x404384e0 "",
in_size=1078166752, drop_frame=0) at dec_video.c:304
#7 0x0806e9e9 in main (argc=2, argv=0xbffff614) at mplayer.c:2019
#8 0x403451ee in __libc_start_main () from /lib/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40398a7a to 0x40398aba:
0x40398a7a <_int_malloc+830>: sub 0xffffffec(%ebp),%edi
0x40398a7d <_int_malloc+833>: mov 0xfffffff0(%ebp),%eax
0x40398a80 <_int_malloc+836>: or $0x1,%ecx
0x40398a83 <_int_malloc+839>: cmp %esi,0xfffffff0(%ebp)
0x40398a86 <_int_malloc+842>: mov %edx,0x54(%eax)
0x40398a89 <_int_malloc+845>: je 0x40398a91 <_int_malloc+853>
0x40398a8b <_int_malloc+847>: mov 0xffffffec(%ebp),%ecx
0x40398a8e <_int_malloc+850>: or $0x5,%ecx
0x40398a91 <_int_malloc+853>: mov 0xffffffe4(%ebp),%esi
0x40398a94 <_int_malloc+856>: or $0x1,%edi
0x40398a97 <_int_malloc+859>: mov %ecx,0x4(%esi)
0x40398a9a <_int_malloc+862>: mov %edi,0x4(%edx)
0x40398a9d <_int_malloc+865>: jmp 0x403987ab <_int_malloc+111>
0x40398aa2 <_int_malloc+870>: mov 0x4(%ecx),%ecx
0x40398aa5 <_int_malloc+873>: and $0xfffffff8,%ecx
0x40398aa8 <_int_malloc+876>: cmp %esi,%ecx
0x40398aaa <_int_malloc+878>: jae 0x40398ac0 <_int_malloc+900>
0x40398aac <_int_malloc+880>: mov 0xffffffe4(%ebp),%esi
0x40398aaf <_int_malloc+883>: mov 0xc(%esi),%eax
0x40398ab2 <_int_malloc+886>: mov 0x4(%eax),%ecx
0x40398ab5 <_int_malloc+889>: and $0xfffffff8,%ecx
0x40398ab8 <_int_malloc+892>: cmp 0xffffffec(%ebp),%ecx
End of assembler dump.
(gdb) info all-registers
eax 0x404384e0 1078166752
ecx 0x105f1 67057
edx 0x844e4f0 138732784
ebx 0x40437608 1078162952
esp 0xbfffe0f0 0xbfffe0f0
ebp 0xbfffe118 0xbfffe118
esi 0x843df00 138665728
edi 0x201f1901 538908929
eip 0x40398a9a 0x40398a9a
eflags 0x210202 2163202
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x0 0
st0 -nan(0x444e7470444e747) (raw 0xffff0444e7470444e747)
st1 -nan(0xfbbc18b9fbbc18b9) (raw 0xfffffbbc18b9fbbc18b9)
st2 -nan(0xffa6354203b2391c) (raw 0xffffffa6354203b2391c)
st3 -nan(0x16e1cffee2663) (raw 0xffff00016e1cffee2663)
st4 -nan(0x4aee7a204aee7a2) (raw 0xffff04aee7a204aee7a2)
st5 0.1000000000000000055511151231257827 (raw 0x3ffbccccccccccccd000)
st6 -0.1000000000000000055511151231257827 (raw 0xbffbccccccccccccd000)
st7 -0.001409515428975596166693423638704985 (raw 0xbff5b8bf7d57606eb600)
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 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm6 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff),
-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr 0x1f80 8064
orig_eax 0xffffffff -1
(gdb) The program is running. Exit anyway? (y or n)
More information about the MPlayer-users
mailing list