[pypy-issue] Issue #2546: PyPy segfault in Python Extensions Module (pypy/pypy)
Thomas Markovich
issues-reply at bitbucket.org
Tue Apr 25 08:25:59 EDT 2017
New issue 2546: PyPy segfault in Python Extensions Module
https://bitbucket.org/pypy/pypy/issues/2546/pypy-segfault-in-python-extensions-module
Thomas Markovich:
Hi,
I get a segfault in pypy while trying to run the tests for the lru-dict module (https://github.com/amitdev/lru-dict). This is all that is required to reproduce:
```
$ git clone https://github.com/amitdev/lru-dict.git
$ pypy setup develop
$ pypy test/test_lru.py
[1] 47345 segmentation fault pypy test/test_lru.py
$ pypy --version
Python 2.7.13 (1aa2d8e03cdfab54b7121e93fda7e98ea88a30bf, Apr 03 2017, 21:27:31)
[PyPy 5.7.1 with GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)]
```
Compare this with cPython:
```
$ python setup.py develop
$ python test/test_lru.py
......................
----------------------------------------------------------------------
Ran 22 tests in 0.051s
OK
$ python --version
Python 2.7.13
```
More information about the pypy-issue
mailing list