我尝试使用ProcDump命令获取应用程序的转储文件,如下所示:
c:dump>procdump.exe -e -h -ma -o -w myapp.exe c:dump
ProcDump v6.00 - Writes process dump files
Copyright (C) 2009-2013 Mark Russinovich
Sysinternals - www.sysinternals.com
With contributions from Andrew Richards
Waiting for process named myapp.exe...
Process: myapp.exe (1620)
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Number of dumps: 1
Hung window check: Enabled
Exception monitor: Unhandled
Exception filter: *
Terminate monitor: Disabled
Dump file: c:dumpmyapp_YYMMDD_HHMMSS.dmp
Press Ctrl-C to end monitoring without terminating the process.
[12:23:13] Exception: E0434F4D.COM
[12:23:27] Exception: E0000001
[12:23:38] Exception: 80040155
[12:25:21] Exception: E0434F4D.COM
The process terminated
但是,例外E0434F4D.COM、E0000001和80040155的含义是什么?
这些数字是异常代码,例如可以在WinDbg中用于处理异常(命令为sxe
)。
-
E0434F4D
是.NET异常字符
.COM
是错误代码的ASCII表示(从WinDbg输出):0:017> .formats e0434f4d Evaluate expression: ... Chars: .COM
-
80040155
看起来像HRESULT(从WinDbg输出):0:017> !error 80040155 Error code: (HRESULT) 0x80040155 (2147746133) - Interface not registered