Unable to read crash dump in windbg

后端 未结 3 2036
天涯浪人
天涯浪人 2021-02-10 15:29

I have been getting a stackoverflow exception in my program which may be originating from a thirdparty libary, microsoft.sharepoint.client.runtime.dll.

Using adplu

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-10 16:28

    You didn't mention if your code is managed or unmanaged. Assuming it is unmanaged. In debugger:

    .symfix
    .reload
    ~*kb
    

    Look through the call stack for all threads and identify thread that caused SO. It is easy to identify the thread with SO, because the call stack will be extra long. Switch to that thread using command ~s, where is thread number, dump more of the call stack using command k 200 to dump up to 200 lines of call stack. At the very bottom of the call stack you should be able to see the code that originated the nested loop.

    If your code is managed, use SOS extension to dump call stacks.

提交回复
热议问题