Thu 31 May 2012 06:40:33 PM UTC, original submission:
Occurs in 1.13.4 as well.
$ git clone git://git.sv.gnu.org/wget.git && cd wget
$ export CFLAGS='-g'
$ ./bootstrap && ./configure && ./make
===============================================
$ gdb ./wget
GNU gdb (GDB) 7.4.1-debian
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://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/preston/wget-latest/wget-latest...done.
(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
Starting program: /home/preston/wget-latest/wget-latest -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/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Setting --output-file (logfile) to debug.log
Setting --html-extension (adjustextension) to 1
Setting --page-requisites (pagerequisites) to 1
Setting --convert-links (convertlinks) to 1
Setting robots (robots) to off
Setting --exclude-directories (excludedirectories) to wiki,forums
Setting --reject (reject) to *action=print
Setting --wait (wait) to 1
Setting --random-wait (randomwait) to 1
Setting --warc-file (warcfile) to cpr-wp-debug
Program received signal SIGSEGV, Segmentation fault.
0x00000000004063a6 in convert_links_in_hashtable (downloaded_set=0x680b60,
is_css=0, file_count=0x7fffffffdf2c) at convert.c:127
127 local_name = hash_table_get (dl_url_file_map, u->url);
(gdb) backtrace
#0 0x00000000004063a6 in convert_links_in_hashtable (downloaded_set=0x680b60,
is_css=0, file_count=0x7fffffffdf2c) at convert.c:127
#1 0x0000000000406500 in convert_all_links () at convert.c:189
#2 0x0000000000428e2c in main (argc=17, argv=0x7fffffffe258) at main.c:1634
(gdb) info locals
local_name = 0x680d40 "www.cyberpunkreview.com/movie/upcoming-movies/initial-impressions-review-of-solid-state-society/index.html"
u = 0x0
pi = 0x679ae0
urls = 0x6c48c0
cur_url = 0x69c9f0
url = 0x680c50 "http://www.cyberpunkreview.com/movie/upcoming-movies/initial-impressions-review-of-solid-state-society/"
file = 0x680f10 "www.cyberpunkreview.com/movie/upcoming-movies/initial-impressions-review-of-solid-state-society/index.html"
i = 0
cnt = 1
file_array = 0x7fffffffde80
(gdb) info args
downloaded_set = 0x680b60
is_css = 0
file_count = 0x7fffffffdf2c
===============================================
The "debug.log" file is attached.
|