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 vitaly
Recipients Denis.Bilenko, neologix, vitaly
Date 2012-09-11.07:22:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347348149.34.0.995608971096.issue15896@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote a C-language program to reproduce this issue on Mac OS without Python.  It reproduces the issue in both increasing and decreasing order of initial read sizes, and it reliably reproduces it for each KB from 128KB to 1024KB ; the Python version reproduced the issue every 4K and only in decreasing order (probably something related to Python's memory management optimizations).

A new caveat: if the read buffer is allocated once before entering the read loop, then we don't get any EINVAL in the entire run; however, if the read buffer is allocated for each read request inside the loop, then we get EINVAL every other time in the range from 128KB and up.

I would like to file this issue with apple/Mac OS. What's the appropriate URL for this?
History
Date User Action Args
2012-09-11 07:22:29vitalysetrecipients: + vitaly, neologix, Denis.Bilenko
2012-09-11 07:22:29vitalysetmessageid: <1347348149.34.0.995608971096.issue15896@psf.upfronthosting.co.za>
2012-09-11 07:22:28vitalylinkissue15896 messages
2012-09-11 07:22:28vitalycreate