#962: Trying to use SSL with cherrypy causes hard crash
------------------------+---------------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: wsgiserver | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by guest):
I had a similar issue with pyOpenSSL 0.9, OpenSSL 0.9.8, Python 2.5-2.6,
and cherrypy 3.1.2. My issue had to do with the Microsoft C run time
libraries. Make sure that all of the following DLLs link to the same
version of the C runtime (use dependency walker to check,
http://www.dependencywalker.com/): crypto.pyd, rand.pyd, SSL.pyd,
Python26.dll (or your version), libeay32.dll, libssl32.dll, and
ssleay32.dll. For Python 2.6 this is going to be MSVCR90.DLL. The first
three DLLs install with pyOpenSSL, the last three install with OpenSSL.
If they are not using the same C run time DLL, python.exe load multiple
versions of the C run time and it will crash. In my case memory was
allocated in one C heap and released in a different C heap.
--
Ticket URL: <
http://www.cherrypy.org/ticket/962>