Windows error 0x000000D8, 216

Detailed Error Information


MessageThis version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800700D8.


This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0xD8: DRIVER_USED_EXCESSIVE_PTES.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
Reserved (X)false
FacilityCode0 (0x000)
DescriptionThe default facility code.[3][1]
Error Code216 (0x00d8)

Possible solutions


Can one assign 4 little-endian-ordered bytes of an unsigned integer to a Java primitive using just bitwise operators?


Just include & 0xff for each byte to int promotion, in order to make sure that the top bits are set to 0:

byte b1 = din.readByte();
byte b2 = din.readByte();
byte b3 = din.readByte();
byte b4 = din.readByte();
int s = 0;
s = s | (b4 & 0xff);
s = (s << 8);
s = s | (b3 & 0xff);
s = (s << 8);
s = s | (b2 & 0xff);
s = (s << 8);
s = s | (b1 & 0xff);
return s;

Or more compactly:

byte b1 = din.readByte();
byte b2 = din.readByte();
byte b3 = din.readByte();
byte b4 = din.readByte();
return ((b4 & 0xff) << 24)
     | ((b3 & 0xff) << 16)
     | ((b2 & 0xff) << 8)
     | ((b1 & 0xff) << 0);

(Obviously the "shift left 0" is unnecessary, but it keeps the consistency higher.)

answered on Stack Overflow Sep 30, 2010 by Jon Skeet

Why might a Macbook Pro be freezing on resume from sleep?


From your kernel panic log:

Kernel loadable modules in backtrace (with dependencies):

That says that either Apple's Nvidia drivers or the Nvidia card itself is causing the computer to kernel panic so it may be a bad graphics card or simply bad drivers.

Now that Snow Leopard is out and you're planning to upgrade you can try an upgrade (which has newer drivers) and see if that fixes your issue. If the issue remains then it sounds like something is faulty with the graphics card and you'll want to contact Apple Tech Support for a repair under warranty (if you're still covered - 1 year with the computer, 3 years if you bought AppleCare)

Is it a GeForce 8600M? The warranty has been boosted to 3 years because of the card having a design fault - see Apple's technote.

answered on Super User Aug 29, 2009 by Chealion

jvm jit common subexpression elimination


To begin with, you look at the wrong method. This is not what is executed on the hot path. MyBenchmark.testMethod is inlined into the benchmark loop, and the most time is spent in a JMH-generated method like


You may check it by running JMH with -prof perfasm option.

Anyway, you've guessed right that CSE does not work in the given example. But not because of different registers (register allocation is performed late after most machine-independent optimizations), but just because the control flow is too complicated here. Generally, CSE in HotSpot is not applied on subgraphs with cycles (i.e. loops).

I wonder if there's any way to enable CSE explicitly in this case or other similar scenarios.

Well, of course, by doing this manually, i.e. by caching the method result in a temporary variable. HotSpot is not too smart in detecting common subexpressions: for example, s*y+x and y*s+x are treated as different expressions, but you may help JIT by rewriting the code like in this question.

answered on Stack Overflow Jan 11, 2018 by apangin

vc++ Access violation reading location


The clue is in the error message Access violation reading location 0x000000D8 your code is trying to access a very low address, this address is not available to normal programs. This will be caused by trying to use a null pointer. Given the offset from null is quite large I assume m_buffer is null.

answered on Stack Overflow Mar 7, 2018 by Alan Birtles

vc++ Access violation reading location


What is the value of 'iRow' and 'iCol' when exception of access violation.

if the sum of 'iRow * COLS + iCol' is greater than 199 then it should throw the access violation.

One think I don't understand why are you returning " return m_buffer[iRow * COLS + iCol]" always in that function. It is better to return when the flag is true.


answered on Stack Overflow Mar 7, 2018 by Manivasakan

GUI program can't allocate a console in Qt's debugger


Can't you use the standard output console, using CONFIG += console in the .pro file?

Hmm -- check this out:

A process can be associated with only one console, so the AllocConsole function fails if the calling process already has a console. A process can use the FreeConsole function to detach itself from its current console, then it can call AllocConsole to create a new console or AttachConsole to attach to another console.

Can you try running FreeConsole before you create yours?

answered on Stack Overflow Oct 13, 2011 by hex4def6

Why might a Macbook Pro be freezing on resume from sleep?


Not a lot of experience with macs, but if this was a pc I would have to go down the route of background processes.

Virtualisation for me is the killer when it comes to resuming if they were ram intensive and did not pause.

If you can not fix it by uninstalling programs, personally I would take a full drive backup, restore to factory settings, and see if the problem has gone (hopefully you get this EVERY time, so you can easily see if working or not).

If this does not fix the problem, faulty hardware.

If this fixes the problem, I would reinstall the programs I use one by one until the problem occurs again. If it doesn't cross your fingers and continue using! if it does, you have a culprit and know what not to use!

answered on Super User Aug 29, 2009 by William Hilsum

Can't start a cmd.exe shell with ConEmu


Reinstall ConEmu

  1. Remove registry (download Microsoft Fix it utility and clean up registry)
  2. Uninstall from control panel
  3. Then Install
answered on Super User May 20, 2016 by (unknown user)

Facing issues while launching demo for Oculus SDK


You didn't include any info about your video hardware & drivers; the first thing I'd try is upgrading them. Also try upgrading to the latest Oculus runtime.

answered on Stack Overflow Sep 22, 2015 by rusty


Leave a comment

(plain text only)


  1. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0