Has anybody had any thoughts about this problem?
Duncan Garland wrote:
Hi,
We've got a script which segmentation faults whenever we try to use
both DBI and SOAP::Lite.
Early on in the script we make a connection to Oracle. Later on we do
some SOAP calls and ....
Signal SEGV at /usr/lib/perl5/Net/SSL.pm line 131
eval {...} called at /usr/lib/perl5/Net/SSL.pm line 123
Net::SSL::connect('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'\x{2}\x{0}\x{1}\x{bb}\x{d9}\x{a}\x{8a}%\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}')
called at /usr/lib/perl/5.10/IO/Socket/INET.pm line 231
IO::Socket::INET::configure('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'HASH(0x3c6dcf8)') called at /usr/lib/perl5/Net/SSL.pm line 71
Net::SSL::configure('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'HASH(0x3c6dcf8)') called at /usr/share/perl5/Net/HTTPS.pm line 44
Net::HTTPS::http_connect('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'HASH(0x3c6dcf8)') called at /usr/share/perl5/Net/HTTP/Methods.pm line 62
Net::HTTP::Methods::http_configure('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'HASH(0x3c6dcf8)') called at /usr/share/perl5/Net/HTTPS.pm line 39
Net::HTTPS::configure('LWP::Protocol::https::Socket=GLOB(0x3de3ad8)',
'HASH(0x3c6dcf8)') called at /usr/lib/perl/5.10/IO/Socket.pm line 48
IO::Socket::new('LWP::Protocol::https::Socket', 'Proto', 'tcp',
'PeerAddr', 'secure.1link.co.uk', 'SendTE', 1, 'PeerPort', 443, ...)
called at /usr/lib/perl/5.10/IO/Socket/INET.pm line 37
IO::Socket::INET::new('LWP::Protocol::https::Socket', 'Proto',
'tcp', 'PeerAddr', 'secure.1link.co.uk', 'SendTE', 1, 'PeerPort', 443,
...) called at /usr/lib/perl5/Net/SSL.pm line 34
Net::SSL::new('LWP::Protocol::https::Socket', 'PeerAddr',
'secure.1link.co.uk', 'PeerPort', 443, 'Proto', 'tcp', 'Timeout', 180,
...) called at /usr/share/perl5/LWP/Protocol/http.pm line 32
LWP::Protocol::http::_new_socket('LWP::Protocol::https=HASH(0x3b8c3c8)',
'secure.1link.co.uk', 443, 180) called at
/usr/share/perl5/LWP/Protocol/http.pm line 151
LWP::Protocol::http::request('LWP::Protocol::https=HASH(0x3b8c3c8)',
'HTTP::Request=HASH(0x3945c78)', undef, undef, undef, 180) called at
/usr/share/perl5/LWP/UserAgent.pm line 220
eval {...} called at /usr/share/perl5/LWP/UserAgent.pm line 219
LWP::UserAgent::send_request('SOAP::Transport::HTTP::Client=HASH(0x2b4ea4bfb358)',
'HTTP::Request=HASH(0x3945c78)', undef, undef) called at
/usr/share/perl5/LWP/UserAgent.pm line 279
LWP::UserAgent::simple_request('SOAP::Transport::HTTP::Client=HASH(0x2b4ea4bfb358)',
'HTTP::Request=HASH(0x3945c78)', undef, undef) called at
/usr/share/perl5/LWP/UserAgent.pm line 289
LWP::UserAgent::request('SOAP::Transport::HTTP::Client=HASH(0x2b4ea4bfb358)',
'HTTP::Request=HASH(0x3945c78)') called at
/usr/share/perl5/SOAP/Transport/HTTP.pm line 248
SOAP::Transport::HTTP::Client::send_receive('SOAP::Transport::HTTP::Client=HASH(0x2b4ea4bfb358)',
'context', 'SOAP::Lite=HASH(0xec97c0)', 'endpoint', undef, 'action',
'OneLink_ServiceBookingComponent/GetSecurityToken', 'envelope', '<?xml
version="1.0" encoding="UTF-8"?>\x{a}<soap:Envelope \x{a} xm...',
...) called at /usr/share/perl5/SOAP/Lite.pm line 483
SOAP::Transport::__ANON__[/usr/share/perl5/SOAP/Lite.pm:483]('SOAP::Transport=HASH(0x2b4ea4bfa788)',
'context', 'SOAP::Lite=HASH(0xec97c0)', 'endpoint', undef, 'action',
'OneLink_ServiceBookingComponent/GetSecurityToken', 'envelope', '<?xml
version="1.0" encoding="UTF-8"?>\x{a}<soap:Envelope \x{a} xm...',
...) called at /usr/share/perl5/SOAP/Lite.pm line 3657
SOAP::Lite::call('SOAP::Lite=HASH(0xec97c0)',
'GetSecurityToken', 'SOAP::Data=HASH(0x3b6e158)') called at
SOAPRequestQueue.t line 120
Aborted
When the call to connect to Oracle is commented out, the calls work.
It's only when we try to do both. The script isn't new, it's been
running for years. The problem has occurred because we are upgrading
to Debian Lenny and Perl 5.10.
Has anybody else come across this?
Versions:
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
$DBI::VERSION = "1.605";
SOAP::Lite version 0.710.08
Debian::Lenny
Thanks
Duncan
--
*Duncan Garland*
*Perl Programmer*
phone: 08719 955 471
fax: 08719 955 427
e-mail: duncan.garl...@tuskerdirect.com
<mailto:duncan.garl...@tuskerdirect.com>
Tuskerdirect Limited, 3 George Street,
Watford, Hertfordshire WD18 0UH
www.tuskerdirect.com <http://www.tuskerdirect.com>