Menu

Application Verifier break message

Unloading DLL that allocated TLS index that was not freed.

Probable cause

This stop is generated if a DLL that allocated a TLS index is being unloaded before freeing that TLS index.

Information displayed by Application Verifier

Parameter1 - TLS index

Parameter2 - Address of the code that allocated this TLS index

Parameter3 - DLL name address. Use du to dump it

Parameter4 - DLL base address

Description - Unloading DLL that allocated TLS index that was not freed

Additional information

Verifier stop code 0350.

To debug this stop:

du parameter3 - display the name of the culprit DLL;

.reload xxx.dll=parameter4 - reload symbols for the culprit DLL (if needed) xxx.dll is the name of the DLL displayed in the above step;

u parameter2 - disassemble the code that allocated the TLS. This should point to the function that allocated the TLS but forgot to free it before the DLL was unloaded.