This topic has not yet been rated - Rate this topic

Released Virtual Memory Containing An Active Lock

Locks violation detected. The region of virtual memory at <location> of size <size> contains an active lock.

This stop is generated if the current thread is calling VirtualFree on a memory block that contains an active critical section. The application should call DeleteCriticalSection on this critical section before if frees this memory.

Lock – Critical section address

Owner – N/A

DebugInfo – N/A

Description - The region of virtual memory at <location> of size <size> contains an active lock

Trace Description – Critical Section Initialization

The call stack in the tool window shows where the critical section was initialized.

Check the current call stack where the virtual memory is released using VirtualFree. The probable culprit is the module that calls VirtualFree.

This stop does not occur in Windows XP.

Frequency of this error is low.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.