This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2020-12-07.15:05:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/", 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/", 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/", 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.
Date User Action Args
2020-12-07 15:05:07vstinnersetrecipients: + vstinner
2020-12-07 15:05:07vstinnersetmessageid: <>
2020-12-07 15:05:07vstinnerlinkissue42587 messages
2020-12-07 15:05:07vstinnercreate