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 hmoffatt
Recipients hmoffatt
Date 2009-01-14.03:48:23
SpamBayes Score 0.014130052
Marked as misclassified No
Message-id <1231904905.99.0.375318145536.issue4942@psf.upfronthosting.co.za>
In-reply-to
Content
As of 2.5.3, calling accept() on an AF_UNIX socket fails on arm. The
following exception occurs:

SystemError: Negative size passed to PyString_FromStringAndSize

I have attached a test program that creates a socket and connects to it.
It works on x86-64 but fails on armeb (gcc 4.1.2).

This failure has been noted a few times by the arm buildbot too:
http://archives.free.net.ph/message/20081012.121034.89069ea2.en.html

It's already fixed in 2.6.x in rev 60214. I applied the same change to
2.5.4 and the problem was resolved.
History
Date User Action Args
2009-01-14 03:48:26hmoffattsetrecipients: + hmoffatt
2009-01-14 03:48:25hmoffattsetmessageid: <1231904905.99.0.375318145536.issue4942@psf.upfronthosting.co.za>
2009-01-14 03:48:25hmoffattlinkissue4942 messages
2009-01-14 03:48:24hmoffattcreate