Tstclnt sometimes hangs.

RESOLVED DUPLICATE of bug 485659

Status

NSS
Tools
RESOLVED DUPLICATE of bug 485659
11 years ago
9 years ago

People

(Reporter: Slavomir Katuscak, Assigned: Julien Pierre)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
I registered this problem sometimes on Tinderboxes (not very often) and today on securityjes5 branch on Windows.

Tstclnt is trying to connect to selfserv (not sure if connection was successfull) and it hangs. Usually this hangs test suite and it needs to be killed/restarted manually. 

Last lines on output:
selfserv starting at Thu Mar 22 22:58:17 PDT 2007
selfserv -D -p 8447 -d ../server -n LEIA.red.iplanet.com  \
         -e LEIA.red.iplanet.com-ec -w nss -r -r -i ../tests_pid.1260  &
waiting for selfserv at Thu Mar 22 22:58:17 PDT 2007
tstclnt -p 8447 -h LEIA.red.iplanet.com  -q \
        -d ../client < U:/security/securityjes5/builds/20070322.1/blowfish_NT4.0_Win95/mozilla/security/nss/tests/ssl/sslreq.dat
kill -0 1644 >/dev/null 2>/dev/null
selfserv with PID 1644 found at Thu Mar 22 22:58:20 PDT 2007
selfserv with PID 1644 started at Thu Mar 22 22:58:21 PDT 2007
tstclnt -p 8447 -h LEIA.red.iplanet.com -f -d ../client \
        -w nss -n none  < U:/security/securityjes5/builds/20070322.1/blowfish_NT4.0_Win95/mozilla/security/nss/tests/ssl/sslreq.dat

Processes related to this issue (both hanged for some hours):
$ ps -ef | grep LEIA
   svbld  1644   144  0 22:58:18 CONIN$  0:00 selfserv -D -p 8447 -d ../server -n LEIA.red.iplanet.com -e LEIA.red.iplanet.com-ec -w nss -r -r -i ../tests_pid.1260
   svbld  1248  1148  0 22:58:22 CONIN$  0:00 tstclnt -p 8447 -h LEIA.red.iplanet.com -f -w nss -n none -d ../client

Suggested fix:
All parts of tstclnt which can hang should use timeout. If timed out then exit with error.
(Reporter)

Comment 1

11 years ago
See also bug 403485.
(Reporter)

Updated

11 years ago
Assignee: nobody → julien.pierre.boogz
(Assignee)

Comment 2

9 years ago
This might be a different manifestation of the race condition I discovered in bug 485659 . Given that this was reported against tstclnt and Windows only, and rarely happened, I think that is likely the case. Even if it's not, since there hasn't been any update to this bug in over a year and no test case, I don't think much else can be done about it. So, I'm marking it as a dupe.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 485659
You need to log in before you can comment on or make changes to this bug.