[issue13059] Sporadic test_multiprocessing failure: IOError("bad message length") in recv_bytes()

Antoine Pitrou report at bugs.python.org
Fri Oct 28 00:50:58 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

This is a really weird error. At this point, the child is waiting for a challenge from the parent, and the challenge is something like 32 bytes long:

    message = os.urandom(MESSAGE_LENGTH)
    connection.send_bytes(CHALLENGE + message)

So, this can only mean, IMO, that someone else than the parent (another process?) is writing on the socket...

----------

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


More information about the Python-bugs-list mailing list