[Mplayer-users] Live stream problem

Daniel Devost devost at astro.cornell.edu
Sun Aug 5 21:43:00 CEST 2001


Hi Arpi,

	I recompiled with -g and ran gdb. Results follow. I also included
the results of configure at the end.

> show me gdb's 'bt' output. (but recompile mplayer with -g first)

[root at localhost /root]# gdb mplayer
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 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-redhat-linux"...
(no debugging symbols found)...
(gdb) run -vo x11 http://kepler.sytes.net:8090/test1.mpg
Starting program: /usr/local/bin/mplayer -vo x11
http://kepler.sytes.net:8090/test1.mpg
[New Thread 1024 (LWP 2128)]


MPlayer 0.17cvs-010803-00:00(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)

Reading /root/.mplayer/codecs.conf: 15 audio & 34 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Extension: mpg
Connecting to server kepler.sytes.net:8090 ...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2128)]
0x402cb47f in chunk_free (ar_ptr=0x4037dcc0, p=0xfe11e2cb) at malloc.c:3134
3134	malloc.c: No such file or directory.
	in malloc.c
(gdb) bt
#0  0x402cb47f in chunk_free (ar_ptr=0x4037dcc0, p=0xfe11e2cb) at malloc.c:3134
#1  0x402cabd2 in chunk_alloc (ar_ptr=0x4037dcc0, nb=368) at malloc.c:2621
#2  0x402ca628 in __libc_malloc (bytes=364) at malloc.c:2723
#3  0x402bc2e1 in _IO_new_fopen (filename=0x40377fe7 "/etc/resolv.conf", 
    mode=0x403784f7 "r") at iofopen.c:50
#4  0x40342c04 in __res_vinit (statp=0x40383ee0, preinit=0) at res_init.c:229
#5  0x403439cd in __res_ninit (statp=0x40383ee0) at res_init.c:136
#6  0x40346d7a in __nss_hostname_digits_dots (
    name=0x81eeb58 "kepler.sytes.net", resbuf=0x403826c0, buffer=0x403826ec, 
    buffer_size=0x403826bc, buflen=0, result=0xbfffee44, status=0x0, 
    typep=0x0, flags=0, afp=0x0, h_errnop=0xbfffee48) at digits_dots.c:75
#7  0x40348204 in gethostbyname (name=0x81eeb58 "kepler.sytes.net")
    at ../nss/getXXbyYY.c:115
#8  0x08063e42 in strcpy ()
#9  0x08050a6e in strcpy ()
#10 0x402676b7 in __libc_start_main (main=0x804d6a0 <strcpy+1184>, argc=4, 
    ubp_av=0xbffffaf4, init=0x804c3b8 <_init>, fini=0x80cef70 <_fini>, 
    rtld_fini=0x4000db64 <_dl_fini>, stack_end=0xbffffaec)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 

root> ./configure --enable-stream --enable-debug=3 cc=gcc3

You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware environment!
Detected operating system: Linux
Detected host architecture: i386
Checking version of gcc ... 3.0.1, ok
GL includes not found!
Checking assembler (as) ... 2.11.90.0.8, ok
Checking mmx support in Kernel ... ok
Checking Linux kernel version ... 2.4.3-12, ok
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Checking for cpu vendor ... GenuineIntel ( 6:5:2 )
Checking for cpu type ...  Pentium II (Deschutes)
Optimizing to ... i686
Checking for mmx support ... yes
Checking for mmx2 support ... no
Checking for 3dnow support ... no
Checking for 3dnowex support ... no
Checking for sse support ... no
Checking for mtrr support ... yes
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking for X11 headers ... 
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... no
Checking for GGI ... no
Checking for OpenGL ... no
Checking for Xv ... yes
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. yes
Checking for Xf86VM ... yes
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for OSS Audio ... yes
Checking for ALSA Audio ... no
Checking for ESD Audio ... yes
Checking for Sun Audio ... no
Checking for DeCSS support ... no
Checking for PNG support ... yes
Checking for DirectShow ... yes
Checking for libavcodec ... yes
Checking for divx4linux ... no
Checking for fastmemcpy ... yes
Extra libs : -L/usr/local/lib
Extra headers : -I/usr/local/include
Creating config.h

Creating config.mak
Creating libvo/config.mak
Creating libao2/config.mak

Config files successfully generated by ./configure !
Please check config.h and config.mak files, tune CPU
and optimization flags if you don't like these defaults.
You can compile the program with 'make' and
install with  'make install'. Good luck!

Thanks again for your help,

Daniel Devost
Cornell University
108 Space Science Building
Ithaca, NY 14853
USA

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list