[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2018-04-27 Thread STINNER Victor
STINNER Victor added the comment: > It was encountered recently while building Python 3.6 under CentOS 6 [0] and > the way to fix it was to increase the maximum stack size using ulimit e.g. [1] In a perfect world, unit tests should not depend on the environment. So Python may *try* to increas

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2018-04-27 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This is an issue with the stack size. It was encountered recently while building Python 3.6 under CentOS 6 [0] and the way to fix it was to increase the maximum stack size using ulimit e.g. [1] [0] https://bugzilla.redhat.com/show_bug.cgi?id=1572150 [1

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-11 Thread Rohit Mediratta
Rohit Mediratta added the comment: Leads to the same Segfault [/loc/rom/pyd/cpython] $ ./python -m test test_exceptions Run tests sequentially 0:00:00 [1/1] test_exceptions Fatal Python error: Segmentation fault Current thread 0x7fb466572700 (most recent call first): File "/local/romedir

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-11 Thread Berker Peksag
Berker Peksag added the comment: Can you please try without coveragepy? ./python -m test test_exceptions -- nosy: +berker.peksag ___ Python tracker ___ _

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-11 Thread Rohit Mediratta
Rohit Mediratta added the comment: It's set to 1000, I didnt change during install, so it's likely set to the default value. >>> import sys >>> sys.getrecursionlimit() 1000 I also have a lot of memory free (87G) to run scripts (should be able to handle without running into issues) [/loc/rom

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-10 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This test asserts that indefinite recursion causes a RecursionError, but such recursion can instead segfault if the amount of stack space available is less than Python's recursion limit (sys.getrecursionlimit()). Are you using any unusual settings for the recu

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-09 Thread Rohit Mediratta
Rohit Mediratta added the comment: Debugged with gdb and found the following (gdb) run ../coveragepy/ run --pylib Lib/test/regrtest.py test_exceptions Starting program: /local/romedira/pydev/cpython/python ../coveragepy/ run --pylib Lib/test/regrtest.py test_exceptions [Thread debugging usi

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-09 Thread SilentGhost
Changes by SilentGhost : -- components: +Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue27277] Fatal Python error: Segmentation fault in test_exceptions

2016-06-09 Thread Rohit Mediratta
New submission from Rohit Mediratta: Fresh clone and running test_exceptions testcase caught a Seg fault. This was being run on a Centos VM. [/loc/rom/pyd/cpython] $ ./python Python 3.6.0a1+ (default:12d939477b4f, Jun 7 2016, 17:32:31) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux Type "hel