| Previous | Next |
| EM_INITIALIZATION_ERROR | ATTEMPTED_WRITE_TO_CM_PROTECTED_STORAGE |
DRIVER_RETURNED_HOLDING_CANCEL_LOCK
The
DRIVER_RETURNED_HOLDING_CANCEL_LOCK bug check has a value of 0x0000011B.
This bug check indicates that a driver has returned from a cancel routine that holds the global cancel lock.
This causes all later cancellation calls to fail, and results in either a deadlock or another bug check.
The failure is specific to cancellation synchronization: Parameter 1 identifies the canceled IRP and Parameter 2 identifies the cancel routine, so those objects should anchor the investigation rather than generic I/O troubleshooting.
What to inspect
- Use Parameter 1 to inspect the canceled IRP and Parameter 2 to identify the cancel routine that returned while still holding the global cancellation lock.
- Check every return path in that routine and confirm it releases cancellation synchronization before returning.
- Review the surrounding
IoCancelIrp, cancel-routine registration, and IRP-completion paths for races or double completion.
Technical references
Looking for a different code? Search another status or error code.