bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Segfault on Converting Links


From: Preston Maness
Subject: [Bug-wget] Segfault on Converting Links
Date: Thu, 31 May 2012 13:54:00 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

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

[Prev in Thread] Current Thread [Next in Thread]