CLR Exception---E0434352

什么是CLR Exception---E0434352

CLR异常是.NET应用程序生成的异常类型。异常被封装在从System.exception类派生的类中。它的异常代码是0xE0434352,代码的后面三个字节对应assic码的 "CCR",所以又叫CCR异常。
异常代码e043432可以是任何内容。它只是表示一个CLR异常,它有很多很多类型。要获得更多信息,您必须使用类似的工具!PrintException输出异常的信息

E0434352的异常结构填充

当发生了E0434352的CLR Exception时,Exception_Record结构各成员填充值如下:

ExceptionAddress: 760d35d2 (KERNELBASE!RaiseException+0x00000062) //引发异常地址
ExceptionCode: e0434352 (CLR exception)  //异常代码
ExceptionFlags: 00000001
NumberParameters: 5    //附加参数个数
   Parameter[0]: 80070057   //映射的HRESULT值,代表的具体错误,对应一个 CLR异常类型
   Parameter[1]: 00000000
   Parameter[2]: 00000000
   Parameter[3]: 00000000
   Parameter[4]: 542b0000 //clr.dll模块被加载到进程空间里的基址

一般调试分析步骤

下面的步骤主要针对包含E0434352异常的dmp分析的:

观察异常信息

输入.exr -1观察异常结构,确定两个信息:

  • Exception Code
  • Parameter[0] - HRESULT

获取CLR异常具体信息

输入!sos.pe来获取如下信息:

  • Exception object - address of class instance
  • Exception type - Class name of the exception
  • Message - String description of the exception
  • Inner Exception - Address of the inner exception
  • Stack Trace

猜你喜欢

转载自www.cnblogs.com/yilang/p/11867637.html
CLR