Segmentation Faults using get
Christopher Seline (seline@asia-law.com)
Wed, 16 Oct 1996 00:46:37 -0700 (PDT)
I'm getting segmentation faults using the libwww-perl-0.40 package.
If I try 'get http://www.counsel.com/' I get a segmentation fault and core
dump. (Note, no segmentation fault if the connection fails)
'get -d' also causes a segmentation fault
I've tried this on two different Un*xes (Ultrix and Netbsd) and I have the
same problems. The www library is installed in a subdirectory under my
home directory. LIBWWW_PERL=/u1/vip/seline/libwww-perl-0.40
Perl is version 5.001
Perl has been compiled without debugging :-<
I'm sure there is a simple fix that I don't know about.
baygate.seline 32> get -d http:bob
Segmentation fault (core dumped)
baygate.seline 33> get -d
Segmentation fault (core dumped)
baygate.seline 34> get http:bob
GET http:bob HTTP/1.0
User-Agent: GET/0.5 libwww-perl/0.40
From: seline@baygate.bayarea.net
HTTP/1.0 602 Connection Failed
content-type: text/html
content-length: 204
mime-version: 1.0
date: Wed, 16 Oct 1996 06:36:25 GMT
<HEAD><TITLE>602 Connection Failed</TITLE></HEAD>
<BODY><H1>602 Connection Failed</H1>
The following request could not be satisfied by this client:
<PRE>
GET http:bob
Cannot find hostname
</PRE></BODY>
baygate.seline 35> get bob
GET file://localhost/u1/vip/seline/libwww-perl-0.40/bob HTTP/1.0
HTTP/1.0 404 Not Found
content-type: text/html
content-length: 229
mime-version: 1.0
date: Wed, 16 Oct 1996 06:36:35 GMT
<HEAD><TITLE>404 Not Found</TITLE></HEAD>
<BODY><H1>404 Not Found</H1>
The following request could not be satisfied by this client:
<PRE>
GET file://localhost/u1/vip/seline/libwww-perl-0.40/bob
File does not exist
</PRE></BODY>
baygate.seline 36> get http:www.counsel.com
GET http:www.counsel.com HTTP/1.0
Segmentation fault (core dumped)
baygate.seline 37> get
Enter a command or URL (^D to exit):
http://www.ics.uci.edu/WWWdocs/papers/rfc1630.txt
GET http://www.ics.uci.edu/WWWdocs/papers/rfc1630.txt HTTP/1.0
Segmentation fault (core dumped)
baygate.seline 38>