[openssl.org #2971] ENGINE_cleanup() crash

2013-02-03 Thread m...@netbsd.org via RT
Hi I experience crashes on SIGHUP with apache/PHP/libcurl gdb tells me that it happens in ENGINE_cleanup(), and that there are multiple ENGINE_load_builtin_engines() / Engine_cleanup() calls. One pair for Apache SSL setup, another pair for libcurl setup. I have been able to track down the

Re: [openssl.org #2971] AutoReply: ENGINE_cleanup() crash

2013-02-03 Thread m...@netbsd.org via RT
Here is a backtrace with debug symbols: Program received signal SIGSEGV, Segmentation fault. 0xbb7376c3 in EVP_PKEY_meth_free (pmeth=0xbb1d0f94) at /opnenssl/crypto/evp/pmeth_lib.c:295 295 if (pmeth (pmeth-flags EVP_PKEY_FLAG_DYNAMIC)) (gdb) bt #0 0xbb7376c3 in EVP_PKEY_meth_free

[openssl.org #2971] ENGINE_cleanup() crash

2013-02-03 Thread Stephen Henson via RT
On Sun Feb 03 19:14:05 2013, m...@netbsd.org wrote: Here is the first EVP_PKEY_meth_free(0xbb1d0f94) call backtrace: #0 EVP_PKEY_meth_free (pmeth=0xbb1d0f94) at /openssl/crypto/evp/pmeth_lib.c:294 #1 0xbb7407c6 in engine_pkey_meths_free (e=0xbb2e8f90) at

Re: [openssl.org #2971] ENGINE_cleanup() crash

2013-02-03 Thread m...@netbsd.org via RT
Stephen Henson via RT r...@openssl.org wrote: Have you tried a recent snapshot of OpenSSL 1.0.1 tree? This might fix it: http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=d21bf10dea6588 b632a65b4fe594e04f288aad83;hp=d47c01a31a67ff4370b1883a58cabd0279752bb4 It does, thanks. --