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 eric.snow, pablogsal, pitrou, vstinner
Date 2019-06-10.20:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Oh. Using PR 13889, I'm able to reproduce the bug up to Python 3.4. Example at commit commit e76cbc781044ee01b059f3702c580e66266b84c5 (tag: v3.4.10):

$ wget ''
$ git apply 13889.patch
$ ./python -m test  -F -m test_threads_join_2  test_threading
[  1] test_threading
[  2] test_threading
[ 10] test_threading
[ 11] test_threading
Fatal Python error: Py_EndInterpreter: not the last thread

Current thread 0x00007f418b3280c0 (most recent call first):
  File "/home/vstinner/prog/python/3.4/Lib/test/support/", line 2304 in run_in_subinterp
  File "/home/vstinner/prog/python/3.4/Lib/test/", line 877 in test_threads_join_2
Aborted (core dumped)
Date User Action Args
2019-06-10 20:59:51vstinnersetrecipients: + vstinner, pitrou, eric.snow, pablogsal
2019-06-10 20:59:51vstinnersetmessageid: <>
2019-06-10 20:59:51vstinnerlinkissue36402 messages
2019-06-10 20:59:51vstinnercreate