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
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
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
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 "/
New submission from Rohit Mediratta:
Opened to submit a patch.
- make patchcheck succeeded
- full testsuite succeeded
- Old coverage
Lib/calendar.py 375 5486% 511, 519, 541, 608-699, 703
- New coverage
Lib/calendar.py 375 5186% 608-699, 703
Rohit Mediratta added the comment:
Thanks for the comments. I did indeed have the patch reversed. I've resolved it
here.
Martin: I had the locale=None case in the patch.
--
Added file: http://bugs.python.org/file41109/mywork_update.patch
___
P