Hi,

we use OpenSSL 0.9.5a together with Libwww in a CGI on a HP-UX 11.0
platform.
About every 100th request I get a coredump. Strange enough, the coredump
happens in different functions in libcrypto.sl. When I do a backtrace
with gdb I can see that the crash always happens at the beginning of the
handshake. But the origin of the backtrace is at slightly different places
in the handshake_func.
I'm really desperate :-( and hope that someone has seen a similar behaviour
too.
I also tried the latest snapshot but got the same crashes.

Regards, Heiner

PS: Here comes the output from gdb.

Program terminated with signal 11, Segmentation fault.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

#0  0xc2655684 in CRYPTO_thread_id () at cryptlib.c:177
177             {
#0  0xc2655684 in CRYPTO_thread_id () at cryptlib.c:177
177             {
(gdb) up
#1  0xc26e89d0 in ERR_get_state () at err.c:637
637             pid=(unsigned long)CRYPTO_thread_id();
(gdb) up
#2  0xc26e7a38 in ERR_clear_error () at err.c:389
389             es=ERR_get_state();
(gdb) up
#3  0xc1d71cc8 in ssl23_connect (s=0x4002a3f8) at s23_clnt.c:108
108             ERR_clear_error();
(gdb) up
#4  0xc1d73394 in ssl23_read (s=0x4002a3f8, buf=0x4001a3e0 "", len=32768)
    at s23_lib.c:182
182                     n=s->handshake_func(s);
(gdb) up
#5  0xc1d786d0 in SSL_read (s=0x4002a3f8, buf=0x4001a3e0 "", num=32768)
    at ssl_lib.c:719
719             return(s->method->ssl_read(s,buf,num));
(gdb) up
#6  0xc023e448 in HTSSL_read () from /usr/local/lib/libwwwssl.sl.1
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to