简体   繁体   English

如何在错误报告中使用签名?

[英]How to use the Signatures in an error report?

I just sent out a program for beta testing and a user got back to me with this Error Report:我刚刚发送了一个用于 Beta 测试的程序,一个用户给我回复了这个错误报告:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01:   myprogram.exe (not the actual name of the file)
Problem Signature 02:   1.4.0.0
Problem Signature 03:   4ff759ce
Problem Signature 04:   System.Windows.Forms
Problem Signature 05:   4.0.0.0
Problem Signature 06:   4ee9b94f
Problem Signature 07:   14e0
Problem Signature 08:   23
Problem Signature 09:   System.ObjectDisposedException

I can of course find information on the System.ObjectDisposedException at MSDN.我当然可以在 MSDN 上找到有关System.ObjectDisposedException的信息。 So I probably have some problem where I ask for an object that has been disposed (probably a filestream).所以我可能遇到一些问题,我要求一个已被处置的对象(可能是一个文件流)。

So Signature 09: tells me what kind of Exception it has thrown - but will the other signatures give me any information on what has caused this exception?所以 Signature 09: 告诉我它抛出了什么样的 Exception - 但是其他签名会给我任何关于导致这个异常的信息吗?

To me Problem Signature 06-08 seem to hold interesting data, but I don't know what it means.对我来说,问题签名 06-08 似乎包含有趣的数据,但我不知道它是什么意思。

It ought to be of rather general interest how to read one of these error reports.如何阅读这些错误报告之一应该是相当普遍的兴趣。

The information on the problem signature is basically memory positions for the faulting dll at an intermediate language level.问题签名上的信息基本上是中间语言级别的错误 dll 的内存位置。

This blog post explain each of the available fields. 这篇博文解释了每个可用字段。 You can inspect the dll by using MSIL Disassembler您可以使用MSIL Disassembler检查 dll

Hope this is what you were looking for,希望这就是你要找的,

Regards,问候,

EDIT: As an additional note, in order to investigate intermediate level code I found easier to do File->Dump in the MSIL Disassembler.编辑:作为附加说明,为了研究中级代码,我发现在 MSIL 反汇编程序中执行文件-> 转储更容易。 Then search for the method according to the Signature 07 param.然后根据Signature 07参数搜索方法。 eg .method /.例如.method/。 590. / 590. /

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM