Closed Bug 132812 Opened 23 years ago Closed 23 years ago

Need to handle the EINTR error from the sendfilev() system call

Categories

(NSPR :: NSPR, defect, P1)

4.1.2
Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

References

Details

Attachments

(1 file)

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.
Attached patch Proposed patchSplinter Review
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: 23 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → 4.2
Blocks: 133659
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: