[pypy-issue] [issue1020] segfault when running test_greenlet.py through pypy pytest.py

Justin Patrin tracker at bugs.pypy.org
Wed Jan 25 00:42:35 CET 2012


New submission from Justin Patrin <papercrane at reversefold.com>:

On Linux x64:

{default//pypy} $ PYTHONPATH=. pypy pytest.py 
pypy/module/test_lib_pypy/test_greenlet.py                                                            
(papercrane at rrlrrll:~/src/pypy/)
================================================================================ 
test session 
starts 
================================================================================
platform linux2 -- Python 2.7.1[pypy-1.7.1] -- pytest-2.1.0.dev4
pytest-2.1.0.dev4 from /home/papercrane/src/pypy/pytest.pyc
collected 19 items 

pypy/module/test_lib_pypy/test_greenlet.py zsh: abort      PYTHONPATH=. pypy 
pytest.py 
pypy/module/test_lib_pypy/test_greenlet.py

On OSX 10.7.2:
{default//pypy} $ PYTHONPATH=. pypy pytest.py 
pypy/module/test_lib_pypy/test_greenlet.py                                                       
(jpatrin at jpatrin-mbp-lol:~/src/pypy/)
/Users/jpatrin/src/pypy/_pytest/core.py:148: UserWarning: Module py was already 
imported from 
/Users/jpatrin/src/pypy/py/__init__.pyc, but /Users/jpatrin/src/pypy/site-
packages/py-1.4.6-
py2.7.egg is being added to sys.path
  from pkg_resources import iter_entry_points, DistributionNotFound
================================================================================ 
test session 
starts 
================================================================================
platform 
darwin -- Python 2.7.1[pypy-1.8.1] -- pytest-2.1.0.dev4
pytest-2.1.0.dev4 from /Users/jpatrin/src/pypy/pytest.pyccollected 19 items 

pypy/module/test_lib_pypy/test_greenlet.py zsh: segmentation fault  PYTHONPATH=. 
pypy pytest.py 
pypy/module/test_lib_pypy/test_greenlet.py

Works with python 2.6.7 or python 2.7:
{default//pypy} $ PYTHONPATH=. python pytest.py 
pypy/module/test_lib_pypy/test_greenlet.py                                                     
(jpatrin at jpatrin-mbp-lol:~/src/pypy/)
/Users/jpatrin/src/pypy/_pytest/core.py:148: UserWarning: Module py was already 
imported from 
/Users/jpatrin/src/pypy/py/__init__.py, but 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/py-1.4.6-
py2.6.egg is being added to sys.path  from pkg_resources import 
iter_entry_points, 
DistributionNotFound============================================================
==================
== test session starts 
================================================================================
platform darwin -- 
Python 2.6.7 -- pytest-2.1.0.dev4pytest-2.1.0.dev4 from 
/Users/jpatrin/src/pypy/pytest.pycollected 
19 items 
pypy/module/test_lib_pypy/test_greenlet.py ...................

============================================================================= 19 
passed in 5.91 
seconds 
=============================================================================

----------
messages: 3811
nosy: papercrane, pypy-issue
priority: bug
status: unread
title: segfault when running test_greenlet.py through pypy pytest.py

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


More information about the pypy-issue mailing list