[issue29340] SSL destructor segfaults in python3.6 threads when an unverified-cert connection is closed

Christian Heimes report at bugs.python.org
Sat Jan 21 19:00:49 EST 2017


Christian Heimes added the comment:

I can reproduce the crash under Linux with OpenSSL 1.0.2j and Python 2.7, 3.5 and 3.6. Python 2.7 doesn't crash every time, 1 out of 5 times maybe.

#0  ssl_buf_freelist_free (list=0x7fffe8003b50) at ssl_lib.c:2094
#1  0x00007fffef3d68d7 in SSL_CTX_free (a=0x7fffe8006cf0) at ssl_lib.c:2182
#2  0x00007fffed23c60b in context_dealloc (self=0x7fffecffa9e8) at /home/heimes/dev/python/3.6/Modules/_ssl.c:2787
#3  0x00000000004c8b74 in subtype_dealloc (self=0x7fffecffa9e8) at Objects/typeobject.c:1222
#4  0x00000000004a4bc7 in dict_dealloc (mp=0x7fffed00a480) at Objects/dictobject.c:2011
#5  0x00000000004c8be2 in subtype_dealloc (self=0x7fffecfffce0) at Objects/typeobject.c:1207

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29340>
_______________________________________


More information about the Python-bugs-list mailing list