[issue32368] Segfault when compiling many conditional expressions

2018-02-06 Thread Stefan Nordhausen
Stefan Nordhausen added the comment: The fix for https://bugs.python.org/issue31113 also fixed this issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31113] Stack overflow with large program

2017-12-19 Thread Stefan Nordhausen
Change by Stefan Nordhausen : -- nosy: +snordhausen ___ Python tracker <https://bugs.python.org/issue31113> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32368] Segfault when compiling many conditional expressions

2017-12-19 Thread Stefan Nordhausen
Stefan Nordhausen added the comment: I tried out PR 3015 of Serhiy and this fixes the segfaults. So it seems to be a duplicate. As for backporting the fix: Is this a 'reliable' segfault (i.e. it always segfaults when the limit is exceeded) or could there be some silent data corr

[issue32368] Segfault when compiling many conditional expressions

2017-12-18 Thread Stefan Nordhausen
New submission from Stefan Nordhausen : The following code reproducibly segfaults in version 2.7.13, 3.6.3 and the current git master (3.7.0a3+): code = "42 if True else 43\n" * 20 compile(code, "foobar", "exec") This issue was originally found becau