Export (0) Print
Expand All

Module Contains an Active Lock

Locks violation detected. Module <module name> loaded at <address> contains an active lock.

This stop is generated if a DLL has a global variable containing a lock and the DLL is unloaded but the critical section has not been deleted.

Lock – Critical section address

Owner - N/A

DebugInfo – N/A

Description – Module <module name> loaded at <address> contains an active lock

Trace Description – Critical Section Initialization

The name of the module that has an active lock is shown in the error message. The Tool Window displays the stack trace for the critical section initialization. Also, check the contents of the current call stack when the DLL with the active lock was unloaded.

Frequency of this error is high.

Community Additions

ADD
Show:
© 2014 Microsoft