Re: segmentation fault in HTTP
Tim Bunce (Tim.Bunce@ig.co.uk)
Wed, 3 Jan 1996 21:54:31 +0000
> From: psy@virginia.edu
>
> I'm getting a sementation fault while executing
> the following code:
>
> $Url = 'http://some.url.goes.here/';
> $hUA = new LWP::UserAgent;
> $hUrl = new URI::URL($Url);
> $hRequest = new HTTP::Request('GET', $hUrl);
> $hResponse = $hUA->request($hRequest, undef, undef);
> $hStr = $hResponse->asString;
> $hHT = HTML::Parse::parse_html($hStr);
>
> I'd GREATLY appreciate any help you might be able to offer.
Try adding 'use sigtrap' and try perl5.002beta1f or 1g.
Tim.