[MPlayer-users] crachbug with gmplayer and latest cvs

Thomas Lindroth tholi945 at student.liu.se
Sun Nov 2 16:46:06 CET 2003


A reacent change in cvs makes gmplayer crach when playing mpg files.
It did not crach a week ago.
It only crach with gmplayer and mpg files.

(gdb) file gmplayer
Reading symbols from gmplayer...done.
(gdb) run
Starting program: /usr/local/bin/gmplayer
[New Thread 1085818592 (LWP 14414)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-031102-15:04-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon Thunderbird 1009 MHz (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.conf: Filen eller katalogen finns inte
Reading config file /home/cocobo/.mplayer/config
[cfg] read config file: /home/cocobo/.mplayer/gui.conf
Reading config file /home/cocobo/.mplayer/gui.conf
vo: X11 running at 1400x1050 with depth 24 and 32 bpp (":0.0" => local display)
xscreensaver_disable: Could not find xscreensaver window.
Reading /home/cocobo/.mplayer/codecs.conf: Can't open '/home/cocobo/.mplayer/codecs.conf': Filen eller katalogen finns inte
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': Filen eller katalogen finns inte
Using built-in default codecs.conf.
/home/cocobo/.mplayer/subfont.ttf doesn't look like a font description, ignoring
Cannot load font: /home/cocobo/.mplayer/subfont.ttf
Linux RTC init error in ioctl (rtc_irqp_set 1024): Åtkomst nekas
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/cocobo/.mplayer/input.conf: Filen eller katalogen finns inte
Can't open input config file /usr/local/etc/mplayer/input.conf: Filen eller katalogen finns inte
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/cocobo/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[gui] add video filter: pp

Playing /mnt/waredisk/enterprise.s03e07.the.shipment-ftv.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29,970 fps  1150,0 kbps (143,8 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: 28000->176400 (224,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [pp]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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))
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
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)
[pl_volnorm] Normalizer plugin in use.
AO: [plugin] 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 - 352 x 240 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12
xscreensaver_disable: Could not find xscreensaver window.
A:   0,5 V:   0,3 A-V:  0,243 ct:  0,007    3/  3   0%  0%  0,0% 2 5 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085818592 (LWP 14414)]
0x0813a98b in mpeg2_set_buf (mpeg2dec=0x85916f0, buf=0x85b9748, id=0x85b9728)
    at decode.c:383
383         if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){
(gdb) bt
#0  0x0813a98b in mpeg2_set_buf (mpeg2dec=0x85916f0, buf=0x85b9748, id=0x85b9728)
    at decode.c:383
#1  0x080f696c in decode (sh=0x85b94f0, data=0x3, len=140056304, flags=0)
    at vd_libmpeg2.c:147
#2  0x080f15f3 in decode_video (sh_video=0x85b94f0, start=0x85b9728 "",
    in_size=140220200, drop_frame=0) at dec_video.c:304
#3  0x0807f26a in main (argc=1, argv=0xbffff7c4) at mplayer.c:2097
#4  0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x813a96b to 0x813a9ab:
0x0813a96b <mpeg2_set_buf+59>:  mov    (%esi),%eax
0x0813a96d <mpeg2_set_buf+61>:  test   %ecx,%ecx
0x0813a96f <mpeg2_set_buf+63>:  mov    %eax,(%edx)
0x0813a971 <mpeg2_set_buf+65>:  mov    0x4(%esi),%eax
0x0813a974 <mpeg2_set_buf+68>:  mov    %eax,0x4(%edx)
0x0813a977 <mpeg2_set_buf+71>:  mov    0x8(%esi),%eax
0x0813a97a <mpeg2_set_buf+74>:  mov    %eax,0x8(%edx)
0x0813a97d <mpeg2_set_buf+77>:  mov    0x10(%ebp),%eax
0x0813a980 <mpeg2_set_buf+80>:  mov    %eax,0xc(%edx)
0x0813a983 <mpeg2_set_buf+83>:  je     0x813a9a8 <mpeg2_set_buf+120>
0x0813a985 <mpeg2_set_buf+85>:  mov    0x398(%ebx),%edx
0x0813a98b <mpeg2_set_buf+91>:  mov    (%edx),%eax
0x0813a98d <mpeg2_set_buf+93>:  test   %eax,%eax
0x0813a98f <mpeg2_set_buf+95>:  jne    0x813a9a8 <mpeg2_set_buf+120>
0x0813a991 <mpeg2_set_buf+97>:  mov    (%esi),%eax
0x0813a993 <mpeg2_set_buf+99>:  movl   $0x0,0xc(%edx)
0x0813a99a <mpeg2_set_buf+106>: mov    %eax,(%edx)
0x0813a99c <mpeg2_set_buf+108>: mov    0x4(%esi),%eax
0x0813a99f <mpeg2_set_buf+111>: mov    %eax,0x4(%edx)
0x0813a9a2 <mpeg2_set_buf+114>: mov    0x8(%esi),%eax
0x0813a9a5 <mpeg2_set_buf+117>: mov    %eax,0x8(%edx)
0x0813a9a8 <mpeg2_set_buf+120>: mov    0xfffffff8(%ebp),%ebx
End of assembler dump.
(gdb) info all-registers
eax            0x85b9728        140220200
ecx            0x1      1
edx            0x0      0
ebx            0x85916f0        140056304
esp            0xbfffd3a0       0xbfffd3a0
ebp            0xbfffd3b8       0xbfffd3b8
esi            0x85b9748        140220232
edi            0x3      3
eip            0x813a98b        0x813a98b
eflags         0x210202 2163202
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x33     51
st0            -0e+4922 (raw 0xffff0000000000000000)
st1            -0e+4922 (raw 0xffff0000000000000000)
st2            -0e+4922 (raw 0xffff0000000000000000)
st3            -0e+4922 (raw 0xffff0000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0.1000000000000000055511151231257827     (raw 0x3ffbccccccccccccd000)
st6            -0.1667333975434303339202557481257827    (raw 0xbffcaabc28e666666800)
st7            -0.16144857541233503900822941756754147   (raw 0xbffca552c67d86ee6046)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
---Type <return> to continue, or q <return> to quit---
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,
---Type <return> to continue, or q <return> to quit---
    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
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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0},
  v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000, 0xcccccccc},
---Type <return> to continue, or q <return> to quit---
  v4_int16 = {0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc,
    0xcc, 0xcc, 0xcc}}
mm6            {uint64 = 0xaabc28e666666800, v2_int32 = {0x66666800, 0xaabc28e6},
  v4_int16 = {0x6800, 0x6666, 0x28e6, 0xaabc}, v8_int8 = {0x0, 0x68, 0x66, 0x66, 0xe6,
    0x28, 0xbc, 0xaa}}
mm7            {uint64 = 0xa552c67d86ee6046, v2_int32 = {0x86ee6046, 0xa552c67d},
  v4_int16 = {0x6046, 0x86ee, 0xc67d, 0xa552}, v8_int8 = {0x46, 0x60, 0xee, 0x86, 0x7d,
    0xc6, 0x52, 0xa5}}




More information about the MPlayer-users mailing list