[Bug 1479365] [NEW] Python 2.7.6 segfault instead of out of memory error

Fedor Kovalev kovalevfm at gmail.com
Wed Jul 29 13:52:17 UTC 2015


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
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1479365

Title:
  Python 2.7.6 segfault instead of out of memory error

Status in python-defaults package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1479365/+subscriptions



More information about the foundations-bugs mailing list