Closed
Bug 65258
Opened 24 years ago
Closed 23 years ago
Infinite loop when trying to connect to PSM process
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: echo.choi, Assigned: javi)
Details
In file cmtinit.c#260, the code looks like this: 237 #elif defined(XP_UNIX) || defined(XP_BEOS) 238 i = 0; 239 while (i<1000) { 240 i += sleep(10); 241 control = CMT_ControlConnect(mutex, sockFuncs); 242 if (control != NULL) { 243 break; 244 } 245 } According to sleep() man page, it returns "Zero if the requested time has elapsed, or the number of seconds left to sleep." This code looks infinite to me if the CMT_ControlConnect() fails always (say, IF the PSM process die at initialization for some reason.)
Comment 1•24 years ago
|
||
Reassigning.
Assignee: ddrinan → javi
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•23 years ago
|
||
Reporter, is this still a problem now that PSM 2.0 is integrated into the nightly builds?
Assignee | ||
Comment 3•23 years ago
|
||
PSM 2 has landed and no longer uses an out of process daemon. Marking this as a WONTFIX
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•