*** empty log message ***

svn path=/trunk/boinc/; revision=2992
This commit is contained in:
Rom Walton 2004-02-16 05:07:11 +00:00
parent a0996691bd
commit 38372ba6ef
2 changed files with 17 additions and 1 deletions

View File

@ -10047,3 +10047,17 @@ David Feb 15 2004
py/Boinc/
database.py
setup_project.py
Rom Feb 15 2004
- Older clients do not report back exit_status information of the project client
application which is causing a condition where the server believes a success
condition has occurred even though the client application AV'ed or otherwise
crashed.
NOTE:
BOINC Clients older than 2.16 will ALWAYS report back an error as the server
will be looking for the exit_status tag in stderr and when it doesn't find
it it forcefully sets the exit_status to ERR_XML_PARSE (-112)
sched/
handle_request.C

View File

@ -611,7 +611,9 @@ int handle_results(
// look for exit status in stderr_out
// TODO: return it separately
//
parse_int(result.stderr_out, "<exit_status>", result.exit_status);
if (!parse_int(result.stderr_out, "<exit_status>", result.exit_status)) {
result.exit_status = ERR_XML_PARSE;
}
if ((result.client_state == RESULT_FILES_UPLOADED) && (result.exit_status == 0)) {
result.outcome = RESULT_OUTCOME_SUCCESS;