STINNER Victor <vstin...@python.org> added the comment:
On Python 3.6/x86-64, Python does crash in libregrtest while loading test_code: 0:01:13 load avg: 2.23 [ 56/406] test_code Fatal Python error: Segmentation fault Current thread 0x00007f5a6864d740 (most recent call first): File "/builddir/build/BUILD/Python-3.6.12/Lib/test/test_code.py", line 288 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 678 in exec_module File "<frozen importlib._bootstrap>", line 665 in _load_unlocked File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 971 in _find_and_load File "<frozen importlib._bootstrap>", line 994 in _gcd_import File "/builddir/build/BUILD/Python-3.6.12/Lib/importlib/__init__.py", line 126 in import_module (...) On Python 3.5/x86-64, test_ctypes.test_callbacks() crashs with a SIGSEGV: test_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase) ... Fatal Python error: Segmentation fault Current thread 0x00007f5de8322740 (most recent call first): File "/builddir/build/BUILD/Python-3.5.10/Lib/ctypes/test/test_as_parameter.py", line 90 in test_callbacks The strange part is that the test suite pass on some platforms depending on the Python version. It might be a GCC 11 regression. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com