Bug Check 0x16E: ERESOURCE_INVALID_RELEASE

The ERESOURCE_INVALID_RELEASE bug check has a value of 0x0000016E. This indicates that the target thread pointer supplied to ExReleaseResourceForThreadLite was invalid.

Important

This article is for programmers. If you're a customer who has received a blue screen error code while using your computer, see Troubleshoot blue screen errors.

ERESOURCE_INVALID_RELEASE Parameters

Parameter Description
1 The resource being released
2 The current thread
3 The incorrect target thread that was passed in
4 Reserved

Cause

This bugcheck will hit if a call to ExSetOwnerPointerEx was skipped by the API client (if a cross-thread release was intended) or if the caller accidentally passed in a value other that supplied by ExGetCurrentResourceThread.