Menu

Application Verifier break message

Unexpected exception raised in DLL entry point routine.

Probable cause

This stop is generated if a DLL's entry point (DllMain) function is raising an exception. One example why this is bad is: if DllMain (DLL_PROCESS_ATTACH) is raising an exception, the Microsoft Windows DLL loader will:

  • Catch and hide the exception

  • Unload the DLL without calling its DllMain(DLL_PROCESS_DETACH).

So in many cases the DLL allocated some resources already, then it raised the exception, and it will not have a chance to release these resources on DllMain (DLL_PROCESS_DETACH).

Information displayed by Application Verifier

Parameter1 - DLL name (use du to dump it)

Parameter2 - Exception record. Use .exr to display it

Parameter3 - Context record. Use .cxr to display it

Parameter4 - Verifier dll descriptor

Description - Unexpected exception raised in DLL entry point routine

Additional information

Verifier stop code 060D.

To debug this stop:

.exr parameter2 - to display the exception information;

.cxr parameter3 followed by kb - to display the exception context information and the stack trace for the time when the exception was raised; parameter4 is the address of an internal verifier structure and doesn't have any significance for most of the verifier users.