The new Solaris sendfilev() system call occasionally fails with EINTR, even though all the signals we handle have the SA_RESTART flag set. So, PR_SendFile sometimes fails with the NSPR error PR_PENDING_INTERRUPT_ERROR and OS error EINTR under stress. I found that we handle the EINTR error in pt_SolarisSendFile but not in pt_solaris_sendfile_cont. I will attach a patch.
This patch should fix the PR_PENDING_INTERRUPT_ERROR from PR_SendFile and PR_TransmitFile.
Fix checked into the tip of NSPR.
Status: NEW → RESOLVED
Closed: 18 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → 4.2
You need to log in before you can comment on or make changes to this bug.