[MPlayer-users] bugreport: crash with -fs
Dietmar Hofer
didi at a-t-s.at
Thu Nov 17 11:54:56 CET 2005
With new CVS versions my mplayer always crashes when switching to fullscreen.
This happens if I give "-fs" at command line and if I switch to fullscreen
with "f" while playing.
It happens with all movie files I tried with.
With the CVS version of 2005.08.01 it works (compiled on the same machine in
the same environment).
I try my best to give all necessary information, since this is my 1st
bugreport here. Please advice me if I miss something.
uname -a:
Linux linux 2.6.11.4-21.9-default #1 Fri Aug 19 11:58:59 UTC 2005 i686 i686
i386 GNU/Linux
ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1383527 2005-06-14 17:36 /lib/libc.so.6
X Window System Version 6.8.2
gcc:
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
ld:
GNU ld version 2.15.94.0.2.2 20041220 (SuSE Linux)
as:
GNU assembler 2.15.94.0.2.2 20041220 (SuSE Linux)
WM:
KDE 3.4.0 level "b"
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Celeron(R) CPU 2.80GHz
stepping : 1
cpu MHz : 2793.881
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni monitor ds_cpl
tm2 cid xtpr
bogomips : 5521.40
VGA-card:
0000:00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
Express Chipset Family Graphics Controller (rev 0e)
X-driver:
i810 (Xorg)
A gdb-log is attached as "mplayer.bug"
-------------- next part --------------
didi at linux:/store/src/mplayer-current> gdb ./mplayer
GNU gdb 6.3
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -v vo x11 /server/nfs/testfiles/misc/1984.apple_ad.mov
Starting program: /store/src/mplayer-current/mplayer -v vo x11 /server/nfs/testfiles/misc/1984.apple_ad.mov
[Thread debugging using libthread_db enabled]
[New Thread 1084216192 (LWP 28514)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-051116-10:00-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale (Family: 15, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
CommandLine: '-v' 'vo' 'x11' '/server/nfs/testfiles/misc/1984.apple_ad.mov'
init_freetype
get_path('font/font.desc') -> '/home/didi/.mplayer/font/font.desc'
font: can't open file: /home/didi/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/didi/.mplayer/input.conf'
Can't open input config file /home/didi/.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
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('vo.conf') -> '/home/didi/.mplayer/vo.conf'
Playing vo.
File not found: 'vo'
Failed to open vo
get_path('x11.conf') -> '/home/didi/.mplayer/x11.conf'
Playing x11.
File not found: 'x11'
Failed to open x11
get_path('1984.apple_ad.mov.conf') -> '/home/didi/.mplayer/1984.apple_ad.mov.conf'
Playing /server/nfs/testfiles/misc/1984.apple_ad.mov.
get_path('sub/') -> '/home/didi/.mplayer/sub/'
[file] File size is 13746468 bytes
STREAM: [file] /server/nfs/testfiles/misc/1984.apple_ad.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /server/nfs/testfiles/misc/1984.apple_ad.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
Quicktime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600 dur=35850
--------------
MOV: Track #0:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=35850 lay=0 vol=0
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 35850 start time: 0 speed: 1.0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV: Media info!
MOV: Video header!
MOV: Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: cvid (70 bytes)
MOV: Sample duration table! (1 blocks)
MOV: Syncing samples (keyframes) table! (29 entries) (ver:0,flags:0)
MOV: Sample->Chunk mapping table! (213 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=1434 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (239 chunks)
MOV track #0: 239 chunks, 1434 samples
pts=35850 scale=600 time=59.750
EL#0: pts=0 1st_sample=0 frames=1434 (59.750s) pts_offs=0
==> Found video stream: 0
Image size: 320 x 236 (24 bpp)
Display size: 320 x 236
Fourcc: cvid Codec: 'Compact Video'
--------------
MOV: Track #1:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=35850 lay=0 vol=255
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 35850 start time: 0 speed: 1.0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV: Media info!
MOV: Sound header!
MOV: Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: raw (20 bytes)
MOV: Sample duration table! (1 blocks)
MOV: Sample->Chunk mapping table! (2 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=1333620 ss=1) (ver:0,flags:0)
MOV: Chunk offset table! (120 chunks)
MOV track #1: 120 chunks, 0 samples
pts=1333620 scale=22320 time=59.750
==> Found audio stream: 1
Audio bits: 8 chans: 1 rate: 22320
Fourcc: raw
--------------
Quicktime Clip Info:
MOV: longest streams: A: #1 (120 samples) V: #0 (1434 samples)
VIDEO: [cvid] 320x236 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x64697663 size:320x236 fps:24.00 ftime:=0.0417
get_path('sub/') -> '/home/didi/.mplayer/sub/'
get_path('default.sub') -> '/home/didi/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 22320 Hz, 1 ch, u8, 178.6 kbit/100.00% (ratio: 22320->22320)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffcvid] vfm: ffmpeg (Cinepak Video (native codec))
==========================================================================
Building audio filter chain for 22320Hz/1ch/u8 -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 22320Hz/1ch/u8
[dummy] Was reinitialized: 22320Hz/1ch/u8
ao2: 22320 Hz 1 chans u8
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: u8 (requested: u8)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 22320 Hz samplerate (requested: 22320)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 22320Hz 1ch u8 (1 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22320Hz/1ch/u8 -> 22320Hz/1ch/u8...
[dummy] Was reinitialized: 22320Hz/1ch/u8
[dummy] Was reinitialized: 22320Hz/1ch/u8
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 236 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x236->320x236,flags=4,'MPlayer',0x32315659)
VO: [x11] 320x236 => 320x236 Planar YV12 [zoom]
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
get_path('subfont.ttf') -> '/home/didi/.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.
A: 2.2 V: 2.2 A-V: 0.010 ct: 0.004 54/ 54 5% 5% 0.0% 0 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1084216192 (LWP 28514)]
0x081b3612 in hScale_MMX2 (dst=<value optimized out>, dstW=0, src=0xa0 <Address 0xa0 out of bounds>, srcW=Cannot access memory at address 0xfffffc08
)
at swscale_template.c:2048
2048 asm volatile(
(gdb) bt
#0 0x081b3612 in hScale_MMX2 (dst=<value optimized out>, dstW=0, src=0xa0 <Address 0xa0 out of bounds>, srcW=Cannot access memory at address 0xfffffc08
)
at swscale_template.c:2048
Cannot access memory at address 0xfffffc00
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81b35f2 to 0x81b3632:
0x081b35f2 <hScale_MMX2+267>: push %ebp
0x081b35f3 <hScale_MMX2+268>: mov %eax,%ebp
0x081b35f5 <hScale_MMX2+270>: lea 0x0(%esi),%esi
0x081b35f9 <hScale_MMX2+274>: lea 0x0(%edi),%edi
0x081b3600 <hScale_MMX2+281>: movzwl (%edx,%ebp,1),%eax
0x081b3604 <hScale_MMX2+285>: movzwl 0x2(%edx,%ebp,1),%ebx
0x081b3609 <hScale_MMX2+290>: movq (%ecx,%ebp,4),%mm1
0x081b360d <hScale_MMX2+294>: movq 0x8(%ecx,%ebp,4),%mm3
0x081b3612 <hScale_MMX2+299>: movd (%esi,%eax,1),%mm0
0x081b3616 <hScale_MMX2+303>: movd (%esi,%ebx,1),%mm2
0x081b361a <hScale_MMX2+307>: punpcklbw %mm7,%mm0
0x081b361d <hScale_MMX2+310>: punpcklbw %mm7,%mm2
0x081b3620 <hScale_MMX2+313>: pmaddwd %mm1,%mm0
0x081b3623 <hScale_MMX2+316>: pmaddwd %mm2,%mm3
0x081b3626 <hScale_MMX2+319>: psrad $0x8,%mm0
0x081b362a <hScale_MMX2+323>: psrad $0x8,%mm3
0x081b362e <hScale_MMX2+327>: packssdw %mm3,%mm0
0x081b3631 <hScale_MMX2+330>: pmaddwd %mm6,%mm0
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x862fd10 140705040
edx 0x862d4b0 140694704
ebx 0x0 0
esp 0xbfffd79c 0xbfffd79c
ebp 0xfffffc00 0xfffffc00
esi 0xa0 160
edi 0x867ce38 141020728
eip 0x81b3612 0x81b3612
eflags 0x10203 66051
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 -nan(0x4080408040804080) (raw 0xffff4080408040804080)
st1 -nan(0x0fa91456f) (raw 0xffff00000000fa91456f)
st2 -nan(0x81008100810081) (raw 0xffff0081008100810081)
st3 -nan(0x0fee04120) (raw 0xffff00000000fee04120)
st4 682 (raw 0x4008aa80000000000000)
st5 0.5 (raw 0x3ffe8000000000000000)
st6 -nan(0x2000200020002) (raw 0xffff0002000200020002)
st7 <invalid float value> (raw 0xffff0000000000000000)
fctrl 0x37f 895
fstat 0x420 1056
ftag 0xa0aa 41130
fiseg 0x73 115
fioff 0x81b9bbd 136027069
foseg 0x7b 123
fooff 0xbfffd8dc -1073751844
fop 0x1ca 458
xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
uint128 = 0x00000000000000000000000000000000}
xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {
---Type <return> to continue, or q <return> to quit---q
More information about the MPlayer-users
mailing list