| Предыдущий | Следующий |
| ERROR_EVENTLOG_FILE_CHANGED | ERROR_JOB_NO_CONTAINER |
ERROR_CONTAINER_ASSIGNED
Что означает ERROR_CONTAINER_ASSIGNED
ERROR_CONTAINER_ASSIGNED — указанному заданию уже назначен контейнер.
Что проверить
Зафиксируйте объект и переход состояния, который приложение пыталось выполнить.
- Сверьте допустимые состояния и порядок вызовов с контрактом API для этого объекта.
- Проверьте, не изменила ли объект другая операция между его получением и текущим вызовом.
Исходная формулировка
The target job object already has a container associated with it and cannot accept another assignment.
A broker creates a named job, associates it with a container, then crashes before recording completion. On restart it opens the same job and reruns container setup, receiving 1504. Persisting the container identity and choosing an explicit attach path allows safe recovery without weakening isolation.
Trace job creation, container association, process assignment, and teardown as one transaction. Confirm whether CreateJobObject opened an existing named job by inspecting application state, not by assuming a non-null handle means a new object. Identify concurrent initializers and retry paths that can reach association after a previous success.
If the existing association is the intended one, attach to or reuse the established container through the owning subsystem.
cleanup closed one handle but did not destroy the underlying job and association
Технические ссылки
- Microsoft: System Error Codes (1300–1699)
- Microsoft: Job Objects
- Microsoft: QueryInformationJobObject
Нужно найти другой код? Найти другой код состояния или ошибки.