Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to install MPX Runtime Driver (for bounds checking)

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?

like image 715
Mick Avatar asked Feb 18 '26 18:02

Mick


1 Answers

  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:

  • Windows 10 Anniversary Update
  • Using Intel® MPX with the Intel® Software Development Emulator
like image 133
Laszlo Avatar answered Feb 21 '26 08:02

Laszlo