* Problems with Perl LWP and CYGSSL.DLL
@ 2002-08-29 8:36 Tommy Butler
2002-08-29 15:23 ` Gerrit P. Haase
0 siblings, 1 reply; 4+ messages in thread
From: Tommy Butler @ 2002-08-29 8:36 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]
I'm having problems using LWP.pm (libwww extension for Perl) with my cygwin Perl
binary. Errors are generated each time I try to run Perl code which uses the
LWP library to make a GET or POST request for an https (SSL) web location. The
errors appear to complain that there is a Win32 error with Perl or CYGSSL.DLL
(or both?)
The errors aren't fatal, but they constitute the entirety of the output
generated by the script. Unless I kill it, the executing process just keeps
chugging along, consuming 100% CPU and sending a new error message to STDERR
about every 5 seconds. The same code runs flawlessly for non-SSL requests.
How do I go about fixing this?
Attachments:
File: cygcheck-August-28-2002-12.24.44-PM.out
Desc: output from the command 'cygcheck -cs' when run earlier today
Size: 14 kb
MIME: text/plain (LF)
File: cygssl_errors.txt
Desc: text file containing errors from the execution of... (see next item)
Size: 3 kb
MIME: text/plain (LF)
File: example_perl_script.pl
Desc: simple Perl script that shows how to produce the error on my system
Size: 2 kb
MIME: text/plain (LF)
File: perl_bin_details.txt.gz
Desc: gzip'ed text file
Size: 13 kb
MIME: application/x-gzip
|
+ EXTRACTS TO:
File: perl_bin_details.txt
Desc: details regarding my Perl binary and installed Perl modules
Size: 114 kb
MIME: text/plain (LF)
Thank you for any help.
--
-Tommy Butler
see if I'm online » http://ooopps.sourceforge.net/online
Tommy Butler <tommy@atrixnet.com>
phone: (817)-468-7716
6711 Forest Park Dr
Arlington, TX
76001-8403
Download my résumé in PDF, MS Word, HTML, text
http://www.atrixnet.com/
the ooOPps Code Library
http://ooopps.sourceforge.net/pub/
[-- Attachment #2: perl_bin_details.txt.gz --]
[-- Type: application/x-gzip, Size: 12611 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with Perl LWP and CYGSSL.DLL
2002-08-29 8:36 Problems with Perl LWP and CYGSSL.DLL Tommy Butler
@ 2002-08-29 15:23 ` Gerrit P. Haase
2002-09-01 13:23 ` Tommy Butler
0 siblings, 1 reply; 4+ messages in thread
From: Gerrit P. Haase @ 2002-08-29 15:23 UTC (permalink / raw)
To: Tommy Butler; +Cc: cygwin
Hallo Tommy,
Am Donnerstag, 29. August 2002 um 17:41 schriebst du:
> I'm having problems using LWP.pm (libwww extension for Perl) with my cygwin Perl
> binary.
[...]
>>C:\cygwin\bin\perl -w testLWPcookies.pl
> C:\CYGWIN\BIN\PERL.EXE: *** couldn't allocate memory 0x10000(4128768) for
> 'C:\CYGWIN\BIN\CYGSSL.DLL' alignment, Win32 error 8
>
> 290 [main] perl 1804607 sync_with_child: child -1760391(0xE4) died before
> initialization with status code 0x1
> 380 [main] perl 1804607 sync_with_child: *** child state child loading dlls
> C:\CYGWIN\BIN\PERL.EXE: *** couldn't allocate memory 0x10000(4128768) for
> 'C:\CYGWIN\BIN\CYGSSL.DLL' alignment, Win32 error 8
Looks like the problem which was discussed in another thread recently,
C. Faylor suggested that there may be two (different) cygwin1.dll's on
your system.
> How do I go about fixing this?
You know that you are still using
"This is perl, v5.6.1 built for cygwin-multi"
but also have C:\cygwin\bin\cygperl5_8_0.dll
installed?
Which from the SSL modules do you use?
There are two possibilities, I installed Crypt::SSLeay (0.45)
to do the test which works for me with perl-5.8 (NT4):
$ ./perllwp.pl
HTTP/1.1 200 OK
Cache-Control: must-revalidate
Connection: close
Date: Thu, 29 Aug 2002 21:50:40 GMT
Server: Apache/1.3.26 (Unix) PHP/4.1.2 mod_ssl/2.8.9 OpenSSL/0.9.6b
Content-Type: text/html
Content-Type: text/html; charset=iso-8859-1
Expires: Wed, 11 Nov 1998 11:11:11 GMT
Client-Date: Thu, 29 Aug 2002 21:52:14 GMT
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA/Email=server-certs@thawte.com
Client-SSL-Cert-Subject: /C=US/ST=California/L=Fremont/O=VA Software Inc./OU=SourceForge/CN=sourceforge.net
Client-SSL-Cipher: EDH-RSA-DES-CBC3-SHA
Client-SSL-Warning: Peer certificate not verified
Client-Transfer-Encoding: chunked
Link: <//sourceforge.net/cssdef.php>; rel="stylesheet"; type="text/css"
Link: </images/favicon.ico>; rel="SHORTCUT ICON"
Title: SourceForge.net: Login
X-Powered-By: PHP/4.1.2
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with Perl LWP and CYGSSL.DLL
2002-08-29 15:23 ` Gerrit P. Haase
@ 2002-09-01 13:23 ` Tommy Butler
2002-09-03 4:54 ` Jason Tishler
0 siblings, 1 reply; 4+ messages in thread
From: Tommy Butler @ 2002-09-01 13:23 UTC (permalink / raw)
To: cygwin; +Cc: Gerrit P. Haase, Niraj Agarwal
Niraj Agarwal wrote:
> you can try to rebase the dlls.
Thank you for your help! I'm sorry, I don't really understand though. Do you
mean rebuild them?
Gerrit P. Haase wrote:
> Looks like the problem which was discussed in another thread recently,
> C. Faylor suggested that there may be two (different) cygwin1.dll's on
> your system.
Thanks for the tip. This proves to be true in my case. I actually found THREE
cygwin1.dll's on my system!
> You know that you are still using
> "This is perl, v5.6.1 built for cygwin-multi"
> but also have C:\cygwin\bin\cygperl5_8_0.dll
> installed?
Yes, this is true. Perl 5.8 has been acting very strangely for me, so I moved
back to 5.6x
> Which from the SSL modules do you use?
I use all of the modules from the 5.6 installation. It still looks in the
default installation-specific paths, so it is not using the modules from 5.8 AFAICT.
> There are two possibilities, I installed Crypt::SSLeay (0.45)
> to do the test which works for me with perl-5.8 (NT4):
Thanks for the tip! Am so doing :O)
I appreciate your help. Thanks again for letting me know about these issues. I
had not been aware of them.
--
-Tommy Butler
see if I'm online »http://ooopps.sourceforge.net/online
Tommy Butler <tommy@atrixnet.com>
phone: (817)-468-7716
6711 Forest Park Dr
Arlington, TX
76001-8403
Download my résumé in PDF, MS Word, HTML, text
http://www.atrixnet.com/
the ooOPps Code Library
http://ooopps.sourceforge.net/pub/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with Perl LWP and CYGSSL.DLL
2002-09-01 13:23 ` Tommy Butler
@ 2002-09-03 4:54 ` Jason Tishler
0 siblings, 0 replies; 4+ messages in thread
From: Jason Tishler @ 2002-09-03 4:54 UTC (permalink / raw)
To: cygwin
Tommy,
On Sun, Sep 01, 2002 at 03:28:42PM -0500, Tommy Butler wrote:
> Niraj Agarwal wrote:
> > you can try to rebase the dlls.
>
> Thank you for your help! I'm sorry, I don't really understand though. Do
> you mean rebuild them?
No, see the following:
http://cygwin.com/ml/cygwin/2002-07/msg00276.html
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-09-03 11:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 8:36 Problems with Perl LWP and CYGSSL.DLL Tommy Butler
2002-08-29 15:23 ` Gerrit P. Haase
2002-09-01 13:23 ` Tommy Butler
2002-09-03 4:54 ` Jason Tishler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).