homepage

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 pitrou
Recipients giampaolo.rodola, loewis, pitrou
Date 2011年02月26日.13:29:01
SpamBayes Score 9.2576345e-05
Marked as misclassified No
Message-id <1298726942.99.0.382934160681.issue11323@psf.upfronthosting.co.za>
In-reply-to
Content
It still fails under AMD64 OpenIndiana:
======================================================================
ERROR: test_offset_overflow (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_os.py", line 1473, in test_offset_overflow
 sent = os.sendfile(self.sockno, self.fileno, offset, 4096)
OSError: [Errno 22] Invalid argument
======================================================================
ERROR: test_send_at_certain_offset (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_os.py", line 1456, in test_send_at_certain_offset
 sent = self.sendfile_wrapper(self.sockno, self.fileno, offset, nbytes)
 File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_os.py", line 1419, in sendfile_wrapper
 return os.sendfile(sock, file, offset, nbytes)
OSError: [Errno 22] Invalid argument
======================================================================
ERROR: test_send_whole_file (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_os.py", line 1436, in test_send_whole_file
 sent = self.sendfile_wrapper(self.sockno, self.fileno, offset, nbytes)
 File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_os.py", line 1419, in sendfile_wrapper
 return os.sendfile(sock, file, offset, nbytes)
OSError: [Errno 22] Invalid argument
According to the man page, EINVAL means:
 EINVAL The offset cannot be represented by the
 off_t structure, or the length is negative
 when cast to ssize_t.
History
Date User Action Args
2011年02月26日 13:29:03pitrousetrecipients: + pitrou, loewis, giampaolo.rodola
2011年02月26日 13:29:02pitrousetmessageid: <1298726942.99.0.382934160681.issue11323@psf.upfronthosting.co.za>
2011年02月26日 13:29:01pitroulinkissue11323 messages
2011年02月26日 13:29:01pitroucreate

AltStyle によって変換されたページ (->オリジナル) /