KERNEL_MODE_HEAP_CORRUPTION (0x13A) means the kernel mode heap manager detected heap corruption.
From the documented parameter meanings, the most important next step is to check Parameter 1 from !analyze -v in each dump. That value identifies the corruption pattern, for example:
-
0x6: features consistent with a buffer overrun -
0x7: features consistent with a buffer underrun -
0xB: features consistent with use-after-free -
0xD: corrupt free list, possibly from use-after-free or adjacent buffer overflow -
0x11: possible double-free or heap corruption -
0x17: corruption in a delay free list, likely use-after-free or adjacent buffer overflow
The dump text provided only shows the bug check 0x13A, not the !analyze -v output with the parameter values or the faulting driver, so the exact offending component cannot be identified from this data alone.
Actionable next steps:
- In WinDbg, run
!analyze -von each minidump. - Record these fields from each dump:
-
Arg1 -
MODULE_NAME -
IMAGE_NAME -
PROCESS_NAME - stack trace entries near the top
-
- Compare multiple dump files. If the same driver or module appears repeatedly, that is the strongest lead.
- Use Event Viewer and check the System log for errors in the same time window as the blue screen.
- In Device Manager, look for devices with an exclamation mark and review the device/driver events.
- If hardware or drivers were added recently, remove, replace, or update them.
- If new drivers or system services were added recently, remove or update them.
- Run the hardware diagnostics supplied by the system manufacturer, especially memory diagnostics.
- If BIOS or hardware compatibility changed recently, check whether a BIOS update from the manufacturer is applicable.
- Configure the system to save an Automatic memory dump so future crashes provide better data:
- Search Advanced system settings
- Advanced tab → Startup and Recovery → Settings
- Write debugging information → Automatic memory dump
- Restart the computer
For deeper analysis, the documented debugger commands for this stop code are:
-
!analyze -
!heap
If the crashes continue after basic driver and hardware checks, multiple dump files should be examined together because recurring patterns are specifically called out as important for finding the root cause.