[MPlayer-users] mplayer crashes on 1280x1024x24 SIGABRT
Marko Randjelovic
markoran at eunet.yu
Tue Aug 24 21:33:43 CEST 2004
This happens only with X running at resolution 1280x1024 and color depth
24. It disapears when i change depth to 16, or change the resolution.
The problem disapears also when i rise resolution to 1600x1200. The
problem is related to number of pixels in output window, i haven't come
to exact number, but i can tell that in 644x386 program don't crash and
in 696x416 it does crash. It also crash in 644x500.
System is Slackware 10.0 with default kernel (2.4.26). It may not be a
bug in mplayer, since i tried Mandrake 9.2 under same conditions and
everything works fine. However, i didn't find beter place to post this.
----------------------------------------------
mr at main:~$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1250840 2004-05-25 06:44 /lib/libc-2.3.2.so*
lrwxrwxrwx 1 root root 13 2004-07-11 00:54 /lib/libc.so.6 ->
libc-2.3.2.so*
mr at main:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
mr at main:~$ ld -v
GNU ld version 2.15.90.0.3 20040415
mr at main:~$ as --version
GNU assembler 2.15.90.0.3 20040415
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i486-slackware-linux'.
mr at main:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2600+
stepping : 1
cpu MHz : 2058.263
cache size : 256 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 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4102.55
----------------------------------------------
Video card: Matrox G400 DH 16MB
Driver: X built in (xorg 6.7.0)
I tried other video codecs, but in all cases either there is no output
window or the same crash ocurs.
----------------------------------------------
root at main:~/install/mplcvs/main# gdb ./mplayer
GNU gdb 6.1.1
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 "i486-slackware-linux"...Using host
libthread_db library "/lib/libthread_db.so.1".
(gdb) run -v /cdrw/test.avi
Starting program: /root/install/mplcvs/main/mplayer -v /cdrw/test.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-040822-14:12-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2625 MHz (Family:
6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '/cdrw/test.avi'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.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') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.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
get_path('test.avi.conf') -> '/root/.mplayer/test.avi.conf'
Playing /cdrw/test.avi.
[file] File size is 19706664 bytes
STREAM: [file] /cdrw/test.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x186
======= AVI Header =======
us/frame: 40001 (fps=24.999)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 3750 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 704 x 420
==========================
list_end=0x120
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: DIVX (58564944)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 25024/1001 = 24.999
Start: 0 Len: 3750
Suggested BufferSize: 21851
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 704
biHeight 420
biPlanes 1
biBitCount 24
biCompression 1482049860='DIVX'
biSizeImage 887040
===========================
Regenerating keyframe table for DIVX 4 video
======= Video Properties Header =======
Format: 0 VideoStandard: 0
VRefresh: 25 HTotal: 704 VTotal: 420
FrameAspect: 16384:9774 Framewidth: 704 Frameheight: 420
Fields: 1
== Field 0 description ==
CompressedBMHeight: 420 CompressedBMWidth: 704
ValidBMHeight: 420 ValidBMWidth: 704
ValidBMXOffset: 0 ValidBMYOffset: 0
VideoXOffsetInT: 0 VideoYValidStartLine: 0
=======================================
list_end=0x186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: P (50)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 20
Rate: 44100/1152 = 38.281
Start: 0 Len: 5741
Suggested BufferSize: 13824
Quality 0
Sample size: 0
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 80 (0x50)
Channels: 2
Samplerate: 44100
avg byte/sec: 28000
Block align: 1152
bits/sample: 0
cbSize: 0
===========================
list_end=0x1B2
hdr=Software size=23
Software : MEncoder 1.0pre5-3.3.4
list_end=0x12A61F0
Found movie at 0x100C - 0x12A61F0
Reading INDEX block, 9491 chunks for 3750 frames (fpos=0x12a61f8)
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x2E8)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=15270428 (3750) audio size=4199131 (5741)
VIDEO: [DIVX] 704x420 24bpp 24.999 fps 814.4 kbps (99.4 kbyte/s)
[V] filefmt:3 fourcc:0x58564944 size:704x420 fps:25.00 ftime:=0.0400
Clip info:
Software: MEncoder 1.0pre5-3.3.4
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
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)
==========================================================================
open: No such device
vo_mga: Couldn't open /dev/mga_vid
open: No such device
vo_mga: Couldn't open /dev/mga_vid
X11 opening display: localhost:0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 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: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer 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: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001
and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001
and bps = 2
Starting playback...
[ffmpeg] aspect_ratio: 1.676190
VDec: vo config request - 704 x 420 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.68:1 - prescaling to correct movie aspect.
VO Config (704x420->704x420,flags=0,'MPlayer',0x32315659)
VO: [xv] 704x420 => 704x420 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 69 for hw scaling
[xv] dx: 0 dy: 0 dw: 704 dh: 448
*** [vo] Allocating (slices) mp_image_t, 704x432x12bpp YUV planar,
456192 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 679 glyphs.
[xv] dx: 0 dy: 0 dw: 704 dh: 448
X11 error: BadAlloc (insufficient resources for operation)
Type: 0, display: 84f7a70, resourceid: 400001, serial: 55
Error code: b, request code: 90, minor code: 13
Program received signal SIGABRT, Aborted.
0x408641b1 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x408641b1 in kill () from /lib/libc.so.6
#1 0x401ec9c1 in pthread_kill () from /lib/libpthread.so.0
#2 0x401ecccb in raise () from /lib/libpthread.so.0
#3 0x40863df4 in raise () from /lib/libc.so.6
#4 0x408655a8 in abort () from /lib/libc.so.6
#5 0x08078af5 in x11_errorhandler (display=0x0, event=0xbfffe240) at
x11_common.c:206
#6 0x4053d984 in _XError () from /usr/X11R6/lib/libX11.so.6
#7 0x4053bee3 in _XReply () from /usr/X11R6/lib/libX11.so.6
#8 0x40537174 in XSync () from /usr/X11R6/lib/libX11.so.6
#9 0x0807f91a in flip_page () at vo_xv.c:599
#10 0x0805828b in main (argc=3, argv=0xbffff764) at mplayer.c:2283
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40864191 to 0x408641d1:
0x40864191 <sigprocmask+177>: neg %eax
0x40864193 <sigprocmask+179>: mov %eax,(%edx)
0x40864195 <sigprocmask+181>: mov $0xffffffff,%eax
0x4086419a <sigprocmask+186>: jmp 0x40864133 <sigprocmask+83>
0x4086419c <sigprocmask+188>: nop
0x4086419d <sigprocmask+189>: nop
0x4086419e <sigprocmask+190>: nop
0x4086419f <sigprocmask+191>: nop
0x408641a0 <kill+0>: mov %ebx,%edx
0x408641a2 <kill+2>: mov 0x8(%esp),%ecx
0x408641a6 <kill+6>: mov 0x4(%esp),%ebx
0x408641aa <kill+10>: mov $0x25,%eax
0x408641af <kill+15>: int $0x80
0x408641b1 <kill+17>: mov %edx,%ebx
0x408641b3 <kill+19>: cmp $0xfffff001,%eax
0x408641b8 <kill+24>: jae 0x408641bb <kill+27>
0x408641ba <kill+26>: ret
0x408641bb <kill+27>: push %ebx
0x408641bc <kill+28>: call 0x4085078d <_af_nist_default_filesetup+96013>
0x408641c1 <kill+33>: add $0x10244b,%ebx
0x408641c7 <kill+39>: xor %edx,%edx
0x408641c9 <kill+41>: sub %eax,%edx
0x408641cb <kill+43>: push %edx
0x408641cc <kill+44>: call 0x408506b8 <_af_nist_default_filesetup+95800>
End of assembler dump.
(gdb) info all-registers
eax 0x0 0
ecx 0x6 6
edx 0x401f2bc0 1075784640
ebx 0x694 1684
esp 0xbfffe00c 0xbfffe00c
ebp 0xbfffe028 0xbfffe028
esi 0x694 1684
edi 0x401f4e80 1075793536
eip 0x408641b1 0x408641b1
eflags 0x200246 2097734
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x0 0
st0 44.422656064975335032940506607701536 (raw
0x4004b1b0ccc06219b7c0)
st1 3 (raw 0x4000c000000000000000)
st2 256 (raw 0x40078000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 959.99997138977136046378291212022305 (raw
0x4008efffff8800003c00)
st5 1.0666666984558105468966840434497101 (raw
0x3fff888888cccccccccd)
st6 448 (raw 0x4007e000000000000000)
st7 1.5714285714285714286178943788208073 (raw
0x3fffc924924924924925)
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 {v4_float = {0x1c0, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0, 0x0, 0xe0, 0x43, 0x0 <repeats 12 times>},
v8_int16 = {0x0, 0x43e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 =
{0x43e00000, 0x0, 0x0, 0x0}, v2_int64 = {0x43e00000, 0x0},
uint128 = 0x00000000000000000000000043e00000}
xmm1 {v4_float = {0x2b110, 0x0, 0x0, 0x0}, v2_double = {0x0,
0x0}, v16_int8 = {0x0, 0x44, 0x2c, 0x48, 0x0 <repeats 12 times>},
v8_int16 = {0x4400, 0x482c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 =
{0x482c4400, 0x0, 0x0, 0x0}, v2_int64 = {0x482c4400, 0x0},
uint128 = 0x000000000000000000000000482c4400}
---Type <return> to continue, or q <return> to quit---
xmm2 {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}
xmm3 {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}
xmm4 {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}
xmm5 {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}
xmm6 {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}
xmm7 {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}
mxcsr 0x1fa0 8096
mm0 {uint64 = 0xb1b0ccc06219b7c0, v2_int32 = {0x6219b7c0,
0xb1b0ccc0}, v4_int16 = {0xb7c0, 0x6219, 0xccc0, 0xb1b0}, v8_int8 = {
0xc0, 0xb7, 0x19, 0x62, 0xc0, 0xcc, 0xb0, 0xb1}}
mm1 {uint64 = 0xc000000000000000, v2_int32 = {0x0,
0xc0000000}, v4_int16 = {0x0, 0x0, 0x0, 0xc000}, v8_int8 = {0x0, 0x0,
0x0, 0x0,
0x0, 0x0, 0x0, 0xc0}}
mm2 {uint64 = 0x8000000000000000, v2_int32 = {0x0,
0x80000000}, v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0,
0x0, 0x0,
0x0, 0x0, 0x0, 0x80}}
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 = 0xefffff8800003c00, v2_int32 = {0x3c00,
0xefffff88}, v4_int16 = {0x3c00, 0x0, 0xff88, 0xefff}, v8_int8 = {0x0, 0x3c,
0x0, 0x0, 0x88, 0xff, 0xff, 0xef}}
mm5 {uint64 = 0x888888cccccccccd, v2_int32 = {0xcccccccd,
0x888888cc}, v4_int16 = {0xcccd, 0xcccc, 0x88cc, 0x8888}, v8_int8 = {
0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0x88, 0x88, 0x88}}
mm6 {uint64 = 0xe000000000000000, v2_int32 = {0x0,
0xe0000000}, v4_int16 = {0x0, 0x0, 0x0, 0xe000}, v8_int8 = {0x0, 0x0,
0x0, 0x0,
0x0, 0x0, 0x0, 0xe0}}
mm7 {uint64 = 0xc924924924924925, v2_int32 = {0x24924925,
0xc9249249}, v4_int16 = {0x4925, 0x2492, 0x9249, 0xc924}, v8_int8 = {
0x25, 0x49, 0x92, 0x24, 0x49, 0x92, 0x24, 0xc9}}
More information about the MPlayer-users
mailing list