Ensure we don't segfault if we don't know which proc failed
This commit was SVN r20474.
Этот коммит содержится в:
родитель
f68d2b00d8
Коммит
8924e00e4c
@ -808,6 +808,8 @@ CLEANUP:
|
|||||||
if (app_launch_failed) {
|
if (app_launch_failed) {
|
||||||
if (NULL == jdata) {
|
if (NULL == jdata) {
|
||||||
orte_errmgr.incomplete_start(ORTE_JOBID_INVALID, ORTE_ERROR_DEFAULT_EXIT_CODE);
|
orte_errmgr.incomplete_start(ORTE_JOBID_INVALID, ORTE_ERROR_DEFAULT_EXIT_CODE);
|
||||||
|
} else if (NULL == jdata->aborted_proc) {
|
||||||
|
orte_errmgr.incomplete_start(jdata->jobid, ORTE_ERROR_DEFAULT_EXIT_CODE);
|
||||||
} else {
|
} else {
|
||||||
orte_errmgr.incomplete_start(jdata->jobid, jdata->aborted_proc->exit_code);
|
orte_errmgr.incomplete_start(jdata->jobid, jdata->aborted_proc->exit_code);
|
||||||
}
|
}
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user