android-emulator-hypervisor-driver icon indicating copy to clipboard operation
android-emulator-hypervisor-driver copied to clipboard

aehd.sys - BSOD - DRIVER_VERIFIER_DETECTED_VIOLATION (c4) - WIndows 11 (intel)

Open crutch12 opened this issue 1 year ago • 0 comments

Problem

Since 2024-09-19 (when I've installed Android Emulator), I have been catching BSOD with UNEXPECTED_STORE_EXCEPTION error.

After some research (with WinDbg and .dmp file), I've investigated that aehd.sys throws this error.

I don't launch Android studio / Android emulator at all, but I always have Hyper-V turned on (because I run Docker in WSL). So I think it's Hyper-V who throws error.

System

  • Windows 11 Pro (22631.4317)
  • 11th Gen Intel(R) Core(TM) i7-11370H
  • Android Studio (Build #AI-241.18034.62.2412.12266719, built on August 23, 2024)
  • Android Emulator (35.2.10)
  • Android Emulator Hypervisor Driver (installer) (2.2.0)

Error info

From dump file

DRIVER_VERIFIER_DETECTED_VIOLATION (c4)
A device driver attempting to corrupt the system has been caught.  This is
because the driver was specified in the registry as being suspect (by the
administrator) and the kernel has enabled substantial checking of this driver.
If the driver attempts to corrupt the system, BugChecks 0xC4, 0xC1 and 0xA will
be among the most commonly seen crashes.
Arguments:
Arg1: 0000000000000062, A driver has forgotten to free its pool allocations prior to unloading.
Arg2: ffffd28e508f87c8, name of the driver having the issue.
Arg3: ffffd28e55ef42e0, verifier internal structure with driver information.
Arg4: 0000000000000002, total # of (paged+nonpaged) allocations that weren't freed.
	Type !verifier 3 drivername.sys for info on the allocations
	that were leaked that caused the bugcheck.

// ...

IMAGE_NAME:  aehd.sys

Dump file

Here is the dump file: 111124-5421-01.dmp.txt

[!CAUTION] Rename file after download: 111124-5421-01.dmp.txt -> 111124-5421-01.dmp

crutch12 avatar Nov 12 '24 20:11 crutch12