Greetings,
I think I have come across a bug with wget( ), although I cannot be 100% certain.
Here is a simple instance of it (assuming it is indeed a bug):
[results in core dump]
wget -r --no-parent -A.ptt --no-directories -nv
ftp://ftp.ncbi.nih.gov/genomes/Bacteria/Bacillus_anthracis_A2012/
22:52:09 URL: ftp://ftp.ncbi.nih.gov/genomes/Bacteria/Bacillus_anthracis_A2012/ [1491]
-> ".listing" [1]
Segmentation fault (core dumped)
[this runs without a problem]
wget -r --no-parent --no-directories -nv ftp://ftp.ncbi.nih.gov/genomes
/Bacteria/Bacillus_anthracis_A2012/
(The -A.ptt being the difference.)
If you look at this directory, you'll notice that there are no subdirectories below
Bacillus_anthracis_A2012 and you may question why I am using -r, with --no-parent.
The answer is that this is just a boiled-down, repeatable instance that I chose. A
similar situation arises wheen using -R as with the -A.
[odd]
When the parent (ftp://ftp.ncbi.nih.gov/genomes/Bacteria/) is the chosen location,
using identical input options (including -A and/or -R), some of the bacterium
subfolders (others like Bacillus_anthracis_A2012, but not that one) do not behave in
this way - they run without a problem. When I run against all ~150 child
subdirectories, about 1/3 of them give the error stated above. With neither -A nor -R
used, no core dumps occur across all 150.
Here is the version information on the program:
AUTHOR
Originally written by Hrvoje Niksic <[EMAIL PROTECTED]
digita.com>.
COPYRIGHT
Copyright (c) 1996, 1997, 1998, 2000, 2001 Free Software
Foundation, Inc.
Permission is granted to make and distribute verbatim
copies of this manual provided the copyright notice and
this permission notice are preserved on all copies.
Permission is granted to copy, distribute and/or modify
this document under the terms of the GNU Free Documenta
tion License, Version 1.1 or any later version published
by the Free Software Foundation; with the Invariant Sec
tions being ``GNU General Public License'' and ``GNU Free
Documentation License'', with no Front-Cover Texts, and
with no Back-Cover Texts. A copy of the license is
included in the section entitled ``GNU Free Documentation
License''.
I appreciate your time. Please let me know if you need any further information.
Sincerely,
Shane Neph