[Python-bugs-list] [Bug #113047] test_poll fails on FreeBSD 4.1
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 29 Aug 2000 09:24:03 -0700
Bug #113047, was updated on 2000-Aug-29 08:51
Here is a current snapshot of the bug.
Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: test_poll fails on FreeBSD 4.1
Details: We have a FreeBSD 4.1 system at BeOpen now, and when I build Python all tests succeed except for test_poll. The error is this assert in test_poll1():
assert len(buf) == MSG_LEN
When I add a print statement, len(buf) is zero.
Any suggestion as to what I should do next?
Follow-Ups:
Date: 2000-Aug-29 09:24
By: akuchling
Comment:
What the test is doing is creating a bunch of pipes,
writing the string MSG to them, and then reading them back. test_poll1() has just picked a random pipe that's ready for reading, and tried to read MSG_LEN bytes, but instead it
got back the empty string. Print the contents of the
'ready' list and of the 'ready_readers' list constructed from it; maybe find_ready_readers in the test module is buggy. (Or maybe this behaviour is legal for some reason,
and the assertion is too stringent.)
I could get a log in on the FreeBSD machine at SourceForge
and look into this.
The test_poll1() function was contributed by Jeremy, BTW,
so if he has access to your FreeBSD machine, he could
also look into it.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113047&group_id=5470