[MPlayer-users] MPlayer crashed by bad usage of CPU/FPU/RAM.
Carl Karsten
carl at personnelware.com
Sat Mar 13 08:21:37 CET 2004
Trying to follow the instructions at
http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_what.html and get lost after
B.4.6.2.
Here is the easy stuff:
RH9
[root at LinuxBook1 linux]# uname -a
Linux LinuxBook1 2.6.4 #6 Sat Mar 13 01:26:05 CST 2004 i686 i686 i386 GNU/Linux
[root at LinuxBook1 linux]# ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1561228 Nov 12 18:56 /lib/libc-2.3.2.so
lrwxrwxrwx 1 root root 13 Nov 14 16:02 /lib/libc.so.6 ->
libc-2.3.2.so
[root at LinuxBook1 linux]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --e
nable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab
le-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[root at LinuxBook1 linux]# ld -v
GNU ld version 2.13.90.0.18 20030206
[root at LinuxBook1 linux]# as --version
GNU assembler 2.13.90.0.18 20030206
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 `i386-redhat-linux'.
[root at LinuxBook1 linux]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 3
cpu MHz : 601.500
cache size : 128 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 sse
bogomips : 1187.84
[carl at LinuxBook1 carl]$ mplayer -v -nocache http://cware1:8000>mplayer.log 2>&1
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MPlayer dev-CVS-040312-23:49-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 601.9 MHz (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /home/carl/.mplayer/config
Reading /home/carl/.mplayer/codecs.conf: Can't open
'/home/carl/.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' '-nocache' 'http://cware1:8000'
init_freetype
Font /usr/local/share/mplayer/font/cp1250/arial-14/font.desc loaded
successfully! (233 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: No such device (mplayer should be setuid root or
/dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/carl/.mplayer/input.conf'
Parsing input config file /home/carl/.mplayer/input.conf
Input config file /home/carl/.mplayer/input.conf parsed: 53 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('cware1:8000.conf') -> '/home/carl/.mplayer/cware1:8000.conf'
Playing http://cware1:8000.
Resolving cware1 for AF_INET...
Connecting to server cware1[192.168.1.1]:8000 ...
--- HTTP DEBUG HEADER --- START ---
protocol: [HTTP/1.0]
http minor version: [0]
uri: [(null)]
method: [(null)]
status code: [200]
reason phrase: [OK]
body size: [0]
Fields:
0 - Server: icecast/1.3.12
1 - Content-Type: audio/mpeg
2 - x-audiocast-location: Niles, IL
3 - x-audiocast-admin: carl at personnelware.com
4 - x-audiocast-server-url:
http://fox.wikis.com/wc.dll?Wiki~ChicagoFUDG~VFP#audio
5 - x-audiocast-mount:/icy_0
6 - x-audiocast-name:Carls Noise
7 - x-audiocast-description:Icy protocol in use
8 - x-audiocast-url:http://localhost/
9 - x-audiocast-genre:Random genre
10 - x-audiocast-bitrate:128
11 - x-audiocast-public:0
--- HTTP DEBUG HEADER --- END ---
MPlayer interrupted by signal 11 in module: open_stream
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
vo: x11 uninit called but X11 not inited..
(gdb) run -v -nocache http://cware1:8000
(same as above)
--- HTTP DEBUG HEADER --- END ---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1078549600 (LWP 2003)]
0x08179c87 in autodetectProtocol (streaming_ctrl=0x84e3dc8, fd_out=0x84e69e4,
file_format=0xbfffe960) at network.c:786
786 return -1;
(gdb) bt
#0 0x08179c87 in autodetectProtocol (streaming_ctrl=0x84e3dc8,
fd_out=0x84e69e4, file_format=0xbfffe960) at network.c:786
#1 0x0817a743 in streaming_start (stream=0x84e69d0, demuxer_type=0xbfffe960,
url=0x1) at network.c:1174
#2 0x081475be in open_stream (filename=0x84e3dc8 "\030>N\b", options=0x1,
file_format=0xbfffe960) at open.c:523
#3 0x080713b7 in main (argc=4, argv=0xbffffb14) at mplayer.c:1297
#4 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8179c67 to 0x8179ca7:
0x08179c67 <autodetectProtocol+1223>: xlat %fs:(%ebx)
0x08179c69 <autodetectProtocol+1225>: xor $0x8,%al
0x08179c6b <autodetectProtocol+1227>: mov %eax,(%esp,1)
0x08179c6e <autodetectProtocol+1230>: call 0x819a010 <http_get_field>
0x08179c73 <autodetectProtocol+1235>: cld
0x08179c74 <autodetectProtocol+1236>: mov %eax,%esi
0x08179c76 <autodetectProtocol+1238>: mov $0x834d772,%eax
0x08179c7b <autodetectProtocol+1243>: mov %eax,%edi
0x08179c7d <autodetectProtocol+1245>: mov $0x5,%ecx
0x08179c82 <autodetectProtocol+1250>: mov $0x1,%eax
0x08179c87 <autodetectProtocol+1255>: repz cmpsb %es:(%edi),%ds:(%esi)
0x08179c89 <autodetectProtocol+1257>: cmovne 0xffffffe4(%ebp),%eax
0x08179c8d <autodetectProtocol+1261>: mov %eax,0xffffffe4(%ebp)
0x08179c90 <autodetectProtocol+1264>: jmp 0x8179913
<autodetectProtocol+371>
0x08179c95 <autodetectProtocol+1269>: mov 0xffffffec(%ebp),%edx
0x08179c98 <autodetectProtocol+1272>: mov %edx,(%esp,1)
0x08179c9b <autodetectProtocol+1275>: call 0x806e5f8 <close>
0x08179ca0 <autodetectProtocol+1280>: movl $0x0,(%esp,1)
End of assembler dump.
(gdb) info all-registers
eax 0x1 1
ecx 0x5 5
edx 0x40495c4c 1078549580
ebx 0x84e3e18 139345432
esp 0xbfffe6c0 0xbfffe6c0
ebp 0xbfffe6f8 0xbfffe6f8
esi 0x0 0
edi 0x834d772 137680754
eip 0x8179c87 0x8179c87
eflags 0x210286 2163334
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
st0 0 (raw 0x00000000000000000000)
st1 0 (raw 0x00000000000000000000)
st2 0 (raw 0x00000000000000000000)
st3 0 (raw 0x00000000000000000000)
st4 0 (raw 0x00000000000000000000)
st5 0 (raw 0x00000000000000000000)
st6 640 (raw 0x4008a000000000000000)
st7 192 (raw 0x4006c000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x73 115
fioff 0x809387f 134822015
foseg 0x7b 123
fooff 0xbfffde7c -1073750404
fop 0x19d 413
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, 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 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6 {uint64 = 0xa000000000000000, v2_int32 = {0x0, 0xa0000000},
v4_int16 = {0x0, 0x0, 0x0, 0xa000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xa0}}
mm7 {uint64 = 0xc000000000000000, v2_int32 = {0x0, 0xc0000000},
v4_int16 = {0x0, 0x0, 0x0, 0xc000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xc0}}
Not sure what to do next.
Carl K
More information about the MPlayer-users
mailing list