It is possible for the jdata param to be NULL, so protect the verbose output in that case
This commit was SVN r23109.
Этот коммит содержится в:
родитель
8ea8563462
Коммит
70bef5ca95
@ -868,10 +868,11 @@ CHECK_ALIVE:
|
||||
}
|
||||
else {
|
||||
OPAL_OUTPUT_VERBOSE((5, orte_errmgr_base.output,
|
||||
"%s errmgr:hnp:check_job_completed job %s is terminated (%d vs %d [0x%x])",
|
||||
"%s errmgr:hnp:check_job_completed job %s is terminated (%d vs %d [%s])",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||
ORTE_JOBID_PRINT(job->jobid),
|
||||
job->num_terminated, job->num_procs, jdata->state ));
|
||||
job->num_terminated, job->num_procs,
|
||||
(NULL == jdata) ? "UNKNOWN" : orte_proc_state_to_str(jdata->state) ));
|
||||
}
|
||||
}
|
||||
/* if a job is still alive, we just return */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user