mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2611
This commit is contained in:
parent
b4e87c24a9
commit
27ac1c6aac
|
@ -295,6 +295,7 @@ int boinc_checkpoint_completed() {
|
|||
// If it's time to quit, call boinc_finish which will exit the app properly
|
||||
//
|
||||
if (time_to_quit) {
|
||||
fprintf(stderr, "Received quit request from core client\n");
|
||||
boinc_finish(ERR_QUIT_REQUEST);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -7217,7 +7217,7 @@ Karl 2003-10-29
|
|||
tools/
|
||||
make_project
|
||||
|
||||
David 28 Oct 2003
|
||||
David 30 Oct 2003
|
||||
- On call to CreateEvent() to make "event" object for
|
||||
core client to ask app to quit (Windows)
|
||||
changed ManualReset argument to false.
|
||||
|
@ -7230,3 +7230,15 @@ David 28 Oct 2003
|
|||
app.C
|
||||
client_state.C,h
|
||||
pers_file_xfer.C
|
||||
|
||||
David 30 Oct 2003
|
||||
- API writes to stderr if get quit request
|
||||
- Include signal numbers, error codes in messages about process exit
|
||||
|
||||
api/
|
||||
boinc_api.C
|
||||
client/
|
||||
app.C
|
||||
client_state.C
|
||||
cs_apps.C
|
||||
cs_scheduler.C
|
||||
|
|
|
@ -655,9 +655,9 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
|||
atp->result->signal = atp->signal;
|
||||
atp->result->active_task_state = PROCESS_WAS_SIGNALED;
|
||||
gstate.report_result_error(
|
||||
*(atp->result), 0, "process was signaled"
|
||||
*(atp->result), 0, "process got signal %d", atp->signal
|
||||
);
|
||||
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process was signaled: %d\n", atp->signal);
|
||||
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process got signal %d\n", atp->signal);
|
||||
} else {
|
||||
atp->state = PROCESS_EXIT_UNKNOWN;
|
||||
atp->result->state = PROCESS_EXIT_UNKNOWN;
|
||||
|
@ -1032,7 +1032,7 @@ int ACTIVE_TASK_SET::restart_tasks() {
|
|||
atp->result->active_task_state = PROCESS_COULDNT_START;
|
||||
gstate.report_result_error(
|
||||
*(atp->result), retval,
|
||||
"Couldn't restart the app for this result."
|
||||
"Couldn't restart the app for this result: %d", retval
|
||||
);
|
||||
active_tasks.erase(iter);
|
||||
} else {
|
||||
|
|
|
@ -658,12 +658,12 @@ bool CLIENT_STATE::garbage_collect() {
|
|||
if (!rp->ready_to_report) {
|
||||
// had an error uploading a file for this result
|
||||
//
|
||||
switch(failnum) {
|
||||
switch (failnum) {
|
||||
case ERR_FILE_TOO_BIG:
|
||||
report_result_error(*rp, 0, "Output file exceeded size limit");
|
||||
break;
|
||||
default:
|
||||
report_result_error(*rp, 0, "Couldn't upload files or other output file error");
|
||||
report_result_error(*rp, 0, "Output file error: %d", failnum);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -874,7 +874,11 @@ int CLIENT_STATE::report_result_error(
|
|||
|
||||
va_list va;
|
||||
va_start(va, format);
|
||||
#ifdef _WIN32
|
||||
_vsnprintf(err_msg, sizeof(err_msg), format, va);
|
||||
#else
|
||||
vsnprintf(err_msg, sizeof(err_msg), format, va);
|
||||
#endif
|
||||
va_end(va);
|
||||
|
||||
sprintf(buf, "Unrecoverable error for result %s (%s)", res.name, err_msg);
|
||||
|
|
|
@ -264,8 +264,8 @@ bool CLIENT_STATE::start_apps() {
|
|||
atp->result->active_task_state = PROCESS_COULDNT_START;
|
||||
report_result_error(
|
||||
*(atp->result), retval,
|
||||
"Couldn't start the app for this result."
|
||||
);
|
||||
"Couldn't start the app for this result: error %d", retval
|
||||
);
|
||||
}
|
||||
action = true;
|
||||
set_client_state_dirty("start_apps");
|
||||
|
|
|
@ -464,9 +464,7 @@ int CLIENT_STATE::handle_scheduler_reply(
|
|||
// deal with project preferences (should always be there)
|
||||
//
|
||||
if (sr.project_prefs_xml) {
|
||||
if (strcmp(
|
||||
project->project_specific_prefs, sr.project_prefs_xml
|
||||
)) {
|
||||
if (strcmp(project->project_specific_prefs, sr.project_prefs_xml)) {
|
||||
strcpy(project->project_specific_prefs, sr.project_prefs_xml);
|
||||
retval = project->write_account_file();
|
||||
if (retval) return retval;
|
||||
|
|
|
@ -63,6 +63,9 @@ Help debug and enhance the BOINC software.
|
|||
<a href=contact.php><b>Contact us</b></a>
|
||||
|
||||
<br><br>
|
||||
<img align=left src=nsf.gif>
|
||||
BOINC is supported by the
|
||||
<a href=http://nsf.gov>National Science Foundation</a>
|
||||
</td>
|
||||
<td valign=top bgcolor=c8c8ff>
|
||||
<center>
|
||||
|
|
Loading…
Reference in New Issue