Bug Check 0xD6: DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION

The DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION bug check has a value of 0x000000D6. This indicates the driver accessed memory beyond the end of its pool allocation.

Important

This article is for programmers. If you're a customer who has received a blue screen error code while using your computer, see Troubleshoot blue screen errors.

DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION Parameters

Parameter Description

1

Memory address referenced

2

0: Read

1: Write

3

Address that referenced memory (if known)

4

Reserved

The !analyze debug extension displays information about the bug check and can be helpful in determining the root cause. If the driver responsible for the error can be identified, its name is printed on the blue screen and stored in memory at the location (PUNICODE_STRING) KiBugCheckDriver.

Cause

The driver allocated n bytes of memory and then referenced more than n bytes. The Driver Verifier Special Pool option detected this violation.

For information about the special pool, consult the Driver Verifier section of the Windows Driver Kit.

Remarks

This cannot be protected by a try - except handler -- it can only be protected by a probe.