889 bytes, text/plain
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.
Created attachment 539724 [details] A test program calling socket() and select() directly, without NSPR 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...
You need to log in before you can comment on or make changes to this bug.