I am trying to fetch a page with perl by HTTPS (for a new project),
but perl is crashing.

When the following code is run, perl crashes:
require LWP::UserAgent;
$ua = LWP::UserAgent->new;
$response = $ua->get('https://www.example.com/');

www.example.com does not listen on the HTTPS port, but that
is not relevant in this case, because perl is crashing before
even looking up the name.  A reboot did not help.  Giving
a -w option to perl does not show any warning.  If http
is used instead of https, the page is fetched as expected.

I am running ActivePerl 5.8.8.819 under WinXP SP2 with all current
updates.  Perl is in C:\Perl . It runs all my current scripts ok.
There was a previous perl installed in C:\SFU\Perl .  The old files
are still there, though I don't believe any are being executed.
Perl was downloaded from
http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.819-MSWin32-x86-267479.msi
and installed with default options and with no apparent error.

I then downloaded and installed (with default options)
http://www.slproweb.com/download/Win32OpenSSL-0_9_8d.exe
It also installed with no apparent error and seems to run ok
(from the OpenSSL> prompt, I can encrypt and decrypt files).

I then installed Crypt::SSLeay with the following results:
C:\OpenSSL\perl\5.8\Crypto_SSLeay>install
Installing C:\Perl\site\lib\auto\Crypt\SSLeay\SSLeay.bs
Installing C:\Perl\site\lib\auto\Crypt\SSLeay\SSLeay.dll
Installing C:\Perl\site\lib\auto\Crypt\SSLeay\SSLeay.exp
Installing C:\Perl\site\lib\auto\Crypt\SSLeay\SSLeay.lib
Installing C:\Perl\site\lib\auto\Crypt\SSLeay\SSLeay.pdb
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\Perl\site\lib\Crypt\SSLeay.pm
Installing C:\Perl\site\lib\Crypt\SSLeay\Conn.pm
Installing C:\Perl\site\lib\Crypt\SSLeay\CTX.pm
Installing C:\Perl\site\lib\Crypt\SSLeay\Err.pm
Installing C:\Perl\site\lib\Crypt\SSLeay\MainContext.pm
Installing C:\Perl\site\lib\Crypt\SSLeay\X509.pm
Installing C:\Perl\site\lib\Net\SSL.pm
Appending installation info to C:\Perl\lib/perllocal.pod

The crash window says "Perl Command Line Interpreter has encountered
a problem and needs to close..."
The Error signature is:
AppName: perl.exe
AppVer: 5.8.8.819
ModName: ssleay32.dll
ModVer: 0.9.8.4
Offset: 00017e3c

Exception Information:
Code: 0xc0000005
Flags: 0x00000000
Record: 0x0000000000000000
Address: 0x0000000000397e3c

Any suggestion for correcting this problem, or tracking down
the cause, will be greatly appreciated.

Thanks,

Stewart

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to