I have (sadly) made wget crash. I'm running wget version 1.8.2 on Linux (I'm not sure which flavor). The command line is: wget -d -S --tries=10 -r -l2 -Pseqs -R ffn,faa,asn,val,gbs,fna,gbk ftp://ftp.ncbi.nlm.nih.gov/genbank/genomes/Bacteria/
Below, I've quoted a GDB session on the core file. I've also attached the output as the file 'out'. I do not have a .wgetrc file in my home directory. When I run the above command, it seems to crash when downloading the 3rd directory (it downloads about 1 MB), but sometimes it gets to the next directory. If I am less restrictive as to which file types to exclude, it seems to crash at the same places, but obviously downloads more files. I'm hoping this bug is easy to reproduce; if not feel free to ask for more info. -Z. -----------GDB session---------------- wingless% gdb `which wget` core.24313 GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (no debugging symbols found)... Core was generated by `wget -d -S --tries=10 -r -l2 -Pseqs -R ffn,faa,asn,val,gbs,fna,gbk ftp://ftp.nc'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libssl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libssl.so.2 Reading symbols from /lib/libcrypto.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.2 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/i686/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)... done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)... done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 #0 0x0804ff00 in ftp_retrieve_glob () (gdb) where #0 0x0804ff00 in ftp_retrieve_glob () #1 0x0804fde5 in ftp_retrieve_dirs () #2 0x0804fc37 in ftp_retrieve_list () #3 0x08050025 in ftp_retrieve_glob () #4 0x08050271 in ftp_loop () #5 0x0805fbfb in retrieve_url () #6 0x0805bcf2 in main () #7 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 (gdb)
out
Description: out
