Error codes

0x0000013A

KERNEL_MODE_HEAP_CORRUPTION

What it means

A driver damaged the kernel's memory heap.

Common causes

How to fix it

  1. Open the crash dump in WhoCrashed or BlueScreenView: it usually names the driver file that caused it (for example nvlddmkm.sys is the NVIDIA driver).
  2. Do a clean graphics driver install with DDU.
  3. Update the graphics, chipset and network drivers from the maker's site (NVIDIA, AMD, Intel or your board vendor), not from a driver-updater tool.
  4. Open Terminal (Admin) and run sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth. Restart afterwards.