Greetings,

I first ran into this with my locally installed version of wget
(1.13.4) while attempting to archive a wordpress website. I then
compiled the latest development version

$ git clone git://git.sv.gnu.org/wget.git && cd wget
$ export CFLAGS='-g'
$ ./bootstrap && ./configure && ./make

but ran into the same segmentation fault. Wget would successfully
download all of the files, but crash when attempting to convert the
links. I managed to narrow down a replication case with a single link
as detailed below. The downloading process completes in approximately
30 seconds.

$ gdb ./wget
...
(gdb) set args -d -o debug.log --html-extension --page-requisites -k
-e robots=off --exclude-directories=wiki,forums --reject
"*action=print" -w 1 --random-wait --warc-file=cpr-wp-debug
http://www.cyberpunkreview.com/movie/upcoming-movies/initial-impressions-review-of-solid-state-society/
(gdb) run

However, I have no idea where to go from here. I've filed a bug as
well with the log file and some gdb commands that I believe show a
null pointer dereference. The pointer "u" in convert.c is set to a
value of "0x0" at the time the program crashes:

convert.c:

(126)          u = url_parse (cur_url->url->url, NULL, pi, true);
(127)          local_name = hash_table_get (dl_url_file_map, u->url);

The bug is located here: http://savannah.gnu.org/bugs/index.php?36570

Cheers,

Preston Maness

Reply via email to