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 I mean it's not null or does not hold garbage. #0 0x00007ffff6d54210 in ?? () from /usr/lib64/libssl.so.1.0.0 #1 0x00007ffff67cac4d in ?? () from /usr/lib64/libcrypto.so.1.0.0 #2 0x00007ffff67cb14f in lh_delete () from /usr/lib64/libcrypto.so.1.0.0 #3 0x00007ffff6d5ab14 in ?? () from /usr/lib64/libssl.so.1.0.0 #4 0x00007ffff67cb3cc in lh_doall_arg () from /usr/lib64/libcrypto.so.1.0.0 #5 0x00007ffff6d5afc7 in SSL_CTX_flush_sessions () from /usr/lib64/libssl.so.1.0.0 #6 0x00007ffff6d55f0a in SSL_CTX_free () from /usr/lib64/libssl.so.1.0.0 Wait for the debugging symbols...