Public bug reported:

Trusty's pypy 2.2.1+dfsg-1 package seems to be affected by PyPy bugs
https://bitbucket.org/pypy/pypy/issue/1669 and
https://bitbucket.org/pypy/pypy/issue/1694/ (which are probably
duplicates manifesting in a couple ways). This bug is fixed in
https://bitbucket.org/pypy/pypy/commits/5ca1994 . Trusty should pull
this fix into the pypy package.

Note this definitely affects some python projects. `git clone
https://git.openstack.org/openstack/zaqar.git && cd zaqar && tox -e
pypy` will trigger this. With the pypy 2.3.1+dfsg-1~ppa1 package I'm
unable to reproduce the error.

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://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

[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]

git clone https://git.openstack.org/openstack/zaqar.git
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.

** Affects: zaqar
     Importance: Undecided
         Status: New

** Affects: pypy (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: zaqar
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368418

Title:
  Fatal RPython error: KeyError/Crash in JIT!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zaqar/+bug/1368418/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to