Closed
Bug 375066
Opened 17 years ago
Closed 15 years ago
Tstclnt sometimes hangs.
Categories
(NSS :: Tools, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 485659
People
(Reporter: slavomir.katuscak+mozilla, Assigned: julien.pierre)
Details
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•17 years ago
|
||
See also bug 403485.
Reporter | ||
Updated•17 years ago
|
Assignee: nobody → julien.pierre.boogz
Assignee | ||
Comment 2•15 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
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•