Message179577
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 mpl_bug.py will readily reproduce the issues on WinXP & WinVista, see sample output below:
<pre>
c:\>python mpl_bug.py
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 "mpl_bug.py", line 61, in <module>
data=conn.recv() ;# Memory Error occurs here <<<==========================
======================
File "c:\python33\lib\multiprocessing\connection.py", line 251, in recv
buf = self._recv_bytes()
File "c:\python33\lib\multiprocessing\connection.py", line 405, in _recv_bytes
return self._recv(size)
File "c:\python33\lib\multiprocessing\connection.py", line 380, in _recv
chunk = read(handle, remaining)
MemoryError
</pre> |
|
Date |
User |
Action |
Args |
2013-01-10 17:19:32 | jbrearley | set | recipients:
+ jbrearley |
2013-01-10 17:19:32 | jbrearley | set | messageid: <1357838372.36.0.779855402088.issue16920@psf.upfronthosting.co.za> |
2013-01-10 17:19:32 | jbrearley | link | issue16920 messages |
2013-01-10 17:19:30 | jbrearley | create | |
|