Hello Bernhard,
Thanks for investigating this.
I agree that there may not be a problem with the version of wget in
"buster", but the version currently in "stable" (i.e. 1.18-5+deb9u) is
definitely not usable on two different stretch-amd64 systems I've tried.
I believe a fix is needed specifically for the package within stretch.
The output from your gdb recipe is as follows:
Reading symbols from wget...(no debugging symbols found)...done.
Starting program: /usr/bin/wget -r -k -l inf http://www.debian.org
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
_IO_new_fclose (fp=0x0) at iofclose.c:53
53 iofclose.c: No such file or directory.
#0 _IO_new_fclose (fp=0x0) at iofclose.c:53
#1 0x00005555555722ca in ?? ()
#2 0x000055555556102c in ?? ()
#3 0x00007ffff69b62e1 in __libc_start_main (main=0x55555555fb40,
argc=6, argv=0x7fffffffe848, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe838) at
../csu/libc-start.c:291
#4 0x000055555556147a in ?? ()
Detaching from program: /usr/bin/wget, process 2009
Thanks,
RW Penney