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-04-27.21:15:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588022157.48.0.118072866997.issue39995@roundup.psfhosted.org>
In-reply-to
Content
ERROR: test_killed_child (test.test_concurrent_futures.ProcessPoolSpawnProcessPoolExecutorTest)
  (...)
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.9/multiprocessing/connection.py", line 373, in _send
    n = write(self._handle, buf)
OSError: [Errno 9] Bad file descriptor

It seems like Connection.close() was called while Connection._send() was called. I added debug logs:

* self._handle was equal to 4 at the function entry
* self._handle was equal to None when write() was called
History
Date User Action Args
2020-04-27 21:15:57vstinnersetrecipients: + vstinner
2020-04-27 21:15:57vstinnersetmessageid: <1588022157.48.0.118072866997.issue39995@roundup.psfhosted.org>
2020-04-27 21:15:57vstinnerlinkissue39995 messages
2020-04-27 21:15:57vstinnercreate