Hi,
I am getting a seg fault when running wget as:
wget -r -l2 -k http://www.caucho.com
I have tried this with a pre-compiled binary for the Mandrake 8.0
PPC distribution, a version of the current stable wget 1.7
source and a version of the current dev release of wget 1.7.1-pre1 sources.
gcc version 2.95.3 20010315 (release - Linux-Mandrake 8.0 for PPC)
libc-2.2.2.so
This is the stack trace I get from gdb:
#0 0xff409b0 in strlen () from /lib/libc.so.6
#1 0xff12e34 in vfprintf () from /lib/libc.so.6
#2 0xff327e4 in vsnprintf () from /lib/libc.so.6
#3 0x10014f98 in logvprintf (o=24,
fmt=0x10023898 "--%s-- %s\n %s => `%s'\n", args=0x7ffff1c0) at
log.c:345
#4 0x10015108 in logprintf (o=24, fmt=0x18 <Address 0x18 out of bounds>)
at log.c:388
#5 0x1001178c in http_loop (u=0x100476e8, newloc=0x7ffff3ac, dt=0x7ffff404)
at http.c:1503
#6 0x1001a6ec in retrieve_url (origurl=0x18 <Address 0x18 out of bounds>,
file=0x7ffff3fc, newloc=0x7ffff400,
refurl=0x10043230 "http://www.caucho.com/index.xtp", dt=0x7ffff404)
at retr.c:405
#7 0x10018bb4 in recursive_retrieve (
file=0x100437e8 "www.caucho.com/index.xtp",
this_url=0x10043230 "http://www.caucho.com/index.xtp") at recur.c:451
#8 0x10018c00 in recursive_retrieve (
file=0x100410a8 "www.caucho.com/index.html",
this_url=0x1003eaa8 "http://www.caucho.com") at recur.c:468
#9 0x10016474 in main (argc=2147480736, argv=0x7ffff764) at main.c:804
#10 0xfee2308 in __libc_start_main () from /lib/libc.so.6
Any suggestions or further information reuired?
Thanks
Nick Ryan