Looks like you are you using Debian or derivative. I can't reproduce the glibc error on Debian/SID with wget 1.14, having the same compile/link options.
But there are other issues. - wget1.14 doesn't follow the redirections (IDN problem ?) - valgrind throws 'Invalid read of size 1' and 'Address 0x4c6d590 is 0 bytes inside a block of size 72 free'd' - using -d throws *** glibc detected *** wget: free(): invalid pointer: 0x00000000009bc520 *** At least the IDN escaping issue can be followed by -d (relevant snippet): ---request begin--- GET /What-is-the-story-behind-Github%E2%80%99s-octocat-mascot HTTP/1.1 User-Agent: Wget/1.14 (linux-gnu) Accept: */* Host: www.quora.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 301 Moved Permanently Cache-Control: private, no-store, max-age=0, no-cache, must-revalidate, post- check=0, pre-check=0 Date: Thu, 25 Oct 2012 08:14:03 GMT Expires: Fri, 01 Jan 1990 00:00:00 GMT Location: http://www.quora.com/What-is-the-story-behind-GitHubâs-octocat- mascot Pragma: no-cache Server: PasteWSGIServer/0.5 Python/2.7.2 transfer-encoding: chunked Connection: keep-alive ---response end--- 301 Moved Permanently Registered socket 3 for persistent reuse. Location: http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s- octocat-mascot [following] ] done. URI content encoding = None --2012-10-25 10:14:03-- http://www.quora.com/What-is-the-story-behind- GitHub%C3%A2%C2%80%C2%99s-octocat-mascot Reusing existing connection to www.quora.com:80. Reusing fd 3. ---request begin--- GET /What-is-the-story-behind-GitHub%C3%A2%C2%80%C2%99s-octocat-mascot HTTP/1.1 User-Agent: Wget/1.14 (linux-gnu) Accept: */* Host: www.quora.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 404 Not Found Looks a bit like a double escaping issue... I just don't have the time to dig deeper... Tim Am Wednesday 24 October 2012 schrieb Nils Dagsson Moskopp: > desudesudesu /tmp > 1110 /tmp % wget > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot 2012-10-24 21:59:05 erlehmann pts/8 --2012-10-24 21:59:11-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Auflösen des Hostnamen »www.quora.com (www.quora.com)«... 50.17.246.73 > Verbindungsaufbau zu www.quora.com (www.quora.com)|50.17.246.73|:80... > verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved > Permanently Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] --2012-10-24 21:59:12-- > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 302 Found Platz: > http://www.quora.com/GitHub/What-is-the-story-behind-GitHub%E2%80%99s-octoc > at-mascot[folge] idn_encode fehlgeschlagen (1): »String preparation failed« > --2012-10-24 21:59:12-- > http://%08%F0%F3z%B7ww.quora.com/What-is-the-story-behind-GitHub%E2%80%99s- > octocat-mascot Auflösen des Hostnamen »\b\360\263\272\267ww.quora.com > (\b\360\363z\267ww.quora.com)«... fehlgeschlagen: Der Name oder der > Dienst ist nicht bekannt. wget: kann die Host-Adresse > »»\b\360\363z\267ww.quora.com«« nicht auflösen --2012-10-24 21:59:12-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently > Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] idn_encode fehlgeschlagen (1): »String preparation failed« > --2012-10-24 21:59:12-- > http://%B7%F0%F3z%B7ww.quora.com/GitHub/What-is-the-story-behind-GitHub%E2% > 80%99s-octocat-mascot Auflösen des Hostnamen »�\360\263\272\267ww.quora.com > (\267\360\363z\267ww.quora.com)«... fehlgeschlagen: Der Name oder der > Dienst ist nicht bekannt. wget: kann die Host-Adresse > »»\267\360\363z\267ww.quora.com«« nicht auflösen --2012-10-24 > 21:59:12-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently > Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] idn_encode fehlgeschlagen (1): »String preparation failed« > --2012-10-24 21:59:12-- > http://%B7%F0%F3z%B7ww.quora.com/What-is-the-story-behind-GitHub%E2%80%99s- > octocat-mascot Auflösen des Hostnamen »�\360\263\272\267ww.quora.com > (\267\360\363z\267ww.quora.com)«... fehlgeschlagen: Der Name oder der > Dienst ist nicht bekannt. wget: kann die Host-Adresse > »»\267\360\363z\267ww.quora.com«« nicht auflösen --2012-10-24 > 21:59:12-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently > Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] idn_encode fehlgeschlagen (1): »String preparation failed« > --2012-10-24 21:59:13-- > http://%08%F0%F3z%B7ww.quora.com/What-is-the-story-behind-GitHub%E2%80%99s- > octocat-mascot Auflösen des Hostnamen »\b\360\263\272\267ww.quora.com > (\b\360\363z\267ww.quora.com)«... fehlgeschlagen: Der Name oder der > Dienst ist nicht bekannt. wget: kann die Host-Adresse > »»\b\360\363z\267ww.quora.com«« nicht auflösen --2012-10-24 21:59:13-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently > Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] --2012-10-24 21:59:13-- > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 302 Found Platz: > http://www.quora.com/GitHub/What-is-the-story-behind-GitHub%E2%80%99s-octoc > at-mascot[folge] idn_encode fehlgeschlagen (1): »String preparation failed« > --2012-10-24 21:59:13-- > http://1e%08%F0%F3z%B7ww.quora.com/What-is-the-story-behind-GitHub%E2%80%99 > s-octocat-mascot Auflösen des Hostnamen »1e\b\360\263\272\267ww.quora.com > (1e\b\360\363z\267ww.quora.com)«... fehlgeschlagen: Der Name oder der > Dienst ist nicht bekannt. wget: kann die Host-Adresse > »»1e\b\360\363z\267ww.quora.com«« nicht auflösen --2012-10-24 > 21:59:13-- > http://www.quora.com/What-is-the-story-behind-Github%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently > Platz: > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot[folge] --2012-10-24 21:59:13-- > http://www.quora.com/What-is-the-story-behind-GitHub%E2%80%99s-octocat-masc > ot Wiederverwendung der bestehenden Verbindung zu www.quora.com:80. > HTTP-Anforderung gesendet, warte auf Antwort... 302 Found Platz: > http://www.quora.com/GitHub/What-is-the-story-behind-GitHub%E2%80%99s-octoc > at-mascot[folge] *** glibc detected *** wget: munmap_chunk(): invalid > pointer: > 0x081e8ae8 *** ======= Backtrace: > ========= /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6e3b1)[0xb74c33b1] > /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6f62e)[0xb74c462e] > wget[0x806da6b] ======= Memory map: ======== 08048000-0809f000 r-xp > 00000000 fe:02 137216 /usr/bin/wget 0809f000-080a0000 r--p 00057000 > fe:02 137216 /usr/bin/wget 080a0000-080a4000 rw-p 00058000 fe:02 > 137216 /usr/bin/wget 080a4000-080a9000 rw-p 00000000 00:00 0 > 081e4000-08205000 rw-p 00000000 00:00 0 [heap] > b7195000-b71b1000 r-xp 00000000 fe:01 > 474 /lib/i386-linux-gnu/libgcc_s.so.1 b71b1000-b71b2000 rw-p > 0001b000 fe:01 474 /lib/i386-linux-gnu/libgcc_s.so.1 > b71b2000-b71d1000 r--p 00000000 fe:02 > 153547 /usr/share/locale/de/LC_MESSAGES/libc.mo b71d1000-b71e1000 > r-xp 00000000 fe:01 > 33030 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so > b71e1000-b71e2000 r--p 00010000 fe:01 > 33030 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so > b71e2000-b71e3000 rw-p 00011000 fe:01 > 33030 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so > b71e3000-b71e5000 rw-p 00000000 00:00 0 b71e5000-b71e9000 r-xp 00000000 > fe:01 33463 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so > b71e9000-b71ea000 r--p 00004000 fe:01 > 33463 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so > b71ea000-b71eb000 rw-p 00005000 fe:01 > 33463 /lib/i386-linux-gnu/i686/cmov/libnss_dns-2.13.so > b71eb000-b71f5000 r-xp 00000000 fe:01 > 33387 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so > b71f5000-b71f6000 r--p 00009000 fe:01 > 33387 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so > b71f6000-b71f7000 rw-p 0000a000 fe:01 > 33387 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so > b7211000-b7411000 r--p 00000000 fe:02 > 442901 /usr/lib/locale/locale-archive b7411000-b7413000 rw-p > 00000000 00:00 0 b7413000-b7415000 r-xp 00000000 fe:01 > 33010 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so > b7415000-b7416000 r--p 00001000 fe:01 > 33010 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so > b7416000-b7417000 rw-p 00002000 fe:01 > 33010 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so > b7417000-b7427000 r-xp 00000000 fe:02 > 388308 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 > b7427000-b7428000 r--p 00010000 fe:02 > 388308 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 > b7428000-b7429000 rw-p 00011000 fe:02 > 388308 /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0 > b7429000-b743e000 r-xp 00000000 fe:01 > 32998 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so > b743e000-b743f000 r--p 00014000 fe:01 > 32998 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so > b743f000-b7440000 rw-p 00015000 fe:01 > 32998 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so > b7440000-b7442000 rw-p 00000000 00:00 0 b7442000-b7452000 r-xp 00000000 > fe:02 387854 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 > b7452000-b7453000 r--p 0000f000 fe:02 > 387854 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 b7453000-b7454000 > rw-p 00010000 fe:02 > 387854 /usr/lib/i386-linux-gnu/libtasn1.so.3.1.16 b7454000-b7455000 > rw-p 00000000 00:00 0 b7455000-b75ab000 r-xp 00000000 fe:01 > 33385 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b75ab000-b75ac000 > ---p 00156000 fe:01 > 33385 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b75ac000-b75ae000 > r--p 00156000 fe:01 > 33385 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b75ae000-b75af000 > rw-p 00158000 fe:01 > 33385 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so b75af000-b75b2000 > rw-p 00000000 00:00 0 b75b2000-b75b9000 r-xp 00000000 fe:01 > 33471 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so > b75b9000-b75ba000 r--p 00006000 fe:01 > 33471 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so > b75ba000-b75bb000 rw-p 00007000 fe:01 > 33471 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so > b75bb000-b75ec000 r-xp 00000000 fe:02 > 387947 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 b75ec000-b75ed000 > r--p 00031000 fe:02 387947 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 > b75ed000-b75ee000 rw-p 00032000 fe:02 > 387947 /usr/lib/i386-linux-gnu/libidn.so.11.6.8 b75ee000-b7605000 > r-xp 00000000 fe:01 26 /lib/i386-linux-gnu/libz.so.1.2.7 > b7605000-b7606000 r--p 00016000 fe:01 > 26 /lib/i386-linux-gnu/libz.so.1.2.7 b7606000-b7607000 rw-p > 00017000 fe:01 26 /lib/i386-linux-gnu/libz.so.1.2.7 > b7607000-b760a000 r-xp 00000000 fe:01 > 132 /lib/i386-linux-gnu/libgpg-error.so.0.8.0 b760a000-b760b000 > rw-p 00002000 fe:01 > 132 /lib/i386-linux-gnu/libgpg-error.so.0.8.0 b760b000-b760c000 > rw-p 00000000 00:00 0 b760c000-b768e000 r-xp 00000000 fe:01 > 246 /lib/i386-linux-gnu/libgcrypt.so.11.7.0 b768e000-b7691000 > rw-p 00081000 fe:01 246 /lib/i386-linux-gnu/libgcrypt.so.11.7.0 > b7691000-b7753000 r-xp 00000000 fe:02 > 387922 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 > b7753000-b7757000 r--p 000c2000 fe:02 > 387922 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 > b7757000-b7758000 rw-p 000c6000 fe:02 > 387922 /usr/lib/i386-linux-gnu/libgnutls.so.26.22.4 > b7758000-b7759000 rw-p 00000000 00:00 0 b7759000-b775b000 r-xp 00000000 > fe:01 2346 /lib/libnss_mdns4.so.2 b775b000-b775c000 rw-p 00001000 > fe:01 2346 /lib/libnss_mdns4.so.2 b775c000-b775e000 r-xp 00000000 > fe:01 2348 /lib/libnss_mdns4_minimal.so.2 b775e000-b775f000 rw-p > 00001000 fe:01 2348 /lib/libnss_mdns4_minimal.so.2 > b775f000-b7766000 r--s 00000000 fe:02 > 424165 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache > b7766000-b7773000 r--p 00000000 fe:02 > 137284 /usr/share/locale/de/LC_MESSAGES/wget.mo b7773000-b7775000 > rw-p 00000000 00:00 0 b7775000-b7776000 r-xp 00000000 00:00 0 > [vdso] b7776000-b7792000 r-xp 00000000 fe:01 > 457 /lib/i386-linux-gnu/ld-2.13.so b7792000-b7793000 r--p > 0001b000 fe:01 457 /lib/i386-linux-gnu/ld-2.13.so > b7793000-b7794000 rw-p 0001c000 fe:01 > 457 /lib/i386-linux-gnu/ld-2.13.so bfd97000-bfdb8000 rw-p > 00000000 00:00 0 [stack] zsh: abort wget > desudesudesu /tmp exited sigabrt 1111 /tmp % wget > --version > 2012-10-24 21:59:13 erlehmann pts/8 GNU Wget 1.13.4 übersetzt unter > linux-gnu. > > +digest +https +ipv6 +iri +large-file +nls -ntlm +opie +ssl/gnutls > > Wgetrc: > /etc/wgetrc (System) > Lokale: /usr/share/locale > Übersetzt: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" > -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib > -D_FORTIFY_SOURCE=2 -Iyes/include -g -O2 -fstack-protector > --param=ssp-buffer-size=4 -Wformat -Wformat-security > -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall > Gebunden: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 > -Wformat -Wformat-security -Werror=format-security -DNO_SSLv2 > -D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-z,relro -Lyes/lib -lgnutls > -lgcrypt -lgpg-error -lz -lidn -lrt ftp-opie.o gnutls.o > ../lib/libgnu.a > > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://www.gnu.org/licenses/gpl.html>. > Dies ist Freie Software; Sie dürfen diese ändern und weitergeben. > Es wird keine Garantie gegeben, soweit das Gesetz es zuläßt. > > Ursprünglich geschrieben von Hrvoje Niksic <[email protected]>. > Fehlerberichte und Verbesserungsvorschläge bitte an <[email protected]> > schicken. > > Für die deutsche Übersetzung ist die Mailingliste <[email protected]> zuständig. Mit freundlichem Gruß Tim Rühsen
