SOS does not support the current target architecture

Justin Pihony picture Justin Pihony · May 7, 2013 · Viewed 12.8k times · Source

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 do the following:

.loadby sos clr
.load wow64exts
!sw
kL

However, everytime I try to get the managed stack via !clrstack I get the error in the title. What am I missing?

Answer

trydis picture trydis · May 7, 2013

I believe you will have to use the 32-bit task manager, located in C:\Windows\SysWOW64\taskmgr.exe to get a 32-bit dump.

More info here: http://blogs.msdn.com/b/tess/archive/2010/09/29/capturing-memory-dumps-for-32-bit-processes-on-an-x64-machine.aspx