> We've managed on a few occasions now to reproduce an issue where OpenSSL > deadlocks while trying to acquire a mutex it already has. I filed > <http://rt.openssl.org/Ticket/**Display.html?id=2866<http://rt.openssl.org/Ticket/Display.html?id=2866>> > about this issue. I > currently have a server where this has occurred, with the process in GDB. > However, the team that owns the server needs it back, so I wanted to know > if there is anything further the dev team would like me to gather from the > process before I drop out of GDB. So far we've encountered this issue on > both SLES11 SP2 and Ubuntu 12 LTS linux distributions. >
Thanks -- I've managed to find the buggy code (crypto/asn1/x_pubkey.c calls EVP_PKEY_free(ret) while holding lock CRYPTO_LOCK_EVP_PKEY, but EVP_PKEY_free(ret) always tries to obtain that lock first). Will patch this in a moment. Bodo