Fatal RPython error: KeyError/Crash in JIT!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Undecided
|
Unassigned | ||
pypy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Trusty's pypy 2.2.1+dfsg-1 package seems to be affected by PyPy bugs https:/
Note this definitely affects some python projects. `git clone https:/
Now for details, broken using:
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ apt-cache policy pypy
pypy:
Installed: 2.2.1+dfsg-1
Candidate: 2.2.1+dfsg-1
Version table:
*** 2.2.1+dfsg-1 0
500 http://
100 /var/lib/
[Impact]
This bug can cause processes that tickle it to crash PyPy's JIT. This means there could be a significant number of Python programs that are broken when run under this interpreter. The fix for this bug should be backported to avoid seemingly random and hard to debug JIT crashes from happening when users use pypy.
[Test Case]
Download main.py and python.zip from https:/
unzip, and place main.py inside the python directory
Run pypy main.py.
It'll either crash immediately, or start outputting some lines of text (equaling success)
[Test Case - No longer relevant, worked around]
git clone https:/
cd zaqar
tox -e pypy
# This should end with aborting during test discovery. Note if you don't have tox installed you will need to install version 1.7.2 or greater. `sudo pip install tox==1.7.2` will do this.
[Regression Potential]
The patch in question is small. If we go straight to pypy 2.3.x the diff will be larger but that isn't necessary to fix this particular issue. The biggest regression potential would be that heap cache management ends up broken by the this bug fix.
Related branches
Changed in pypy (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in pypy (Ubuntu Trusty): | |
status: | New → Fix Committed |
Changed in pypy (Ubuntu Trusty): | |
status: | Fix Committed → Fix Released |
Changed in zaqar: | |
status: | New → Fix Released |
Related fix proposed to branch: master /review. openstack. org/120906
Review: https:/