> I seem to have come across a bug in OpenSSL. In general, it performs
> flawlessly. My problem is a segmentation fault by the client when I
> arbitrarly kill the server (serious testing going on here). I recompiled
> OpenSSL with the -g parameter, and ran my client under gdb. Here is the
> session output:

Is your application or OpenSSL trying to catch SIGPIPE?  This is a likely
cause of gdb being unable to find the function names, and also is quite
likely given the problem occurs from ssl3_write_bytes() after the server
has been shot.

Try adding signal(SIGPIPE, SIG_IGN) to your main program and it'll convert
the SIGPIPE's into EPIPE errno returns.

-- 
Clifford Heath                    http://www.osa.com.au/~cjh
Open Software Associates Limited       mailto:[EMAIL PROTECTED]
29 Ringwood Street / PO Box 4414       Phone  +613 9871 1694
Ringwood VIC 3134      AUSTRALIA       Fax    +613 9871 1711
------------------------------------------------------------
Deploy Applications across the net, see http://www.osa.com


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to