When playing streaming media with mpg123, I receive "*** glibc detected *** free(): invalid pointer: 0x0000000000552180 ***" Media on disk works fine. Reproducible: Always Steps to Reproduce: 1. try mpg123 http://216.218.254.98:8120/ 2. Laugh as mpg123 pukes out : High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59s-r9 (2000/Oct/27). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! *** glibc detected *** free(): invalid pointer: 0x0000000000552180 *** Aborted Actual Results: mpg123 dies Expected Results: Play streaming audio Portage 2.0.51-r12 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 x86_64) ================================================================= System uname: 2.6.10-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 28 2004, 08:02:56)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.netnitco.net ftp://194.117.143.69/mirrors/gentoo http://mir.zyrianes.net/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa apache2 berkdb bitmap-fonts cdr crypt cups dvd dvdr emul-linux-x86 encode esd f77 fam flac font-server fortran gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jp2 jpeg junit kde ldap lzw lzw-tiff mad mod motif mozilla mpeg multilib ncurses nls nptl nvidia oggvorbis opengl oss pam perl png python qt quicktime readline samba sdl ssl tcltk tcpd tiff transcode truetype truetype-fonts type1-fonts usb userlocales xine xml xml2 xmms xpm xrandr xv xvid zlib" Unset: LDFLAGS, PORTDIR_OVERLAY
Interestingly, it occurs when loading the URL: open("/etc/resolv.conf", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=24, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000 read(3, "nameserver 192.168.0.1\n\n", 4096) = 24 read(3, "", 4096) = 0 close(3) = 0 munmap(0x2a9556c000, 4096) = 0 uname({sys="Linux", node="screamer", ...}) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(8120), sin_addr=inet_addr("216.218.254.98")}, 16) = 0 write(3, "GET / HTTP/1.0\r\nUser-Agent: mpg1"..., 139) = 139 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) read(3, "H", 1) = 1 read(3, "T", 1) = 1 read(3, "T", 1) = 1 read(3, "P", 1) = 1 read(3, "/", 1) = 1 read(3, "1", 1) = 1 read(3, ".", 1) = 1 read(3, "0", 1) = 1 read(3, " ", 1) = 1 read(3, "3", 1) = 1 read(3, "0", 1) = 1 read(3, "2", 1) = 1 read(3, " ", 1) = 1 read(3, "F", 1) = 1 read(3, "o", 1) = 1 read(3, "u", 1) = 1 read(3, "n", 1) = 1 read(3, "d", 1) = 1 read(3, "\r", 1) = 1 read(3, "\n", 1) = 1 read(3, "C", 1) = 1 read(3, "o", 1) = 1 read(3, "n", 1) = 1 read(3, "t", 1) = 1 read(3, "e", 1) = 1 read(3, "n", 1) = 1 read(3, "t", 1) = 1 read(3, "-", 1) = 1 read(3, "t", 1) = 1 read(3, "y", 1) = 1 read(3, "p", 1) = 1 read(3, "e", 1) = 1 read(3, ":", 1) = 1 read(3, "t", 1) = 1 read(3, "e", 1) = 1 read(3, "x", 1) = 1 read(3, "t", 1) = 1 read(3, "/", 1) = 1 read(3, "h", 1) = 1 read(3, "t", 1) = 1 read(3, "m", 1) = 1 read(3, "l", 1) = 1 read(3, "\r", 1) = 1 read(3, "\n", 1) = 1 read(3, "L", 1) = 1 read(3, "o", 1) = 1 read(3, "c", 1) = 1 read(3, "a", 1) = 1 read(3, "t", 1) = 1 read(3, "i", 1) = 1 read(3, "o", 1) = 1 read(3, "n", 1) = 1 read(3, ":", 1) = 1 read(3, " ", 1) = 1 read(3, "h", 1) = 1 read(3, "t", 1) = 1 read(3, "t", 1) = 1 read(3, "p", 1) = 1 read(3, ":", 1) = 1 read(3, "/", 1) = 1 read(3, "/", 1) = 1 read(3, "2", 1) = 1 read(3, "0", 1) = 1 read(3, "8", 1) = 1 read(3, ".", 1) = 1 read(3, "5", 1) = 1 read(3, "3", 1) = 1 read(3, ".", 1) = 1 read(3, "1", 1) = 1 read(3, "3", 1) = 1 read(3, "1", 1) = 1 read(3, ".", 1) = 1 read(3, "5", 1) = 1 read(3, "4", 1) = 1 read(3, ":", 1) = 1 read(3, "2", 1) = 1 read(3, "1", 1) = 1 read(3, "0", 1) = 1 read(3, "0", 1) = 1 read(3, "0", 1) = 1 read(3, "\r", 1) = 1 read(3, "\n", 1) = 1 read(3, "\r", 1) = 1 read(3, "\n", 1) = 1 writev(2, [{"*** glibc detected *** ", 23}, {"free(): invalid pointer", 23}, {": 0x0000000000552180 ***\n", 25}], 3*** glibc detected *** free(): invalid pointer: 0x0000000000552180 *** ) = 71 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(21294, 21294, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++
this is not amd64 specific, x86 doesn't like the URL as well(allthough it doesn't SEGV) output on an x86 box: mike@wombat:~> mpg123 http://216.218.254.98:8120/ High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59s-mh4 (2000/Oct/27). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Too many HTTP relocations.
*** Bug 78232 has been marked as a duplicate of this bug. ***
hmm, atleast with 0.59s-r9 it works for me on amd64 as well as on x86. glibc on amd64: 2.3.4.20040808-r1
this should be fixed by just recompiling. The other issue is just an http problem... Please reopen if your problems persist.