本人按MiniFilter框架写了几个简单的文件修改操作驱动,在许多电脑上测试都能正常跑,但是在有一台计算机上安装时发生了蓝屏,
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck D4, {fffff88006146058, 2, 0, fffff80004a76da0}
Probably caused by : glsProcessPr ( glsProcessPr+7058 )
Followup: MachineOwner
---------
2: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD (d4)
A driver unloaded without cancelling lookaside lists, DPCs, worker threads, etc.
The broken driver's name is displayed on the screen and saved in
KiBugCheckDriver.
When possible, the guilty driver's name (Unicode string) is printed on
the bugcheck screen and saved in KiBugCheckDriver.
An attempt was made to access the driver at raised IRQL after it unloaded.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: fffff88006146058, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff80004a76da0, address which referenced memory
Debugging Details:
------------------
KEY_VALUES_STRING: 1
STACKHASH_ANALYSIS: 1
TIMELINE_ANALYSIS: 1
DUMP_CLASS: 1
DUMP_QUALIFIER: 400
BUILD_VERSION_STRING: 7601.24117.amd64fre.win7sp1_ldr_escrow.180422-1430
SYSTEM_MANUFACTURER: LENOVO
SYSTEM_PRODUCT_NAME: 90G0CTO1WW
SYSTEM_SKU: LENOVO_MT_90G0_BU_Think_FM_QiTianM410-N000
SYSTEM_VERSION: QiTianM410-N000
BIOS_VENDOR: LENOVO
BIOS_VERSION: M16KT42A
BIOS_DATE: 11/09/2017
BASEBOARD_MANUFACTURER: LENOVO
BASEBOARD_PRODUCT: 3102
BASEBOARD_VERSION: NOK
DUMP_TYPE: 2
BUGCHECK_P1: fffff88006146058
BUGCHECK_P2: 2
BUGCHECK_P3: 0
BUGCHECK_P4: fffff80004a76da0
FAULTING_IP:
glsProcessPr+7058
fffff880`06146058 ?? ???
CPU_COUNT: 4
CPU_MHZ: e70
CPU_VENDOR: GenuineIntel
CPU_FAMILY: 6
CPU_MODEL: 5e
CPU_STEPPING: 3
CPU_MICROCODE: 6,5e,3,0 (F,M,S,R) SIG: BA'00000000 (cache) BA'00000000 (init)
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT
BUGCHECK_STR: 0xD4
PROCESS_NAME: System
CURRENT_IRQL: 2
ANALYSIS_SESSION_HOST: DESKTOP-BTQ1IJ0
ANALYSIS_SESSION_TIME: 09-16-2019 18:39:39.0020
ANALYSIS_VERSION: 10.0.17763.1 amd64fre
STACK_TEXT:
fffff880`04d6a728 fffff800`04ab6869 : 00000000`0000000a fffff880`06146058 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
fffff880`04d6a730 fffff800`04ab3d8b : 00000000`00000000 fffff880`06146058 00000000`00000000 fffff800`04c18960 : nt!KiBugCheckDispatch+0x69
fffff880`04d6a870 fffff800`04a76da0 : 00000000`00000000 fffff800`04ca5cc0 00000000`00000001 00000000`00000008 : nt!KiPageFault+0x54b
fffff880`04d6aa00 fffff800`04a75a28 : 00000000`00000001 00000000`00000008 00000000`00000001 fffff800`04ca5cc0 : nt!ExpScanGeneralLookasideList+0xa0
fffff880`04d6aa60 fffff800`04a73dc6 : 00000000`00000008 fffff880`04d6aad0 00000000`00000001 fffffa80`00000000 : nt!ExAdjustLookasideDepth+0x40
fffff880`04d6aa90 fffff800`04d4ab5c : fffff880`04900180 00000000`00000080 fffffa80`036b7040 00000000`00000000 : nt!KeBalanceSetManager+0x1be
fffff880`04d6ac00 fffff800`04aac916 : fffff880`04900180 fffffa80`036e9b50 fffff880`0490f140 00000000`00000000 : nt!PspSystemThreadStartup+0x140
fffff880`04d6ac40 00000000`00000000 : fffff880`04d6b000 fffff880`04d65000 fffff880`04d6a5c0 00000000`00000000 : nt!KiStartSystemThread+0x16
THREAD_SHA1_HASH_MOD_FUNC: fae5c77a624beda444924cc81ed55117518df3bb
THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 12e4a544aabab0251f472dce6e7e68c17c41cba7
THREAD_SHA1_HASH_MOD: cb5f414824c2521bcc505eaa03e92fa10922dad8
FOLLOWUP_IP:
glsProcessPr+7058
fffff880`06146058 ?? ???
SYMBOL_NAME: glsProcessPr+7058
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: glsProcessPr
IMAGE_NAME: glsProcessPr
DEBUG_FLR_IMAGE_TIMESTAMP: 0
STACK_COMMAND: .thread ; .cxr ; kb
FAILURE_BUCKET_ID: X64_0xD4_UNLOADED_MODULE_glsProcessPr+7058
BUCKET_ID: X64_0xD4_UNLOADED_MODULE_glsProcessPr+7058
PRIMARY_PROBLEM_CLASS: X64_0xD4_UNLOADED_MODULE_glsProcessPr+7058
TARGET_TIME: 2019-09-16T07:47:06.000Z
OSBUILD: 7601
OSSERVICEPACK: 1000
SERVICEPACK_NUMBER: 0
OS_REVISION: 0
SUITE_MASK: 272
PRODUCT_TYPE: 1
OSPLATFORM_TYPE: x64
OSNAME: Windows 7
OSEDITION: Windows 7 WinNt (Service Pack 1) TerminalServer SingleUserTS
OS_LOCALE:
USER_LCID: 0
OSBUILD_TIMESTAMP: 2018-04-23 07:25:30
BUILDDATESTAMP_STR: 180422-1430
BUILDLAB_STR: win7sp1_ldr_escrow
BUILDOSVER_STR: 6.1.7601.24117.amd64fre.win7sp1_ldr_escrow.180422-1430
ANALYSIS_SESSION_ELAPSED_TIME: 561
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:x64_0xd4_unloaded_module_glsprocesspr+7058
FAILURE_ID_HASH: {9bd03785-f35a-adfa-1297-99b56a4dc4c6}
Followup: MachineOwner
---------