| Previous | Next |
| ERROR_WAKE_SYSTEM_DEBUGGER | ERROR_EXTRANEOUS_INFORMATION |
ERROR_HANDLES_CLOSED
What ERROR_HANDLES_CLOSED means
The operation succeeded with an important side effect: handles referencing affected objects are no longer valid. Code that ignores the warning may later use stale handle values and report misleading secondary errors.
Where it appears
- session, process, namespace, or object teardown
- operations that replace or invalidate underlying objects
- cleanup performed by the kernel after a state transition
Likely causes
- the API contract requires dependent handles to be closed
- a container, transaction, or owning object was destroyed
- the caller retained aliases after a replacement operation
What to collect
- the operation that returned the status
- the complete set of handles owned by the component
- subsequent invalid-handle failures and their call stacks
- ownership and lifetime transitions around the operation
How to respond
Mark affected handles invalid immediately and reacquire only those that remain logically needed. Cleanup must be idempotent so that automatic closure is not followed by a second close on the same numeric value.
References
Looking for a different code? Search another status or error code.