[issue7672] _ssl module causes segfault
Martin v. Löwis
report at bugs.python.org
Mon Jan 11 01:10:54 CET 2010
Martin v. Löwis <martin at v.loewis.de> added the comment:
So how do you do cleanup on Linux, or on OSX, in a shared library?
I'd claim that the bug is in your application. It shouldn't unload a DLL that is still in use (by having a function pointer into it stored globally).
Testing for a prior pointer value may fix it for you. It won't fix it in the general case, i.e. when you unload the ssl module and *didn't* install your own callbacks, OpenSSl would still call Python's callback.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7672>
_______________________________________
More information about the Python-bugs-list
mailing list