Site icon EfmSoft

What does BSOD 338 (INVALID_PUSH_LOCK_FLAGS) mean?

 
Could be also:
ConstantTypeOS
ERROR_FT_WRITE_FAILUREWin32 errorWindows
Previous Next
UNSUPPORTED_INSTRUCTION_MODE KERNEL_LOCK_ENTRY_LEAKED_ON_THREAD_TERMINATION

INVALID_PUSH_LOCK_FLAGS

INVALID_PUSH_LOCK_FLAGS is an API-contract bug check for executive push locks. Microsoft defines parameter 1 as the invalid flags supplied by the caller and parameter 2 as the address of the push lock. This is more precise than a generic locking or deadlock diagnosis.

Use the two published parameters together

Inspect the flags value in parameter 1 and the call stack that passed it. Parameter 2 identifies the affected lock instance, which can help determine the owning object or subsystem. Reserved parameters 3 and 4 should not be assigned portable meanings.

Code-review target

Find the push-lock API at or immediately below the faulting path and verify that the flags came from the documented flag set for that API. Check uninitialized fields, mixed flag domains, stale structure contents, and wrappers that forward caller-controlled bits. Changing lock ordering will not repair a rejected flags value unless the dump independently shows an ordering problem.

References


Looking for a different code? Search another status or error code.

Exit mobile version