When running tests dispatched from an Ubuntu Linux installation to our Windows 2003 Server we repeatedly see the following in the trace log on the windows box:
20090706-13:27:43;3436;00000100;Got WAIT_FAILED from WaitForMultipleObjects() in ProcessMonitorThread(), OS_RC: 6
I am guessing the issue lies within stafif\win32\STAFProcess.cpp:245
if (numHandles == (MAXIMUM_WAIT_OBJECTS - 1)) break;
you probably want:
if (numHandles == (MAXIMUM_WAIT_OBJECTS - 2)) break;
So that the last element of handles is monitorWakeUp. Otherwise you are overflowing the array.
Log in to post a comment.