Wednesday, March 23, 2016

Don't use the 64 bit task manager to create a dump of a 32 bit process.

Yeah, that didn't work. The problem and the solution are both in the post title.

VS 2015 wouldn't let me look at the heap and didn't give me enough information about why, so I downloaded WinDbg and tried to get more information. At least with WinDbg I could make some progress.

New command: .cordll -ve -u -l

That gave me some good information, but it didn't work. What I did get from it was a path forward.

I ended up copying mscordacwks from the problem computer to the WinDbg directory on the computer that I was using for debugging. I also had to rename it to mscordacwks_AMD64_x86_4.0.3.319.18034.dll. Then, I did the same thing with SOS.dll.

Then when this didn't work, I found a stack overflow post suggesting the 32 bit Task Manager solution.