[MPlayer-dev-eng] Fwd: [MPlayer-users] Bugreport - input.conf parser

Arpi arpi at thot.banki.hu
Sun Sep 1 00:25:52 CEST 2002


could someone looking at this?

--------- Forwarded message ---------
From: Pär Andersson <paran213 at student.liu.se>
To: mplayer-users at mplayerhq.hu
Subject: [MPlayer-users] Bugreport - input.conf parser

[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hello.

If the last line of input.conf is a comment mplayer hangs in an endless
loop.
I kill mplayer with ctrl-c. Hope the gdb-output still is is usefull.

MPlayer version: CVS (Aug 27)
Distribution: Debian testing(sarge)
Kernel: 2.4.19
libc: 2.2.5
XFree86 4.1.0.1
gcc version 2.95.4 20011002 (Debian prerelease)
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
divx5codec: 5.0.1 (2002-04-18 build)

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

Last line of input.conf:
# test

per at p250 /mnt/2/film/Blandat$ gdb mplayer
gdb: Symbol `emacs_ctlx_keymap' has different size in shared object,
consider re-linking
GNU gdb 2002-04-01-cvs
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-linux"...
(gdb) run -v Yatta.avi
Starting program: /usr/local/bin/mplayer -v Yatta.avi
[New Thread 1024 (LWP 12565)]


MPlayer CVS-020827-19:38-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping:
4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

/home/per/.mplayer/config(3): option: vo
/home/per/.mplayer/config(3): parameter: sdl
/home/per/.mplayer/config(5): option: ao
/home/per/.mplayer/config(5): parameter: oss
/home/per/.mplayer/config(7): option: osdlevel
/home/per/.mplayer/config(7): parameter: 1
Reading /home/per/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-v' 'Yatta.avi'
get_path('font/font.desc') -> '/home/per/.mplayer/font/font.desc'
Font /home/per/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (512Hz)
get_path('input.conf') -> '/home/per/.mplayer/input.conf'
Parsing input config file /home/per/.mplayer/input.conf

Program received signal SIGINT, Interrupt.
[Switching to Thread 1024 (LWP 12580)]
mp_input_parse_config (file=0x8312768 "/home/per/.mplayer/input.conf")
at input.c:1142
1142          iter++;
(gdb) bt
#0  mp_input_parse_config (file=0x8312768
"/home/per/.mplayer/input.conf") at input.c:1142
#1  0x0815a1d9 in mp_input_init () at input.c:1257
#2  0x080673be in main (argc=3, argv=0xbffffa84, envp=0xbffffa94) at
mplayer.c:754
(gdb)
#0  mp_input_parse_config (file=0x8312768
"/home/per/.mplayer/input.conf") at input.c:1142
#1  0x0815a1d9 in mp_input_init () at input.c:1257
#2  0x080673be in main (argc=3, argv=0xbffffa84, envp=0xbffffa94) at
mplayer.c:754
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8159ca0 to 0x8159ce0:
0x8159ca0 <mp_input_parse_config+512>:  (bad)
0x8159ca1 <mp_input_parse_config+513>:  (bad)
0x8159ca2 <mp_input_parse_config+514>:  decl   0xfc08401(%edx)
0x8159ca8 <mp_input_parse_config+520>:  test   %ch,%dl
0x8159caa <mp_input_parse_config+522>:  add    %al,(%eax)
0x8159cac <mp_input_parse_config+524>:  add    %bh,(%edx,%ecx,1)
0x8159caf <mp_input_parse_config+527>:  jne    0x8159c97
<mp_input_parse_config+503>
0x8159cb1 <mp_input_parse_config+529>:  mov    0xfffffe68(%ebp),%eax
0x8159cb7 <mp_input_parse_config+535>:  cmpb   $0x0,(%eax)
0x8159cba <mp_input_parse_config+538>:  je     0x8159d97
<mp_input_parse_config+759>
0x8159cc0 <mp_input_parse_config+544>:  incl   0xfffffe68(%ebp)
0x8159cc6 <mp_input_parse_config+550>:  mov    0xfffffe68(%ebp),%eax
0x8159ccc <mp_input_parse_config+556>:  mov    %eax,%ebx
0x8159cce <mp_input_parse_config+558>:  and    $0x3,%eax
0x8159cd1 <mp_input_parse_config+561>:  je     0x8159ce9
<mp_input_parse_config+585>
0x8159cd3 <mp_input_parse_config+563>:  jp     0x8159ce4
<mp_input_parse_config+580>
0x8159cd5 <mp_input_parse_config+565>:  cmp    $0x2,%eax
0x8159cd8 <mp_input_parse_config+568>:  je     0x8159cdf
<mp_input_parse_config+575>
0x8159cda <mp_input_parse_config+570>:  cmp    %ah,(%ebx)
0x8159cdc <mp_input_parse_config+572>:  je     0x8159d09
<mp_input_parse_config+617>
0x8159cde <mp_input_parse_config+574>:  inc    %ebx
0x8159cdf <mp_input_parse_config+575>:  cmp    %ah,(%ebx)
End of assembler dump.



/Pär Andersson


_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users





More information about the MPlayer-dev-eng mailing list