[MPlayer-users] Bug report

SoulEdge souledge at brujula.net
Wed Apr 3 22:01:01 CEST 2002


hi..
i've encountered what i believe is a new bug in latest MPlayer.. 


Crash description: 'framedrop' or 'hardframedrop' crash gmplayer
every time. it's a new bug. happens only with latest CVS snapshot
with a very big, heavy divx4 AVI file, the crash happens immediately
after playback start. with smaller files, crash happens upon
minimizing the output window or output windows loosing focus. 

reproducible: always. 


system: Linux-Mandrake 8.2 

[invitado at localhost backup gral]$ uname -a
Linux localhost.localdomain 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 
unknown 

/lib/libc-2.2.4.so* 


XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Build Operating System: Linux 2.4.18-1mdksmp i686 [ELF]
Module Loader present 

gcc version 3.0.4 (Mandrake Linux 8.2 3.0.4-2mdk)
GNU ld version 2.11.92.0.12 20011121 

GNU assembler 2.11.92.0.12 20011121 


[invitado at localhost backup gral]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
cpu MHz         : 400.916
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 mmx fxsr
bogomips        : 799.53 


Video Card: Intel i740 AGP 8MB Ram, built-in X driver. 

Sound Card: CreativeLabs Soundblaster 64 PCI (Ensoniq chip) 

 

 

 

(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x10035b4c to 0x10035b8c:
0x10035b4c:     addl   $0x10,(%esi)
0x10035b4f:     paddsb 0x100783c8,%mm5
0x10035b56:     paddb  0x10068388,%mm5
0x10035b5d:     punpcklbw %mm1,%mm0
0x10035b60:     punpckhbw %mm1,%mm3
0x10035b63:     movq   %mm5,%mm6
0x10035b66:     punpcklbw %mm4,%mm5
0x10035b69:     punpckhbw %mm4,%mm6
0x10035b6c:     movq   %mm0,(%edx)
0x10035b6f:     movq   %mm3,0x8(%edx)
0x10035b73:     movq   %mm5,0x10(%edx)
0x10035b77:     movq   %mm6,0x18(%edx)
0x10035b7b:     movq   (%esi),%mm0
0x10035b7e:     movq   %mm0,%mm3
0x10035b81:     psrlq  $0x20,%mm3
0x10035b85:     punpcklbw %mm3,%mm3
0x10035b88:     punpcklbw %mm0,%mm0
0x10035b8b:     psubb  0x10068388,%mm3
End of assembler dump. 

 


[invitado at localhost backup gral]$ gmplayer -v -gui -vo x11 -framedrop 


MPlayer CVS-020402-01:00-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!) 

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 
(Type: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best 
performance, recompile mplayer from sources with 
 --disable-runtime-cpudetection
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local 
display)
Reading /home/invitado/.mplayer/codecs.conf: can't open 
'/home/invitado/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-v' '-gui' '-vo' 'x11' '-framedrop'
get_path('font/font.desc') -> '/home/invitado/.mplayer/font/font.desc'
font: can't open file: /home/invitado/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/invitado/.mplayer/input.conf'
Can't open input config file /home/invitado/.mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) config
get_path('Skin') -> '/home/invitado/.mplayer/Skin'
SKIN dir 1: '/home/invitado/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[ws] Display name: :0.0 => local display.
[ws] Screen depth: 16
[ws]  size: 1024x768
[ws]  red mask: 0xf800
[ws]  green mask: 0x7e0
[ws]  blue mask: 0x1f
[ws] XShm version is 1.1
[ws] XShape version is 1.0
[ws] Initialized converter: rgb32 to rgb16
[ws] atomname: _VIDEO_REMOTE
[ws] window is created. ( ViDEO ).
[ws] atomname: _MPLAYER_REMOTE
[ws] window is created. ( MPlayer ).
[ws] atomname: _MPLAYER_MENU_REMOTE
[ws] window is created. ( MPlayer menu ).
Playing /mnt/win_c2/backup gral/Training Day 
(2001).CD1.THCiSO.ShareReactor.avi
Can't open IFO file: No existe el fichero o el directorio
Not an URL!
File size is 656291840 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23,976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 69678   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23,976
Start: 0   Len: 69678
Suggested BufferSize: 91341
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
 biSize 40
 biWidth 640
 biHeight 272
 biPlanes 1
 biBitCount 24
 biCompression 861292868='DIV3'
 biSizeImage 522240
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38,281
Start: 0   Len: 111250
Suggested BufferSize: 523
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 19999
Block align: 1152
bits/sample: 0
cbSize: 12
list_end=0x2292
list_end=0x2318
hdr=Software  size=15
Software  : Nandub v1.0rc2
hdr=Name  size=13
Name      : Training Day
hdr=Subject  size=13
Subject   : Training Day
hdr=Artist  size=26
Artist    : THCiSO - crave da nuggage
hdr=Copyright  size=1
Copyright :
hdr=Comments  size=1
Comments  :
Broken chunk?  chunksize=1248  (id=JUNK)
list_end=0x26F20504
Found movie at 0x280C - 0x26F20504
Reading INDEX block, 180928 chunks for 69678 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 180928 chunks for 69678 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x216)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=651826286
VIDEO:  [DIV3]  640x272  24bpp  23,98 fps  1794,3 kbps (219,0 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x272  fps:23,98  ftime:=0,0417
Clip info:
Software: Nandub v1.0rc2
Name: Training Day
Subject: Training Day
Artist: THCiSO - crave da nuggage
Copyright:
Comments:
get_path('sub/') -> '/home/invitado/.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
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 
(Type: 6, Stepping: 2)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 44100 Hz 160 kbit Stereo, BPF: 522
Channels: 2, copyright: No, original: Yes, CRC: Yes, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 20000->176400
==========================================================================
Requested video codec family [ffdivx] (vfm=5) not available (enable it at 
compile time!)
Opening Video Decoder: [odivx] Opendivx 0.48 codec
DivX 3.x not supported by opendivx decore - it requires divx4linux
VDecoder init failed :(
Requested video codec family [divx4] (vfm=7) not available (enable it at 
compile time!)
Opening Video Decoder: [vfw] Win32/VfW video codecs
VDec: vo config request - 640 x 272, Packed YUY2
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x272 => 640x272 BGR 32-bit
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(640x272->640x272,flags=0,'MPlayer',0x42475220)
Sharing memory.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 4 -> 4 

SwScaler: BICUBIC scaler, from BGR 32-bit to dithered BGR 16-bit using MMX
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: using MMX YV12->BGR16 Converter
SwScaler: 640x272 -> 640x272
======= Win32 (VFW) VIDEO Codec init =======
fs seg 0x406ef000
Loading DLL: 'divx.dll'
get_path('registry') -> '/home/invitado/.mplayer/registry'
ICDecompressGetFormatSize ret: 112
ICDecompressGetFormat OK
Extra info in o_bih (72 bytes)!
Starting decompression, format:
 biSize 40
 biWidth 640
 biHeight 272
 biPlanes 1
 biBitCount 24
 biCompression 0x33564944 ('DIV3')
 biSizeImage 522240
Dest fmt:
 biSize 40
 biWidth 640
 biHeight -272
 biPlanes 1
 biBitCount 32
 biCompression 0x0 ('')
 biSizeImage 696320
ICDecompressQuery OK
VIDEO CODEC Init OK!!! ;-)
INFO: Win32 video codec init OK!
Detected video codec: [divx4vfw] drv:2 prio:0 (DivX4Windows-VFW (DivX 3.x, 
DivX4))
==========================================================================
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: 128/128  (1024 bytes/frag)  free: 131072
Start playing...
*** Allocating mp_image_t, 640x272x32bpp RGB packed, 696320 bytes
X11 Window 192x248-640x272
X11 Window 192x248-640x272
X11 Window 192x248-640x272
X11 Window 192x248-640x272
XXX initial  v_pts=0,000  a_pos=9927 (0,496) /  1   0%  0%  0,0% 0 0 0%
*** Allocating mp_image_t, 640x272x32bpp RGB packed, 696320 bytes
A:   0,5 V:   0,4 A-V:  0,094 ct:  0,042   11/ 11   0%  0%  0,0% 1 0 0% 

MPlayer interrupted by signal 11 in module: decode_video
 - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with 
 --enable-debug and make a 'gdb' backtrace and disassembly. For details, see 
DOCS/bugreports.html section 5.b.
 - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer 
code _or_ in your drivers _or_ in your gcc version. If you think it's 
MPlayer's fault, please read DOCS/bugreports.html and follow instructions 
there. We can't and won't help unless you provide these informations when 
reporting a possible bug. 

*** free_stream() called ***
[mplayer] exit.
[invitado at localhost backup gral]$
____________________________________________________________________________ 

Conéctese Gratis a Internet desde http://www.brujula.net/gratis




More information about the MPlayer-users mailing list