On Monday 11 December 2006 18:03, Nils Larsch wrote:
> does it help is you build openssl without BN_DEBUG ? When BN_DEBUG
> is defined bn_check_top() is a macro that should check if the BIGNUM::top
> value is correclty set (note: this isn't really a solution as
> bn_check_top() (without BN_DEBUG_RAND) should be mt-safe).

No, it doesn't.  As always problems with non mt-safe functions
cause errors that look random.  That wan was just an example.
I turned debugging of to get the symbols in the stack backtrace.

Here is the test suite I use to reproduce this problem.
http://stunnel.mirt.net/tcpstress/

I disable session cache by changing:
    SSL_CTX_set_session_cache_mode(section->ctx, SSL_SESS_CACHE_BOTH);
to:
    SSL_CTX_set_session_cache_mode(section->ctx, SSL_SESS_CACHE_OFF);
in ctx.c file.

BTW: As expected adding dynamic locking callbacks didn't help.

Best regards,
    Mike

Attachment: pgpnrA0CecISe.pgp
Description: PGP signature

Reply via email to