The Lock is Corrupted

Application Verifier stop message

Locks violation detected. The lock is corrupted: expected DebugInfo for this lock <address>.

Probable cause

This stop normally occurs if the DebugInfo field of the critical section is pointing to freed memory. Another valid DebugInfo structure is found in the active critical section list, without corruption the two pointers should be identical.

Information displayed by Application Verifier in Tool Window

Lock – Critical section address

Owner – N/A

DebugInfo – Invalid debug information address of this critical section

Description – The lock is corrupted: expected DebugInfo for this lock <address>

Trace Description – Critical section initialization

Additional information

Dump the memory pointed to by the critical section and check for a corruption pattern. The Tool Window displays the stack trace of the critical section initialization.

Frequency of this error is low.

See Also

Concepts

Lock Verifier