On 04/20/15 00:10, Salz, Rich wrote: >> Sometimes, the program crashes when doing an SSL_CTX_free; before the >> crash, ctx is an invalid pointer, that's why I can get a valid value from >> SSL_CTX_get_max_cert_list (ctx), so it's not a double free problem. > You mean it's a VALID pointer? > > We'll need a more detailed backtrace. > _______________________________________________ > openssl-users mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users Relevant parts of the BT #0 0x00007ffff54bde97 in raise () from /lib64/libc.so.6 #1 0x00007ffff54bf208 in abort () from /lib64/libc.so.6 #2 0x00007ffff54feea0 in ?? () from /lib64/libc.so.6 #3 0x00007ffff55048be in ?? () from /lib64/libc.so.6 #4 0x00007ffff55050ab in ?? () from /lib64/libc.so.6 #5 0x00007ffff6827f7c in CRYPTO_free (str=0x8fbfe0) at mem.c:401 #6 0x00007ffff67e99a0 in X509_VERIFY_PARAM_free (param=0x8fbfe0) at x509_vpm.c:102 #7 0x00007ffff6d5302a in SSL_CTX_free (a=0x8fe090) at ssl_lib.c:1944