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 terry.reedy
Recipients ezio.melotti, sbt, terry.reedy
Date 2013-03-12.00:04:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363046644.27.0.443258211441.issue17399@psf.upfronthosting.co.za>
In-reply-to
Content
test_multiprocessing is giving multiple errors like
Process Process-21:
Traceback (most recent call last):
  File "F:\Python\dev\py27\lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "F:\Python\dev\py27\lib\multiprocessing\process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "F:\Python\dev\py27\lib\test\test_multiprocessing.py", line 1703, in _test
    conn.send('hello')
IOError: [Errno 10038] An operation was attempted on something that is not a socket
...
  File "F:\Python\dev\py27\lib\test\test_multiprocessing.py", line 1419, in _putter
    manager.connect()
  File "F:\Python\dev\py27\lib\multiprocessing\managers.py", line 500, in connect
    conn = Client(self._address, authkey=self._authkey)
  File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 465, in XmlClient
    return ConnectionWrapper(Client(*args, **kwds), _xml_dumps, _xml_loads)
  File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 175, in Client
    answer_challenge(c, authkey)
  File "F:\Python\dev\py27\lib\multiprocessing\connection.py", line 420, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
IOError: [Errno 10038] An operation was attempted on something that is not a socket

After a few of these, it hangs and I have to either kill multiple processes with TaskManager (or maybe kill-python would work) or kill the console. All tracebacks seem to one of these two. The common factor is 'not a socket'. It seems that something in the test should be skipped on windows. I got similar results running test_multiprocessing by itself. The process numbers are haphazard.
History
Date User Action Args
2013-03-12 00:04:04terry.reedysetrecipients: + terry.reedy, ezio.melotti, sbt
2013-03-12 00:04:04terry.reedysetmessageid: <1363046644.27.0.443258211441.issue17399@psf.upfronthosting.co.za>
2013-03-12 00:04:04terry.reedylinkissue17399 messages
2013-03-12 00:04:03terry.reedycreate