How do I debug a difficult-to-reproduce crash with no useful call stack?

后端 未结 4 1768
一向
一向 2020-12-28 18:23

I am encountering an odd crash in our software and I\'m having a lot of trouble debugging it, and so I am seeking SO\'s advice on how to tackle it.

4条回答
  •  情话喂你
    2020-12-28 18:57

    That's is the reason I made the Process Stack viewer :-) http://code.google.com/p/asmprofiler/wiki/ProcessStackViewer

    It can show the stack with raw stack tracing, so it will show the complete stack when normal stack tracing is not possible.
    But beware: raw stack tracing will show "false positives"! Any address on the stack for which an function name can be found, will be listed.

    It helped me a number of times when I ran in the same problem as yours (no normal stack walking by Delphi possible due to invalid stack state)

    Edit: new version uploaded, on website was an old version (I use the new version a lot myself) http://asmprofiler.googlecode.com/files/AsmProfiler_Sampling%20v1.0.7.13.zip

提交回复
热议问题