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 <1560200391.81.0.920640613625.issue36402@roundup.psfhosted.org>
In-reply-to
Content
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 'https://github.com/python/cpython/pull/13889.patch'
$ 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/__init__.py", line 2304 in run_in_subinterp
  File "/home/vstinner/prog/python/3.4/Lib/test/test_threading.py", line 877 in test_threads_join_2
  (...)
Aborted (core dumped)
History
Date User Action Args
2019-06-10 20:59:51vstinnersetrecipients: + vstinner, pitrou, eric.snow, pablogsal
2019-06-10 20:59:51vstinnersetmessageid: <1560200391.81.0.920640613625.issue36402@roundup.psfhosted.org>
2019-06-10 20:59:51vstinnerlinkissue36402 messages
2019-06-10 20:59:51vstinnercreate