[MPlayer-users] argument parsing bug
benoit bourdin
bennyben at fleming.u-psud.fr
Fri May 10 10:42:01 CEST 2002
Hello guys,
bug reported:
argument parsing seg faults in the case of :
bennyben at masterbenny:~/softs/MPlayer-20020508$ ./mplayer -sdl:aalib
MPlayer CVS-020508-06:00-2.95.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 for x86 CPU with features: MMX
Segmentation fault (core dumped)
(but works well using the correct syntax: -vo aa, and -vo sdl)
If I recompile mplayer with --enable-debug=3 option to configure :
Core was generated by `mplayer -vm -sdl:aalib'.
Program terminated with signal 11, Segmentation fault.
#0 0x0806a8ea in play_tree_prepend_entry (pt=0x0, entry=0x0) at playtree.c:103
103 for(iter = pt ; iter->prev != NULL; iter = iter->prev)
It should be a piece of cake now :)
Good luck, you've done a good job.
Bye
System informations (if you want) :
distrib: debian 2.2 unstable (updated weekly)
bennyben at masterbenny:~/softs/MPlayer-20020508$ uname -a
Linux masterbenny 2.4.18 #1 mer mai 8 22:32:19 CEST 2002 i686 unknown
bennyben at masterbenny:~/softs/MPlayer-20020508$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1153784 avr 28 11:57 /lib/libc-2.2.5.so
lrwxrwxrwx 1 root root 14 fv 12 08:22 /lib/libc.so.5 -> libc.so.5.4.46
-rw-r--r-- 1 root root 563068 fv 4 22:30 /lib/libc.so.5.4.46
lrwxrwxrwx 1 root root 13 mai 1 02:22 /lib/libc.so.6 -> libc-2.2.5.so
bennyben at masterbenny:~/softs/MPlayer-20020508$ X -version
This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86 at XFree86.Org and patches submitted
to fixes at XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)
XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present
bennyben at masterbenny:~/softs/MPlayer-20020508$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
bennyben at masterbenny:~/softs/MPlayer-20020508$ ld -v
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
bennyben at masterbenny:~/softs/MPlayer-20020508$ as --version
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
Other informations :
X used with Xinerama (Voodoo3+TNT2 with original drivers)
bennyben at masterbenny:~/softs/MPlayer-20020508$ aalib-config --version
1.4.0
(installed from unstable debian package)
bennyben at masterbenny:~/softs/MPlayer-20020508$ sdl-config --version
1.2.4
(installed from sources with no options to configure script)
Mplayer installed from sources (CVS version)
no options to configure script
More information about the MPlayer-users
mailing list