Python 2.7.6 segfault instead of out of memory error

Bug #1479365 reported by Fedor Kovalev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.