SOS does not support the current target architecture

前端 未结 4 1781
野性不改
野性不改 2021-01-31 09:46

I am trying to use windbg to research a hang dump file created on an x64 machine for our x86 process. This is a 4.0 x86 application, so just to get an unmanaged stack, I had to

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 10:05

    There is one more option that worked for me: - I had crash dump of a 64 bit process. - So, first, I needed SOS.dll and mscordacwks.dll from the machine (C:\Windows\Microsoft.NET\Framework64\v4.0.30319) where the dump was taken. - Based on two msdn articles (http://msdn.microsoft.com/en-gb/library/windows/hardware/ff562263%28v=vs.85%29.aspx, http://msdn.microsoft.com/en-gb/library/windows/hardware/ff540665%28v=vs.85%29.aspx), I loaded CLR this way:

    .cordll -u -ve -I clr -lp 
    

    After this, !threads worked. I think, same should apply for 32-bit crash dumps.

提交回复
热议问题