Freeing virtual memory containing an active critical section |
Application Verifier break message
Freeing virtual memory containing an active critical section. The region of virtual memory at <location> of size <size> contains an active lock <lock address>.
Probable cause
This break 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.
kb � to display the current stack trace, that is calling VirtualFree. The probable culprit is the DLL that calls VirtualFree.
Information displayed by Application Verifier
Parameter1 - Critical section address. Run !cs �s address to get more information.
Parameter2 - Critical section initialization stack trace. Use dps to dump it if non-NULL.
Parameter3 - Memory block address
Parameter4 - Memory block size
Description - Freeing virtual memory containing an active critical section.
Additional information
Verifier stop code 0212.
Call Stack � Current call stack when the virtual memory is released using VirtualFree
Frequency of this error is low.
To debug:
!cs �s parameter1- dump information about this critical section.
dds parameter2 - to identify the code path for the initialization of this critical section