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 jbrearley
Recipients jbrearley
Date 2013-01-10.17:19:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Using a multiprocessing.connection listener, I can accept an incoming socket OK, but when I do conn.recv(), I get memory error. The attached script will readily reproduce the issues on WinXP & WinVista, see sample output below:

main server listening on host  port 10500
main created simple_client <Process(Process-1, initial)>
simple_client connecting to host localhost port 10500
main conn: <multiprocessing.connection.Connection object at 0x00C94B50> waiting
for data
simple_client sending: b'abcd'
simple_client waiting for data
Traceback (most recent call last):
  File "", line 61, in <module>
    data=conn.recv()   ;# Memory Error occurs here <<<==========================
  File "c:\python33\lib\multiprocessing\", line 251, in recv
    buf = self._recv_bytes()
  File "c:\python33\lib\multiprocessing\", line 405, in _recv_bytes

    return self._recv(size)
  File "c:\python33\lib\multiprocessing\", line 380, in _recv
    chunk = read(handle, remaining)
Date User Action Args
2013-01-10 17:19:32jbrearleysetrecipients: + jbrearley
2013-01-10 17:19:32jbrearleysetmessageid: <>
2013-01-10 17:19:32jbrearleylinkissue16920 messages
2013-01-10 17:19:30jbrearleycreate