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 hwaara
Recipients hwaara
Date 2008-05-18.00:16:43
SpamBayes Score 0.21070163
Marked as misclassified No
Message-id <1211069816.05.0.311102248623.issue2901@psf.upfronthosting.co.za>
In-reply-to
Content
I'm using the standard lib SimpleXMLRPCServer to receive a file from a
client. The file is sent using an instance of the xmlrpclib.Binary class. 

Whenever the file is bigger than a few MB, the server reports spews out
an internal error to stderr:

Python(13950) malloc: *** mmap(size=9916416) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

This *only* happens if the client and server are not the same machine;
i.e., connecting and sending to "localhost" always works.

Attached testcase:

* test_server.py opens a server on port 8001 waiting to receive a blob
of data over HTTP.

* Modify test_client.py to point at a big file, and then connect to the
server machine, and you will ses the error.


I'm running OS X-bundled Python 2.5.1 on OS X 10.5.2
History
Date User Action Args
2008-05-18 00:16:57hwaarasetspambayes_score: 0.210702 -> 0.21070163
recipients: + hwaara
2008-05-18 00:16:56hwaarasetspambayes_score: 0.210702 -> 0.210702
messageid: <1211069816.05.0.311102248623.issue2901@psf.upfronthosting.co.za>
2008-05-18 00:16:53hwaaralinkissue2901 messages
2008-05-18 00:16:51hwaaracreate