Invalid critical section owner thread |
Application Verifier break message
Invalid critical section owner thread
Probable cause
This break is generated if the owner thread ID is invalid in the current context. For example, the critical section is being released by a thread other than the one that acquired it.
Information displayed by Application Verifier
Parameter1 - Critical section address. Run !cs �s address to get more information.
Parameter2 - Owning thread
Parameter3 - Expected owning thread
Parameter4 - Critical section debug information address
Description - Invalid critical section owner thread
Additional information
Verifier stop code 0206.
Check the contents of the current call stack where the thread calls EnterCriticalSection or LeaveCriticalSection.
Frequency of this stop is low.
To debug this stop:
!cs �s parameter1 - dump information about this critical section.
ln parameter1 � to show symbols near the address of the critical section. This should help identify the critical section.