Open Bug 208292 Opened 23 years ago Updated 3 years ago

PR_Accept() returns "File not found" error on Darwin

Categories

(NSPR :: NSPR, defect)

PowerPC
macOS
defect

Tracking

(Not tracked)

People

(Reporter: bishakhabanerjee, Unassigned)

Details

Attachments

(1 file)

Noticing these intermittent QA failures on "herring", Darwin 6.5 platform on the Tinderboxes. Happening in the OPT build. From the log file: http://sbs-rel.nscp.aoltw.net/share/builds/sbsrel2/nss/nsstip/tinderbox/tests_results/security/herring-20030604-07.19/herring.2/output.log ssl.sh: Stress TLS RC4 128 with MD5 ---- selfserv -D -p 8444 -d ../ext_server -n herring.mcom.com \ -w nss -i ../tests_pid.24182 & selfserv started at Wed Jun 4 07:26:31 PDT 2003 tstclnt -p 8444 -h herring -q -d ../ext_client < /usr/nsstip_tbox/builds/tinderbox/macOSX/mozilla/security/nss/tests/ssl/sslreq.txt \ strsclnt -q -p 8444 -d ../ext_client -w nss -c 1000 -C c \ herring.mcom.com strsclnt started at Wed Jun 4 07:26:32 PDT 2003 strsclnt: -- SSL: Server Certificate Validated. strsclnt: 0 cache hits; 1 cache misses, 0 cache not reusable selfserv: PR_Accept returned error -5950: File not found. max_threads set down to 6 strsclnt: PR_Write returned error -5961: TCP connection reset by peer. selfserv: normal termination strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. max_threads set down to 3 strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: Client timed out waiting for connection to server. strsclnt completed at Wed Jun 4 07:27:27 PDT 2003
Noticed in the DBG build of (similar error, different test) http://sbs-rel.nscp.aoltw.net/share/builds/sbsrel2/nss/nsstip/tinderbox/tests_results/security/herring-20030604-04.47/herring.1/output.log ssl.sh: SSL3 Require client auth on 2nd hs (client auth) produced a returncode of 0, expected is 0 PASSED /usr/nsstip_tbox/builds/tinderbox/macOSX/mozilla/security/nss/tests/all.sh: line 2: 8267 Terminated selfserv -D -p ${PORT} -d ${P_R_SERVERDIR} -n ${HOSTADDR} -w nss ${sparam} -i ${R_SERVERPID} $verbose ssl.sh: SSL Stress Test =============================== ssl.sh: Stress SSL2 RC4 128 with MD5 ---- selfserv -D -p 8444 -d ../server -n herring.mcom.com \ -w nss -i ../tests_pid.7045 & selfserv started at Wed Jun 4 04:49:49 PDT 2003 tstclnt -p 8444 -h herring -q -d ../client < /usr/nsstip_tbox/builds/tinderbox/macOSX/mozilla/security/nss/tests/ssl/sslreq.txt \ strsclnt -q -p 8444 -d ../client -w nss -c 1000 -C A \ herring.mcom.com strsclnt started at Wed Jun 4 04:49:50 PDT 2003 strsclnt: -- SSL: Server Certificate Validated. strsclnt: 0 cache hits; 0 cache misses, 0 cache not reusable selfserv: PR_Accept returned error -5950: File not found. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. selfserv: normal termination strsclnt: PR_Write returned error -5961: TCP connection reset by peer. max_threads set down to 6 strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. max_threads set down to 3 strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: PR_Write returned error -5961: TCP connection reset by peer. strsclnt: Client timed out waiting for connection to server. strsclnt completed at Wed Jun 4 04:50:42 PDT 2003
Attached file output log —
This error (Stress SSL2 RC4 128 with MD5) was seen in tonight's nightly QA as well on Darwin6.5 (DBG build) Output log attached
The entire issue boils down to this: selfserv: PR_Accept returned error -5950: File not found. As I read nsprpub/pr/src/md/unix/unix_errors.c. for an accept call, PR_FILE_NOT_FOUND_ERROR is caused by ENOENT or ENXIO. ENODEV is mapped to another NSPR error for the accept call. Neither of those error codes should be generated by accept(), at least not according the the man pages I have for some other systems. I don't have access to any OSX man pages right now. Sounds like a Darwin OS problem.
QA Contact: bishakhabanerjee → jason.m.reid
Assignee: wtchang → nobody
QA Contact: jason.m.reid → libraries
Wan-Teh, I think this is really an NSPR error, because PR_Accept shouldn't return PR_FILE_NOT_FOUND. Do you agree?
We don't run tinderbox on MacOS any more. I'm guessing what version of NSPR was involved.
Assignee: nobody → wtchang
Component: Libraries → NSPR
Product: NSS → NSPR
QA Contact: libraries → wtchang
Summary: intermittent Darwin 6.5 Tinderbox QA failures. strsclnt times out waiting for connect → PR_Accept() returns "File not found" error on Darwin
Version: 3.8 → 4.2
QA Contact: wtchang → nspr
Severity: normal → S3

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: