procdump.exe显示的异常是什么意思?

时间:2015-03-31 05:41:56

标签: c++ debugging procdump

我尝试使用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:\dump\myapp_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异常的含义是什么?

1 个答案:

答案 0 :(得分:1)

这些数字是例外代码,可以是例如在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