Menu

Application Verifier break message

The DLL being unloaded contains an active SRW lock.

Probable cause

This stop is generated if a DLL that is being unloaded contains an active SRW lock that is still in use.

Information displayed by Application Verifier

Parameter 1 � SRW lock address

Parameter 2 � Address of the name of the DLL being unloaded

Parameter 3 � Thread ID of the thread that acquired the SRW lock

Parameter 4 � Address of the �acquire� stack trace

Additional Information

Verifier Stop Code 0257.

Unloading a DLL that contains an active SRW lock can result in unpredictable behavior, including a crash or a hang.

To debug this stop, use the following debugger commands:

kb - to get the current stack trace. The stack trace shows you where the DLL is being unloaded.

du parameter 2 � to get the name of the DLL that is being unloaded.

dps parameter 4 � to get the �acquire� stack trace. The �acquire� stack trace shows you where the lock was acquired.