[Crypt::SSLeay] [CSL #283637] segfault in make test with 0.9.8a

David Thompson <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Sorry if this is already known; I couldn't find anything relevant in either 
the  archives or a web search.

Running the t/net_ssl test from Crypt-SSLeay-0.51 results in a segfault.  The 
gdb trace indicates a NULL context being passed to SSL_CTX_ctrl.  The full 
backtrace is:

#0  SSL_CTX_ctrl (ctx=0x0, cmd=32, larg=4095, parg=0x0) at ssl_lib.c:1061
#1  0x00fb85e8 in XS_Crypt__SSLeay__CTX_new ()
   from /afs/cs.wisc.edu/s/openssl-0.9.8a/src/i386_tao10/Crypt-SSLeay-0.51/blib
/arch/auto/Crypt/SSLeay/SSLeay.so
#2  0x080b9725 in Perl_pp_entersub ()
#3  0x080b2ac8 in Perl_runops_standard ()
#4  0x08064093 in Perl_call_sv ()
#5  0x08064438 in Perl_call_list ()
#6  0x0808f7bf in Perl_newATTRSUB ()
#7  0x0808e436 in Perl_utilize ()
#8  0x08081f12 in Perl_yyparse ()
#9  0x08062a83 in S_parse_body ()
#10 0x08064e76 in perl_parse ()
#11 0x0805e4b6 in main ()

Is there a workaround, or a patch that I've missed?

My environment is perl-5.8.6 and openssl-0.9.8a on a tao linux 1.0 system.

Thanks all.

--
Dave Thompson  ( thomas (at) cs.wisc.edu )

Associate Researcher                  Department of Computer Science
University of Wisconsin-Madison       http://www.cs.wisc.edu/(twiddle)thomas
1210 West Dayton Street
Madison, WI 53706-1685
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.