[CherryPy] #962: Trying to use SSL with cherrypy causes hard crash

1 view
Skip to first unread message

CherryPy

unread,
Sep 23, 2009, 7:42:46 PM9/23/09
to cherrypy...@googlegroups.com
#962: Trying to use SSL with cherrypy causes hard crash
------------------------+---------------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: wsgiserver | Keywords:
------------------------+---------------------------------------------------
Using python 2.6 pyOpenSSL 0.9 and CherryPy 3.1.2 (both obtained with
easy_install)

On Vista I can run the CherryPy wsgiserver very nicely, but the moment I
want to use SSL (regardless that no requests have yet been made) Python
crashes everytime.

Not sure what the actual problem is, hopefully someone will be able to
reproduce it.

--
Ticket URL: <http://cherrypy.org/ticket/962>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework

CherryPy

unread,
Oct 1, 2009, 2:17:20 PM10/1/09
to cherrypy...@googlegroups.com
#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>
Reply all
Reply to author
Forward
0 new messages