drewnoakes/string-theory

Could not find matching DAC for this runtime.

Opened this issue · 2 comments

I am getting "Could not find matching DAC for this runtime." when running the tool in debug on my memory dump. The dll in question is mscordacwks_X86_Amd64_4.7.3260.00.dll

@ncksol the executable released in version 0.1 of this project is 32-bit. If the dump you're opening is from a 64-bit process, you'll see an error like this. I'm not familiar enough with the conventions used to tell whether that's the case for mscordacwks_X86_Amd64_4.7.3260.00.dll.

#11 is tracking releasing both 32 and 64 bit executables for future. In the mean time you can build it yourself in 64 bit mode.

In case that does not solve your problem you may also like to read: https://github.com/Microsoft/clrmd/blob/master/Documentation/GettingStarted.md#getting-the-dac-from-the-symbol-server

FWIW you'll get a similar error going the opposite way:

  1. Clone The Repository
  2. Build in the default x64 Platform
  3. Attempt to open up a 32bit Dump File (From devenv for example)

Error out with a similar error message.

It would be nice if there was some way to make this transparent to the end user or at least have the Title Bar say something like (x86) or (x64) to know what is going on. In addition if we know enough to tell the user that they've opened the wrong bitness it's probably worth putting that message in the error dialog.