| Предыдущий | Следующий |
| ERROR_NOTHING_TO_TERMINATE | ERROR_PROCESS_IN_JOB |
ERROR_PROCESS_NOT_IN_JOB
Что означает ERROR_PROCESS_NOT_IN_JOB
ERROR_PROCESS_NOT_IN_JOB — указанный процесс не входит в задание.
Что проверить
Зафиксируйте исполняемый файл, параметры запуска, родительский процесс и вызов, на котором появился код.
- Проверьте, был ли процесс полностью создан/инициализирован и не изменилось ли его состояние до следующей операции.
- Если процесс аварийно завершился или завис, сохраните dump/стек и события приложения до перезапуска.
Исходная формулировка
the specified process is not associated with the queried job object.
Branch explicitly on nonmembership. Assign the process only when policy allows and while it is still eligible; otherwise continue with the non-job cleanup path. Do not repeatedly remove a process from a job because Windows job membership is not managed like a mutable list.
this result identifies the condition that this condition Job APIs return this result when an operation assumes membership that does not exist. The process may never have been assigned, may belong to a different job, or may have exited and been replaced before the check.
cleanup code that removes or accounts for job members.
Retry after this result only when an external state relevant to this operation can actually change. When it is rooted in object state, unsupported capability, ownership, or invalid sequencing, an unchanged retry repeats the defect and can obscure the first useful diagnostic record.
Технические ссылки
Нужно найти другой код? Найти другой код состояния или ошибки.