[openssl-users] Reg: [Crash inside SSL_CTX_free ()]

Viktor Dukhovni openssl-users at dukhovni.org
Fri Oct 5 05:21:05 UTC 2018


You either have threading problems are sharing structures without
proper reference counting or other protections.  Perhaps the
X509_STORE used in the context was already freed by some other
caller?  Or something completely unrelated corrupted the heap.
The below is not sufficient for anyone else to help you, time
to get good at using a debugger, you probably want an SSL
library compiled with debugging symbols and not stripped.

> On Oct 5, 2018, at 1:12 AM, Saimohan Gajula <saimohangajula at gmail.com> wrote:
> 
> We are encountering the crash inside the SSL_CTX_free(). Any leads for the solution will be greatly appreciated.
> 
> We are using openssl 1_0_2 and  libcrypto.so.1.0.0.
> 
> Please help us know if anyone else also faced this issue earlier.
> 
> Kindly find the Stack trace for your reference
> 
> Stack: #0 0x00007fc013fae51d in lh_insert () from /lib/x86_64/libcrypto.so.1.0.0
> #1 0x00007fc013ef74f9 in ?? () from /lib/x86_64/libcrypto.so.1.0.0
> #2 0x00007fc013ef7ed2 in ?? () from /lib/x86_64/libcrypto.so.1.0.0
> #3 0x00007fc013fdd879 in ?? () from /lib/x86_64/libcrypto.so.1.0.0
> #4 0x00007fc013fe2530 in asn1_item_combine_free () from /lib/x86_64/libcrypto.so.1.0.0
> #5 0x00007fc013fe27a4 in ASN1_item_free () from /lib/x86_64/libcrypto.so.1.0.0
> #6 0x00007fc0140063d1 in ?? () from /lib/x86_64/libcrypto.so.1.0.0
> #7 0x00007fc013fae001 in sk_pop_free () from /lib/x86_64/libcrypto.so.1.0.0
> #8 0x00007fc0140068f4 in X509_STORE_free () from /lib/x86_64/libcrypto.so.1.0.0
> #9 0x00007fc01433ef12 in SSL_CTX_free () from /lib/x86_64/libssl.so.1.0.0

-- 
	Viktor.



More information about the openssl-users mailing list