[pypy-issue] [issue1162] Abort with OpenSSL and threads

Tobias Oberstein tracker at bugs.pypy.org
Fri Jun 29 23:10:05 CEST 2012


Tobias Oberstein <tobias.oberstein at gmail.com> added the comment:

Tests were performed on "Ubuntu 10.04 LTS i386" with 4 different Pythons:

 * CPy 2.7.3
 * PyPy 1.9 Release
 * PyPy Trunk (pypy-c-jit-55865-f7fcfbf26301-linux)
 * PyPy Trunk (55872:26b81a6d9365) + Patch from Issue #1175

All of which with "pyOpenSSL 0.13".

SUMMARY
=======

The test cases 1, 2 and 3 will only work on PyPy Trunk + Patch (other than CPy
of course).

Test case 5 is working on PyPy Trunk, but not 1.9 Release.


RESULTS
=======

The test results seem to be reproducible each and every time run (I tried at
least a couple of times .. never saw non-deterministic behavior).


testcase5.py
============

https://github.com/oberstet/scratchbox/blob/master/python/twisted/pypybug1/testcase5.py

Command: <PYTHON> testcase5.py

Results:

CPy 2.7.3:          Success.
PyPy 1.9 Release:   Failure.
PyPy Trunk:         Success.
PyPy Trunk + Patch: Success.


testcase4.py
============

https://github.com/oberstet/scratchbox/blob/master/python/twisted/pypybug1/testcase4.py

Command: <PYTHON> testcase4.py

Results:

CPy 2.7.3:          Success.
PyPy 1.9 Release:   Success.
PyPy Trunk:         Success.
PyPy Trunk + Patch: Success.


testcase3.py
============

https://github.com/oberstet/scratchbox/blob/master/python/twisted/pypybug1/testcase3.py

Command: <PYTHON> testcase3.py threads

CPy 2.7.3:          Success.
PyPy 1.9 Release:   Failure.
PyPy Trunk:         Failure.
PyPy Trunk + Patch: Success.


testcase2.py
============

https://github.com/oberstet/scratchbox/blob/master/python/twisted/pypybug1/testcase2.py

Command: <PYTHON> testcase2.py defer ssl

CPy 2.7.3:          Success.
PyPy 1.9 Release:   Failure.
PyPy Trunk:         Failure.
PyPy Trunk + Patch: Success.


testcase.py
============

https://github.com/oberstet/scratchbox/blob/master/python/twisted/pypybug1/testcase.py

Command: <PYTHON> testcase.py pool ssl

CPy 2.7.3:          Success.
PyPy 1.9 Release:   Failure.
PyPy Trunk:         Failure.
PyPy Trunk + Patch: Success.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1162>
________________________________________


More information about the pypy-issue mailing list