3

After reading this blog post on detecting memory leaks I decided to install the MPX runtime driver from here. I right-clicked mpxruntime.inf and selected "install". The Device manager then lists "Intel(R) MPX Runtime Driver" under system devices, but its icon has a little exclamation mark on a yellow triangle. If I right-click on the icon and select properties, I see the following text:

This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)

{Operation Failed}
The requested operation was unsuccessful.

I am clueless as to what to try at this point.

FYI: I am running windows 10 with an i7 6850K processor.

EDIT: Looking at the processor with the CPU-Z utility, it has an area called "Instructions" listing things like MMX,SSE,VT-x,AES, TSX,... etc. but MPX does not appear in that list. Maybe that's telling me my processor does not have MPX instructions?

Mick
  • 8,284
  • 22
  • 81
  • 173

1 Answers1

2
  1. Install the latest Intel® Software Development Emulator.
  2. Use Visual Studio 2015 Update 1, that emits MPX code, to create an executable test.exe

    char buffer[100];
    int main(int argc, char *argv[]) {          
       buffer[100] = 0;
      return 0;
    }
    
  3. try it by running:

    sde -- test.exe
    

Useful links:

Laszlo
  • 769
  • 9
  • 19
  • First I uninstalled the MPX driver. Then I installed the Intel software development emulator, then I tried to reinstall the MPX driver. When I right-click mpxruntime.inf and select install, windows reports "The operation completed successfully" but then MPX is nowhere to be seen under "system devices". – Mick Jan 30 '17 at 11:58
  • @Mick the MPX runtime driver is not needed, when you run under the device emulator. It should work even on other systems than Windows 10. The MPX runtime driver is for Windows 10 Anniversary Update only. – Laszlo Jan 30 '17 at 20:25
  • I got as far as reading the lines "one must link in an object file version of the loadrt.cpp file supplied in our MPX runtime download zip file. This example uses a version of ICL that is not available externally yet." - neither mpx.obj or loadrt.obj were anywhere on my system. Am I right in thinking that you are suggesting this "emulation" route because MPX is not actually built into my i7-6850K processor? – Mick Feb 01 '17 at 12:10
  • I suggested the emulation route because I noticed too late the information about your processor. The i7-6850K should have MPX built in. https://ark.intel.com/products/88969/Intel-Core-i7-6820HK-Processor-8M-Cache-up-to-3_60-GHz I will try myself, in the following days, the driver route, and will post any findings here. – Laszlo Feb 01 '17 at 14:24