Christian Heimes <li...@cheimes.de> added the comment:

Looks like 174,565 stack frames are a bit too much :)

(gdb) bt
#0  dfs (c=0x7fffffffcbe0, b=0x7fffea076d60, a=0x7fffffffcb50) at 
Python/compile.c:4903
#1  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076db0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#2  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076cc0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#3  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076d10, 
a=0x7fffffffcb50) at Python/compile.c:4903
#4  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076c20, 
a=0x7fffffffcb50) at Python/compile.c:4903
#5  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076c70, 
a=0x7fffffffcb50) at Python/compile.c:4903
#6  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076b80, 
a=0x7fffffffcb50) at Python/compile.c:4903
#7  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076bd0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#8  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076ae0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#9  0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076b30, 
a=0x7fffffffcb50) at Python/compile.c:4903
#10 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076a40, 
a=0x7fffffffcb50) at Python/compile.c:4903
#11 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076a90, 
a=0x7fffffffcb50) at Python/compile.c:4903
#12 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea0769a0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#13 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea0769f0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#14 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7fffea076900, 
a=0x7fffffffcb50) at Python/compile.c:4903

(gdb) bt -50
...
#174562 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7ffff04609a0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#174563 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7ffff04609f0, 
a=0x7fffffffcb50) at Python/compile.c:4903
#174564 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7ffff0460900, 
a=0x7fffffffcb50) at Python/compile.c:4903
#174565 0x00000000004e47a2 in dfs (c=0x7fffffffcbe0, b=0x7ffff0460950, 
a=0x7fffffffcb50) at Python/compile.c:4903
#174566 0x00000000004e47a2 in dfs (c=c@entry=0x7fffffffcbe0, 
b=b@entry=0x7ffff04608b0, a=a@entry=0x7fffffffcb50) at Python/compile.c:4903
#174567 0x00000000004e9844 in assemble (c=c@entry=0x7fffffffcbe0, 
addNone=<optimized out>) at Python/compile.c:5411
#174568 0x00000000004ed809 in compiler_mod (c=c@entry=0x7fffffffcbe0, 
mod=mod@entry=0x3523788) at Python/compile.c:1494
#174569 0x00000000004eda33 in PyAST_CompileObject (mod=0x3523788, 
filename=filename@entry='foobar', flags=flags@entry=0x7fffffffccb4, 
optimize=optimize@entry=-1, arena=arena@entry=0x7ffff0466f40)
    at Python/compile.c:345
#174570 0x000000000050fcaa in Py_CompileStringObject (
    str=0x7fffef9d1070 "42 if True else 43\n42 if True else 43\n42 if True else 
43\n42 if True else 43\n42 if True else 43\n42 if True else 43\n42 if True else 
43\n42 if True else 43\n42 if True else 43\n42 if True else 43\n42 if True"..., 
filename=filename@entry='foobar', start=start@entry=257, 
flags=flags@entry=0x7fffffffccb4, optimize=optimize@entry=-1) at 
Python/pythonrun.c:1098
#174571 0x00000000004d2146 in builtin_compile_impl (module=module@entry=<module 
at remote 0x7ffff7f5b658>,

----------
nosy: +christian.heimes

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

Reply via email to