[issue29373] subprocess.Popen os.close(p2cread) in _execute_child can cause garbage collection of self.stdout to close a reused file descriptor

Zac Medico report at bugs.python.org
Wed Jan 25 12:36:29 EST 2017


Zac Medico added the comment:

Actually, os.close(p2cread) closes a different file descriptor than c2pread, so my analysis is not correct. I don't know the precise cause of the EBADF error that I have observed. I suppose it could be some other code closing a file descriptor that belongs to a file object. Closing for now. Sorry for the noise.

I will follow up on the issue here:

https://bugs.gentoo.org/show_bug.cgi?id=582098

----------
resolution:  -> third party
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29373>
_______________________________________


More information about the Python-bugs-list mailing list