Open
Bug 664661
Opened 14 years ago
Updated 2 years ago
PR_Select() fails test selct_er
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: mi+mozilla, Unassigned)
Details
Attachments
(1 file)
889 bytes,
text/plain
|
Details |
The (unpatched) sect_er.c test hangs indefinitely, because PR_Select() on FreeBSD fails to detect, that it was passed an already closed file-descriptor.
Reporter | ||
Comment 1•14 years ago
|
||
The attached program behaves the same on both Linux and FreeBSD. On both systems, the output is:
% ./select-test
Trying to read-select on closed read-fd
select: Bad file descriptor
% ./select-test foo
Trying to write-select on closed write-fd
select: Success
% ./select-test foo bar
Trying to read-select on closed TCP-socket
select: Success
This suggests, the test should be failing on Linux as well (select-ing on an already closed TCP-socket returns success instead of reporting bad file descriptor), but it does not...
Comment 2•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•