-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b53
-
generic
-
solaris_7
initFieldIDs() in UNIXProcess_md.c has a race condition bug. If one thread gets past the assignment of field_exitcode, then the next thread coming in will think that all initialization is done, leading to a possible crash when accessing the unitialized field_fd field, or the possibility of getting a SIGCHLD before it is masked off by the thread doing the initialzation in initFieldIDs().
initFieldIDs() should really be called from the <clinit>, which would guarantee proper synchronization between threads.
[###@###.### 2004-08-13]
initFieldIDs() should really be called from the <clinit>, which would guarantee proper synchronization between threads.
[###@###.### 2004-08-13]