System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q313109
The UnhandledExceptionFilter function is called when no exception handler is defined to handle
the exception that is raised. The function typically passes the exception up to
the Ntdll.dll file, which catches and tries to handle it.
In some
scenarios in which a memory snapshot of the process exists, you can see that
the thread that holds the lock points to a thread that calls the UnhandledExceptionFilter function. In those cases, you can follow the steps in this
article to identify the DLL that caused the exception.
Make sure that you are pointing the symbol path to a
correct location. For more information about how to do this, visit the
following Microsoft Web site:
Switch to that thread (in this example, the thread is
"~120s").
Display the memory contents at the location specified by
the first parameter of Kernel32!UnhandledExceptionFilter by using dd First Param. This points to the EXCEPTION_POINTERS structure.
The second DWORD is the context record. To obtain
contextual information, run the following at a command prompt:
.cxr second DWORD from step 6
0:120> .cxr 09a8f754
eax=027470ff ebx=7803cb28 ecx=00000000 edx=00000000 esi=00000000 edi=09a8fad4
eip=78011f32 esp=09a8fa20 ebp=09a8fa2c iopl=0 nv up ei ng nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010286
MSVCRT!strnicmp+92:
78011f32 8a06 mov al,[esi]
Run a kv command to get the call stack of the actual exception. This helps
you to identify the actual problem in the process that might not have been
handled correctly.
Solomon, David A., and Mark Russinovich. Inside Microsoft Windows 2000, Third Edition (http://www.microsoft.com/mspress/books/4354.asp
(http://www.microsoft.com/mspress/books/4354.asp)
).
Redmond: Microsoft Press, 2000.
Solomon, David A. Inside Windows NT - Second Edition (Microsoft Programming Series). Redmond: Microsoft Press, 1998.
Richter, Jeffrey. Programming Applications with Microsoft Windows (http://www.microsoft.com/mspress/books/2345.asp
(http://www.microsoft.com/mspress/books/2345.asp)
).
Redmond: Microsoft Press, 1999.
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.