Ubuntu

Comment 5 for bug 1022124

OK. Re-broke the site, installed all that you requested, replicated the sigsegv and got your backtrace.

root@www:/tmp# gdb --args wget -m -nd --delete-after http://www.[redacted]/
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/wget...Reading symbols from /usr/lib/debug/usr/bin/wget...done.
done.
(gdb) run
Starting program: /usr/bin/wget -m -nd --delete-after http://www.[redacted]/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--2012-07-08 15:29:24-- http://www.[redacted]/
Resolving www.[redacted] (www.[redacted])... 127.0.0.1, 173.193.169.42
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

    [ <=> ] 120,371 --.-K/s in 0.001s

2012-07-08 15:29:29 (167 MB/s) - `index.html' saved [120371]

Loading robots.txt; please ignore errors.
--2012-07-08 15:29:29-- http://www.[redacted]/robots.txt
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 110 [text/plain]
Saving to: `robots.txt'

100%[=========================================================================>] 110 --.-K/s in 0s

2012-07-08 15:29:29 (9.53 MB/s) - `robots.txt' saved [110/110]

Removing robots.txt.
Removing index.html.

--2012-07-08 15:29:29-- http://www.[redacted]/feed/
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `index.html'

    [ <=> ] 46,030 --.-K/s in 0s

2012-07-08 15:29:30 (194 MB/s) - `index.html' saved [46030]

Removing index.html.

--2012-07-08 15:29:30-- http://www.[redacted]/feed/atom/
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/atom+xml]
Saving to: `index.html'

    [ <=> ] 50,910 --.-K/s in 0s

2012-07-08 15:29:32 (169 MB/s) - `index.html' saved [50910]

Removing index.html.

--2012-07-08 15:29:32-- http://www.[redacted]/xmlrpc.php
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54 [text/plain]
Saving to: `xmlrpc.php'

100%[=========================================================================>] 54 --.-K/s in 0s

Last-modified header missing -- time-stamps turned off.
2012-07-08 15:29:32 (4.26 MB/s) - `xmlrpc.php' saved [54/54]

Removing xmlrpc.php.

--2012-07-08 15:29:32-- http://www.[redacted]/%E2%80%9Dhttp://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js%E2%80%9D
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.[redacted]/%E2%80%9Dhttp:/ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js%E2%80%9D [following]
--2012-07-08 15:29:33-- http://www.[redacted]/%E2%80%9Dhttp:/ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js%E2%80%9D
Connecting to www.[redacted] (www.[redacted])|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-07-08 15:29:38 ERROR 404: Not Found.

--2012-07-08 15:29:38-- http://www.[redacted]/shows-page/

Program received signal SIGSEGV, Segmentation fault.
malloc_consolidate (av=0x7ffff7374720) at malloc.c:4240
4240 malloc.c: No such file or directory.
(gdb) bt
#0 malloc_consolidate (av=0x7ffff7374720) at malloc.c:4240
#1 0x00007ffff703dec6 in malloc_consolidate (av=0x7ffff7374720) at malloc.c:4215
#2 _int_malloc (av=0x7ffff7374720, bytes=32640) at malloc.c:3532
#3 0x00007ffff7040a45 in __GI___libc_malloc (bytes=32640) at malloc.c:2924
#4 0x00007ffff6fe0402 in __gconv_open (toset=0x0, fromset=0x699bc0 "\002", handle=0x7fffffffda30, flags=0)
    at gconv_open.c:284
#5 0x00007ffff6fdfe02 in iconv_open (tocode=0x7fffffffda00 "ISO-8859-1//", fromcode=0x7fffffffd9e0 "UTF-8//")
    at iconv_open.c:72
#6 0x00007ffff758a345 in ?? () from /usr/lib/x86_64-linux-gnu/libidn.so.11
#7 0x00007ffff7588d87 in idna_to_unicode_8zlz () from /usr/lib/x86_64-linux-gnu/libidn.so.11
#8 0x000000000042bddd in idn_decode (host=<optimized out>) at ../../src/iri.c:245
#9 0x0000000000406be0 in connect_to_ip (ip=0x662af0, port=80, print=0x661950 "www.[redacted]")
    at ../../src/connect.c:280
#10 0x0000000000406da3 in connect_to_host (host=0x661950 "www.[redacted]", port=80) at ../../src/connect.c:401
#11 0x0000000000418ec3 in gethttp (u=0x66fec0, hs=0x7fffffffe050, dt=0x7fffffffe434, proxy=0x0, iri=0x699e20,
    count=1) at ../../src/http.c:1819
#12 0x000000000041b4c3 in http_loop (u=0x66fec0, original_url=<optimized out>, newloc=0x7fffffffe338,
    local_file=0x7fffffffe340, referer=<optimized out>, dt=0x7fffffffe434, proxy=0x0, iri=0x699e20)
    at ../../src/http.c:2769
#13 0x000000000042484e in retrieve_url (orig_parsed=0x66fec0,
    origurl=0x699f40 "http://www.[redacted]/shows-page/", file=0x7fffffffe420, newloc=0x7fffffffe428,
    refurl=0x699f10 "http://www.[redacted]/", dt=0x7fffffffe434, recursive=false, iri=0x699e20,
    register_status=true) at ../../src/retr.c:736
#14 0x0000000000422735 in retrieve_tree (start_url_parsed=0x6610d0, pi=<optimized out>) at ../../src/recur.c:283
#15 0x00000000004053bb in main (argc=1, argv=<optimized out>) at ../../src/main.c:1388
(gdb)