[MPlayer-users] NOVIRUS: BUG - gmplayer crashes on mpeg videos

Loren Williams haileris at umail.ucsb.edu
Thu Oct 16 00:34:09 CEST 2003


Hi,

  I've run into a problem that consistently crashes gmplayer on my machine
whenever I play MPEG files (this problem does not occur with the command-line
version of mplayer, nor with other codecs).  It is always reproducible, and
affects all versions of mplayer back through 0.91 at least; last verification
was on today's (10/15/03) CVS snapshot.  I did report this a few days ago -
please let me know if I am rude in repeating this - I just thought that with
all the list traffic that perhaps my previous report slipped through the
cracks.

Regards,
Loren Williams

Configured with:  
./configure --prefix=/home/lorenw/software/mplayer-current --enable-gui
--enable-debug --with-codecsdir=/home/lorenw/software/MPlayer-20031015;

Hardware/system info:

Distro:
Slackware 9.0

kernel: (uname -a)
Linux viking 2.4.20 #1 Sat Apr 19 05:14:17 PDT 2003 i686 unknown

Libc 2.3.1

GCC, LD:
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2
GNU ld version 2.13.90.0.18 20030121

Binutils: GNU assembler 2.13.90.0.18 20030121

CPU: (cat /proc/cpuinfo:)
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 2
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 807.970
cache size      : 512 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 sep mtrr pge mca cmov pat
pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 1612.18

Hardware:
Video card: ATI Rage 64
Sound card: Soundblaster 16PCI
video driver: built-in X

GDB backtrace:

lorenw at viking:~/software/mplayer-current$ gdb bin/gmplayer
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) run
Starting program: /home/lorenw/software/mplayer-current/bin/gmplayer
[New Thread 16384 (LWP 21645)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /home/lorenw/software/mplayer-current/share/locale

MPlayer dev-CVS-031011-21:00-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon K75 Pluto,Orion 808.7 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
/home/lorenw/software/mplayer-current/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/lorenw/.mplayer/config
[cfg] read config file: /home/lorenw/.mplayer/gui.conf
Reading config file /home/lorenw/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/lorenw/.mplayer/codecs.conf: Can't open
'/home/lorenw/.mplayer/codecs.conf': No such file or directory
Reading /home/lorenw/software/mplayer-current/etc/mplayer/codecs.conf: Can't
open '/home/lorenw/software/mplayer-current/etc/mplayer/codecs.conf': No such
file or directory
Using built-in default codecs.conf
font: can't open file: /home/lorenw/.mplayer/font/font.desc
font: can't open file:
/home/lorenw/software/mplayer-current/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
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/lorenw/.mplayer/input.conf: No such file or
directory
Can't open input config file
/home/lorenw/software/mplayer-current/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/lorenw/.mplayer/Skin'
SKIN dir 2: '/home/lorenw/software/mplayer-current/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

Playing /media/TV Shows/SNL/SNL - A Night at the Roxbury (Jim Carrey).mpg
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1024.0 kbps (128.0 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: 24000->176400 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop 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))
==========================================================================
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 - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 352x240 => 352x264 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
A:   0.8 V:   0.5 A-V:  0.287 ct:  0.013    5/  5   0%  0%  0.0% 4 0 0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 21645)]
0x08137d8b in mpeg2_set_buf (mpeg2dec=0x85ad470, buf=0x858c720, id=0x858c700) at
decode.c:383
383         if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){
(gdb) bt
#0  0x08137d8b in mpeg2_set_buf (mpeg2dec=0x85ad470, buf=0x858c720,
id=0x858c700) at decode.c:383
#1  0x080f40ac in decode (sh=0x8590a18, data=0x3, len=140170352, flags=0) at
vd_libmpeg2.c:147
#2  0x080eed33 in decode_video (sh_video=0x8590a18, start=0x858c700 "",
in_size=140035840,
    drop_frame=0) at dec_video.c:304
#3  0x0807e34a in main (argc=1, argv=0xbffff834) at mplayer.c:2085
#4  0x40643bb4 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8137d6b to 0x8137dab:
0x8137d6b <mpeg2_set_buf+59>:   mov    (%esi),%eax
0x8137d6d <mpeg2_set_buf+61>:   test   %ecx,%ecx
0x8137d6f <mpeg2_set_buf+63>:   mov    %eax,(%edx)
0x8137d71 <mpeg2_set_buf+65>:   mov    0x4(%esi),%eax
0x8137d74 <mpeg2_set_buf+68>:   mov    %eax,0x4(%edx)
0x8137d77 <mpeg2_set_buf+71>:   mov    0x8(%esi),%eax
0x8137d7a <mpeg2_set_buf+74>:   mov    %eax,0x8(%edx)
0x8137d7d <mpeg2_set_buf+77>:   mov    0x10(%ebp),%eax
0x8137d80 <mpeg2_set_buf+80>:   mov    %eax,0xc(%edx)
0x8137d83 <mpeg2_set_buf+83>:   je     0x8137da8 <mpeg2_set_buf+120>
0x8137d85 <mpeg2_set_buf+85>:   mov    0x398(%ebx),%edx
0x8137d8b <mpeg2_set_buf+91>:   mov    (%edx),%eax
0x8137d8d <mpeg2_set_buf+93>:   test   %eax,%eax
0x8137d8f <mpeg2_set_buf+95>:   jne    0x8137da8 <mpeg2_set_buf+120>
0x8137d91 <mpeg2_set_buf+97>:   mov    (%esi),%eax
0x8137d93 <mpeg2_set_buf+99>:   movl   $0x0,0xc(%edx)
0x8137d9a <mpeg2_set_buf+106>:  mov    %eax,(%edx)
0x8137d9c <mpeg2_set_buf+108>:  mov    0x4(%esi),%eax
0x8137d9f <mpeg2_set_buf+111>:  mov    %eax,0x4(%edx)
0x8137da2 <mpeg2_set_buf+114>:  mov    0x8(%esi),%eax
0x8137da5 <mpeg2_set_buf+117>:  mov    %eax,0x8(%edx)
0x8137da8 <mpeg2_set_buf+120>:  mov    0xfffffff8(%ebp),%ebx
End of assembler dump.
(gdb) info all-registers
eax            0x858c700        140035840
ecx            0x1      1
edx            0x0      0
ebx            0x85ad470        140170352
esp            0xbfffd410       0xbfffd410
ebp            0xbfffd428       0xbfffd428
esi            0x858c720        140035872
edi            0x3      3
eip            0x8137d8b        0x8137d8b
eflags         0x210202 2163202
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
st0            -nan(0x1d8fc4f01d8fc4f)  (raw 0xffff01d8fc4f01d8fc4f)
st1            -nan(0xfe2803b1fe2803b1) (raw 0xfffffe2803b1fe2803b1)
st2            -nan(0x2b08f8fff249d1)   (raw 0xffff002b08f8fff249d1)
st3            -nan(0xff979dc800b9f264) (raw 0xffffff979dc800b9f264)
st4            -nan(0x27efb3a027efb3a)  (raw 0xffff027efb3a027efb3a)
st5            0.1000000000000000055511151231257827     (raw
0x3ffbccccccccccccd000)
st6            -0.2334667950868606622893963731257827    (raw
0xbffcef11eb6666666800)
st7            -0.21966517831733167308988496913002564   (raw
0xbffce0efe893c5941ec0)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
---Type <return> to continue, or q <return> to quit---
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,
---Type <return> to continue, or q <return> to quit---
    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 = 0x1d8fc4f01d8fc4f, v2_int32 = {0x1d8fc4f, 0x1d8fc4f},
v4_int16 = {0xfc4f,
    0x1d8, 0xfc4f, 0x1d8}, v8_int8 = {0x4f, 0xfc, 0xd8, 0x1, 0x4f, 0xfc, 0xd8,
0x1}}
mm1            {uint64 = 0xfe2803b1fe2803b1, v2_int32 = {0xfe2803b1,
0xfe2803b1}, v4_int16 = {
    0x3b1, 0xfe28, 0x3b1, 0xfe28}, v8_int8 = {0xb1, 0x3, 0x28, 0xfe, 0xb1, 0x3,
0x28, 0xfe}}
mm2            {uint64 = 0x2b08f8fff249d1, v2_int32 = {0xfff249d1, 0x2b08f8},
v4_int16 = {0x49d1,
    0xfff2, 0x8f8, 0x2b}, v8_int8 = {0xd1, 0x49, 0xf2, 0xff, 0xf8, 0x8, 0x2b,
0x0}}
mm3            {uint64 = 0xff979dc800b9f264, v2_int32 = {0xb9f264, 0xff979dc8},
v4_int16 = {
    0xf264, 0xb9, 0x9dc8, 0xff97}, v8_int8 = {0x64, 0xf2, 0xb9, 0x0, 0xc8, 0x9d,
0x97, 0xff}}
mm4            {uint64 = 0x27efb3a027efb3a, v2_int32 = {0x27efb3a, 0x27efb3a},
v4_int16 = {0xfb3a,
    0x27e, 0xfb3a, 0x27e}, v8_int8 = {0x3a, 0xfb, 0x7e, 0x2, 0x3a, 0xfb, 0x7e,
0x2}}
mm5            {uint64 = 0xccccccccccccd000, v2_int32 = {0xccccd000,
0xcccccccc}, v4_int16 = {
    0xd000, 0xcccc, 0xcccc, 0xcccc}, v8_int8 = {0x0, 0xd0, 0xcc, 0xcc, 0xcc,
0xcc, 0xcc, 0xcc}}
mm6            {uint64 = 0xef11eb6666666800, v2_int32 = {0x66666800,
0xef11eb66}, v4_int16 = {
    0x6800, 0x6666, 0xeb66, 0xef11}, v8_int8 = {0x0, 0x68, 0x66, 0x66, 0x66,
0xeb, 0x11, 0xef}}
mm7            {uint64 = 0xe0efe893c5941ec0, v2_int32 = {0xc5941ec0,
0xe0efe893}, v4_int16 = {
    0x1ec0, 0xc594, 0xe893, 0xe0ef}, v8_int8 = {0xc0, 0x1e, 0x94, 0xc5, 0x93,
0xe8, 0xef, 0xe0}}
(gdb) The program is running.  Exit anyway? (y or n) y



More information about the MPlayer-users mailing list