On Wed, Sep 5, 2012 at 3:06 PM, Bodo Moeller <bmoel...@acm.org> wrote:
> > 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. > Actually I see this has been fixed already -- please try the latest 1.0.0 snapshot to confirm: http://cvs.openssl.org/chngview?cn=22572