Hi, wget is always crashing when I do this:

wget http://www14.brinkster.com/aditsu/pic.asp -r

I'm running wget 1.10.2 in both gentoo linux and windows xp.
In linux I get a segmentation fault; in xp it pops up a "report to microsoft" 
error dialog.
After a lame attempt to debug, I just found that it crashes while doing a 
strcmp.
The attachment shows the output of the above command with -d added.

Thanks
Adrian




       
____________________________________________________________________________________Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
$ wget http://www14.brinkster.com/aditsu/pic.asp -r -d
DEBUG output created by Wget 1.10.2 on linux-gnu.

Enqueuing http://www14.brinkster.com/aditsu/pic.asp at depth 0
Queue count 1, maxcount 1.
Dequeuing http://www14.brinkster.com/aditsu/pic.asp at depth 0
Queue count 0, maxcount 1.
--02:00:19--  http://www14.brinkster.com/aditsu/pic.asp
           => `www14.brinkster.com/aditsu/pic.asp'
Resolving www14.brinkster.com... 65.182.100.62
Caching www14.brinkster.com => 65.182.100.62
Connecting to www14.brinkster.com|65.182.100.62|:80... connected.
Created socket 3.
Releasing 0x08085af0 (new refcount 1).

---request begin---
GET /aditsu/pic.asp HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www14.brinkster.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Connection: keep-alive
Date: Mon, 28 May 2007 17:59:34 GMT
Server: Microsoft-IIS/6.0
Set-Cookie:
Content-Length: 3128
Content-Type: text/html; Charset=iso-8859-1
Cache-control: private

---response end---
200 OK
Registered socket 3 for persistent reuse.

Stored cookie www14.brinkster.com -1 (ANY) /aditsu/ <session> <insecure> 
[expiry none] (null) (null)
Length: 3,128 (3.1K) [text/html]

100%[=============================================================================================>]
 3,128         14.34K/s

02:00:20 (14.34 KB/s) - `www14.brinkster.com/aditsu/pic.asp' saved [3128/3128]

Loaded www14.brinkster.com/aditsu/pic.asp (size 3128).
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "style/stil1.css") -> 
http://www14.brinkster.com/aditsu/style/stil1.css
appending "http://www14.brinkster.com/aditsu/style/stil1.css"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, 
"javascript:window.history.back()") -> javascript:window.history.back()
www14.brinkster.com/aditsu/pic.asp: merged link 
"javascript:window.history.back()" doesn't parse.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "index.asp") -> 
http://www14.brinkster.com/aditsu/index.asp
appending "http://www14.brinkster.com/aditsu/index.asp"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "picdia.asp") -> 
http://www14.brinkster.com/aditsu/picdia.asp
appending "http://www14.brinkster.com/aditsu/picdia.asp"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "piceng.asp") -> 
http://www14.brinkster.com/aditsu/piceng.asp
appending "http://www14.brinkster.com/aditsu/piceng.asp"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "images/picture.jpg") -> 
http://www14.brinkster.com/aditsu/images/picture.jpg
appending "http://www14.brinkster.com/aditsu/images/picture.jpg"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, 
"http://icpc.baylor.edu/icpc";) -> http://icpc.baylor.edu/icpc
appending "http://icpc.baylor.edu/icpc"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, 
"javascript:window.history.back()") -> javascript:window.history.back()
www14.brinkster.com/aditsu/pic.asp: merged link 
"javascript:window.history.back()" doesn't parse.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, 
"http://www.top100.ro/cgi-bin/vote.cgi?id=15203";) -> 
http://www.top100.ro/cgi-bin/vote.cgi?id=15203
appending "http://www.top100.ro/cgi-bin/vote.cgi?id=15203"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "http://www.top100.ro";) -> 
http://www.top100.ro
appending "http://www.top100.ro/"; to urlpos.
www14.brinkster.com/aditsu/pic.asp: 
merge("http://www14.brinkster.com/aditsu/pic.asp";, "feedback.asp") -> 
http://www14.brinkster.com/aditsu/feedback.asp
appending "http://www14.brinkster.com/aditsu/feedback.asp"; to urlpos.
no-follow in www14.brinkster.com/aditsu/pic.asp: 0
Deciding whether to enqueue "http://www14.brinkster.com/aditsu/style/stil1.css";.
Loading robots.txt; please ignore errors.
--02:00:20--  http://www14.brinkster.com/robots.txt
           => `www14.brinkster.com/robots.txt'
Reusing existing connection to www14.brinkster.com:80.
Reusing fd 3.

---request begin---
GET /robots.txt HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www14.brinkster.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 404 Not Found
Content-Length: 1165
Content-Type: text/html
Server: Microsoft-IIS/6.0
Set-Cookie:
Date: Mon, 28 May 2007 17:59:34 GMT
Connection: keep-alive

---response end---
404 Not Found

Stored cookie www14.brinkster.com -1 (ANY) / <session> <insecure> [expiry none] 
(null) (null)
Skipping 1165 bytes of body: [<html>
<head>
<title>404 - The page cannot be found - web hosting provided by 
www.Brinkster.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href='http://www.brinkster.com/rd2.aspx?r=420385544109086869766' 
target=_blank><img 
src="http://www.brinkster.com/rd2.aspx?r=690978841681111973160"; height="37" 
border="0"></a>
<br><br>
<font size=5 color=black face=Verdana,Arial,sans-serif>
The page cannot be found.</font><br><br>

<font size=2 color=black face=Verdana,Arial,sans-serif>
The page you are looking for might have been removed, had its name changed,<br> 
or is temporarily
unavailable. We suggest clicking your back button and notifying the website 
owner.
<br><br>

<hr>
<br>
</font>
<font size=4 color=black face=Verdana,Arial,sans-serif>
This website is hosted for free by <a 
href='http://www.brinkster.com/rd2.aspx?r=420385544109086869766' 
target=_blank>Brinkster</a> -
<a href='http://www.brinkster.com/rd2.aspx?r=324584872849327247696' 
target=_blank>Get your own free website</a> with a free website builder and a 
free domain name!
<br><br>

</font>
</body>
</html>



] done.
02:00:20 ERROR 404: Not Found.

Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/style/stil1.css at depth 1
Queue count 1, maxcount 1.
Deciding whether to enqueue "http://www14.brinkster.com/aditsu/index.asp";.
Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/index.asp at depth 1
Queue count 2, maxcount 2.
Deciding whether to enqueue "http://www14.brinkster.com/aditsu/picdia.asp";.
Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/picdia.asp at depth 1
Queue count 3, maxcount 3.
Deciding whether to enqueue "http://www14.brinkster.com/aditsu/piceng.asp";.
Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/piceng.asp at depth 1
Queue count 4, maxcount 4.
Deciding whether to enqueue 
"http://www14.brinkster.com/aditsu/images/picture.jpg";.
Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/images/picture.jpg at depth 1
Queue count 5, maxcount 5.
Deciding whether to enqueue "http://icpc.baylor.edu/icpc";.
This is not the same hostname as the parent's (icpc.baylor.edu and 
www14.brinkster.com).
Decided NOT to load it.
Deciding whether to enqueue "http://www.top100.ro/cgi-bin/vote.cgi?id=15203";.
This is not the same hostname as the parent's (www.top100.ro and 
www14.brinkster.com).
Decided NOT to load it.
Deciding whether to enqueue "http://www.top100.ro/";.
This is not the same hostname as the parent's (www.top100.ro and 
www14.brinkster.com).
Decided NOT to load it.
Deciding whether to enqueue "http://www14.brinkster.com/aditsu/feedback.asp";.
Decided to load it.
Enqueuing http://www14.brinkster.com/aditsu/feedback.asp at depth 1
Queue count 6, maxcount 6.
Dequeuing http://www14.brinkster.com/aditsu/style/stil1.css at depth 1
Queue count 5, maxcount 6.
--02:00:20--  http://www14.brinkster.com/aditsu/style/stil1.css
           => `www14.brinkster.com/aditsu/style/stil1.css'
Segmentation fault

Reply via email to