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 aeros, eric.snow, vstinner
Date 2019-10-18.11:06:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The race condition can be reproduced on Linux using a lot of parallel test worker processes. For example, I reproduce it on my laptop (8 CPUs) using:

$ ./python -m test test__xxsubinterpreters -F -j30
0:00:26 load avg: 17.86 [ 24] test__xxsubinterpreters passed
0:00:26 load avg: 17.86 [ 25] test__xxsubinterpreters passed
0:00:26 load avg: 17.86 [ 26] test__xxsubinterpreters passed
0:00:27 load avg: 17.86 [ 27/1] test__xxsubinterpreters failed
Exception in thread Thread-8:
Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/", line 944, in _bootstrap_inner
  File "/home/vstinner/python/master/Lib/", line 882, in run
    self._target(*self._args, **self._kwargs)
  File "/home/vstinner/python/master/Lib/test/", line 51, in run
    interpreters.run_string(interp, dedent(f"""
RuntimeError: unrecognized interpreter ID 46
test test__xxsubinterpreters failed -- Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/test/", line 492, in test_subinterpreter
AssertionError: False is not true
Date User Action Args
2019-10-18 11:06:24vstinnersetrecipients: + vstinner, eric.snow, aeros
2019-10-18 11:06:24vstinnersetmessageid: <>
2019-10-18 11:06:24vstinnerlinkissue37224 messages
2019-10-18 11:06:24vstinnercreate