Hi,
I'm having some trouble with Crypt::SSLeay. I upgraded quite a few
system packages, and now the test program no longer works.
I re-installed LWP, Crypt::SSLeay, NET::SSLeay, openssl, without any
success. May be worth noting that none of these pacakages, nor perl,
were upgraded when I did my system upgrades.
See details below, including a gdb of the core file.
Please let me know if any more information could help you.
Thanks!
Ross
$ perl -MLWP -le'print $LWP::VERSION'
5.76
$ perl -MCrypt::SSLeay -le'print $Crypt::SSLeay::VERSION'
0.49
$ perl -MNet::SSLeay -le'print $Net::SSLeay::VERSION'
1.23
$ openssl version
OpenSSL 0.9.7d 17 Mar 2004
$ perl -v
This is perl, v5.8.4 built for i686-linux
...
$ uname -a
Linux orthanac 2.4.25-gentoo #1 Tue Mar 23 11:29:26 MST 2004 i686
GNU/Linux
$ cat t.pl
#!/usr/bin/perl -w
$ENV{HTTPS_DEBUG} = 1;
use LWP::UserAgent;
my $ua = new LWP::UserAgent;
my $req = new HTTP::Request('GET', 'https://www.nodeworks.com');
my $res = $ua->request($req);
print $res->code."\n";
$ ./t.pl
Segmentation fault (core dumped)
$ gdb --core=core /usr/bin/perl
GNU gdb 6.1.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols
found)...Using host libthread_db library "/lib/libthread_db.so.1".
warning: core file may not match specified executable file.
Core was generated by `/usr/bin/perl -w ./t.pl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libutil.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/perl5/5.8.4/i686-linux/auto/IO/IO.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.4/i686-linux/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/5.8.4/i686-
linux/auto/Socket/Socket.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/5.8.4/i686-linux/auto/Socket/Socket.so
Reading symbols from /usr/lib/perl5/vendor_perl/5.8.4/i686-
linux/auto/MIME/Base64/Base64.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/vendor_perl/5.8.4/i686-
linux/auto/MIME/Base64/Base64.so
Reading symbols from /usr/lib/perl5/vendor_perl/5.8.4/i686-
linux/auto/Crypt/SSLeay/SSLeay.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/vendor_perl/5.8.4/i686-
linux/auto/Crypt/SSLeay/SSLeay.so
Reading symbols from /usr/lib/libssl.so.0.9.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/libcrypto.so.0.9.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
#0 0x4023c88c in SSL_CTX_ctrl () from /usr/lib/libssl.so.0.9.7
(gdb) bt
#0 0x4023c88c in SSL_CTX_ctrl () from /usr/lib/libssl.so.0.9.7
(gdb)