Public bug reported:

example:

ulimit -v 102400; python -c '[(i,i,i) for i in xrange(10000000)]'

leads to Segmentation fault on Ubuntu 14.04
This bug was fixed in newer version of python.

On Ubuntu 15.04 Python 2.7.9 it works correctly

ulimit -v 102400; python -c '[(i,i,i) for i in xrange(10000000)]'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
MemoryError

** Affects: python-defaults (Ubuntu)
     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/1479365

Title:
  Python 2.7.6 segfault instead of out of memory error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1479365/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to