classification
Title: Deeply recursive repr segfault
Type: crash Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: Rhamphoryncus, brett.cannon
Priority: critical Keywords:

Created on 2007-09-04 01:46 by Rhamphoryncus, last changed 2007-09-10 21:38 by brett.cannon. This issue is now closed.

Messages (2)
msg55626 - (view) Author: Adam Olsen (Rhamphoryncus) Date: 2007-09-04 01:46
$ ./python -m timeit -s 'x = []
for i in range(100000):
    x = [x]' 'repr(x)'
Segmentation fault

I've tested this on 2.4, 2.5, and 3.0 trunk (although a few days old.)
msg55796 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2007-09-10 21:38
Fixed in rev. 58096.
History
Date User Action Args
2007-09-10 21:38:51brett.cannonsetstatus: open -> closed
versions: + Python 2.6
nosy: + brett.cannon
messages: + msg55796
assignee: brett.cannon
resolution: fixed
2007-09-10 21:21:09brett.cannonsetpriority: critical
2007-09-04 01:46:13Rhamphoryncuscreate