Freeing heap memory block inside current thread's stack address range |
Application Verifier break message
Freeing heap memory block inside current thread's stack address range.
Probable cause
This stop is generated if Application Verifier detects a VirtualFree for a block of memory that is actually part of the current thread's stack (!).
Information displayed by Application Verifier
Parameter1 - Allocation base address
Parameter2 - Memory region size
Parameter3 - Stack low limit address
Parameter4 - Stack high limit address
Description - Freeing heap memory block inside current thread's stack address range
Additional information
Verifier stop code 0612.
To debug this stop look at the current stack trace (kb) and try to understand why the function that called HeapFree thought that the memory block was dynamically allocated or mapped but that was actually memory allocated from the stack.