I had wrote a magnetometer sensor UMDF driver. Right now, I'm using the HLK to do the testing, however, the test case "DF-PNP Rebalance Fail Restart Device Test" always failed because of the system crash and windows reboot. The following is the
bugcheck code:
The computer has rebooted from a bugcheck. The bugcheck was: 0x000000c9 (0x0000000000000221, 0xfffff80707e61010, 0xffffbd096a91cca0, 0xffffbd095d02c110). A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id:
bc463e0b-5186-4314-8bd6-9fd05157b06a.
Bugcheck summary:
Code: 0x000000c9 (0x0000000000000221, 0xfffff80707e61010, 0xffffbd096a91cca0, 0xffffbd095d02c110)
Name: DRIVER_VERIFIER_IOMANAGER_VIOLATION
Description: The IO manager has caught a misbehaving driver.
Parameter Description:
Parameter 1: An IRP dispatch handler for a PDO has deleted its device object, but the hardware has not been reported as missing in a bus relations query.
Parameter 2: The address in the driver's code where the error was detected.
Parameter 3: IRP address.
Parameter 4: Device object address.
ReportId: bc463e0b-5186-4314-8bd6-9fd05157b06a
Client Machine: DESKTOP-QI3UBC9
Timestamp: 01/08/2019 03:09:43
I rerun the testing many times and it seems the system reboot when run test "SurpriseRemove" subcase. My driver is written by referring to the ADXL345Acc driver and there is no "EvtDeviceSurpriseRemoval" handler in it.
Is this related? Can anyone me any suggestions? Thanks ahead!