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

RESOLVED FIXED in 4.2

Status

defect
P1
normal
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: wtc, Assigned: wtc)

Tracking

4.1.2
Sun
Solaris
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

18 years ago
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.
Assignee

Comment 1

18 years ago
This patch should fix the PR_PENDING_INTERRUPT_ERROR from
PR_SendFile and PR_TransmitFile.
Assignee

Comment 2

18 years ago
Fix checked into the tip of NSPR.
Status: NEW → RESOLVED
Closed: 18 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → 4.2
Assignee

Updated

18 years ago
Blocks: 133659
You need to log in before you can comment on or make changes to this bug.