Christian Heimes added the comment:

Interesting, a debug build of Python doesn't segfault.

$ 3.3/python elif_segfault.py 
RuntimeError: maximum recursion depth exceeded during compilation
[41897 refs]
$ python3.3 elif_segfault.py
Speicherzugriffsfehler (Speicherabzug geschrieben)

Backtrace:
#0  0x00000000004cfd9c in _Py_Mangle (privateobj=<error reading variable: 
Cannot access memory at address 0x7fff3769afd8>, 
    ident=<error reading variable: Cannot access memory at address 
0x7fff3769afd0>) at Python/compile.c:207
#1  0x0000000000509225 in symtable_add_def (st=0x7fe146388860, 
name=0x7fe14647f450, flag=16) at Python/symtable.c:955
#2  0x000000000050ba59 in symtable_visit_expr (st=0x7fe146388860, e=0x23ea600) 
at Python/symtable.c:1370
#3  0x000000000050a52c in symtable_visit_stmt (st=0x7fe146388860, s=0x23ea690) 
at Python/symtable.c:1158
#4  0x000000000050a632 in symtable_visit_stmt (st=0x7fe146388860, s=0x23ea778) 
at Python/symtable.c:1161
#5  0x000000000050a632 in symtable_visit_stmt (st=0x7fe146388860, s=0x23ea860) 
at Python/symtable.c:1161

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16527>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to