Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 10上的BSOD 0xC4_Windows_Device Driver_Bsod - Fatal编程技术网

Windows 10上的BSOD 0xC4

Windows 10上的BSOD 0xC4,windows,device-driver,bsod,Windows,Device Driver,Bsod,我有一个用WDK 8.1构建的驱动程序,我正试图用它在Windows 10上运行 验证程序已启用代码完整性检查。当驱动程序启动时,我收到以下BSOD: 我是否需要通过更改任何设置来重建驱动程序。 “Arg1:000020000,驱动程序违规的子类”的含义是什么 据 arg 0x2000表示您正在调用StorPortInitialize函数 请仔细检查您使用的操作系统符号是否正确,否则调试器输出可能完全错误!还包括驱动程序的符号文件夹路径(文件->符号文件路径)。 这里有:有关如何使用Micros

我有一个用WDK 8.1构建的驱动程序,我正试图用它在Windows 10上运行 验证程序已启用代码完整性检查。当驱动程序启动时,我收到以下BSOD:
我是否需要通过更改任何设置来重建驱动程序。 “Arg1:000020000,驱动程序违规的子类”的含义是什么

据 arg 0x2000表示您正在调用StorPortInitialize函数

请仔细检查您使用的操作系统符号是否正确,否则调试器输出可能完全错误!还包括驱动程序的符号文件夹路径(文件->符号文件路径)。 这里有:有关如何使用Microsoft symbols服务器下载所需操作系统符号的详细信息。 您可以向符号路径中添加类似于srvc:\MyTempSymbolFolder的内容,但请确保使用“;”来分隔符号路径

完成此操作后,您应该能够在windbg中成功执行此命令: .重新加载/f nt .重新加载/f McPvDrv.sys

现在重新运行!analyze-v命令,该命令可能会显示修改后的调用堆栈

                      Bugcheck Analysis:  
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: 00002000, subclass of driver violation.
Arg2: 93d76b70
Arg3: 00000000
Arg4: 00000000

Debugging Details:
------------------

Failed calling InternetOpenUrl, GLE=12007

BUGCHECK_STR:  0xc4_2000

IMAGE_NAME:  McPvDrv.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  5317613a

MODULE_NAME: McPvDrv

FAULTING_MODULE: 93d70000 McPvDrv

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT

PROCESS_NAME:  System

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from 8277336a to 8233bac4

STACK_TEXT:  
876c76d8 8277336a 000000c4 00002000 93d76b70 nt!KeBugCheckEx
876c76fc 8241f7ea 93d76b70 00000000 00000000 nt!VerifierBugCheckIfAppropriate+0x36
876c771c 8276c018 93d76b70 00000000 00000000 nt!VfReportIssueWithOptions+0xd3
876c773c 8276a4b7 00000000 00000000 876c77c4 nt!VfCheckPoolType+0x61
876c774c 93d76b70 00000000 00000014 0000002d nt!VerifierExAllocatePool+0x15
WARNING: Stack unwind information not available. Following frames may be wrong.
876c77c4 93d7581d 93d7e14c 00000020 876c79ec McPvDrv+0x6b70
876c7a34 93d75fc1 93d73dba 00000001 71bfe534 McPvDrv+0x581d
876c7ae0 93d7145c b27cef30 860ebbe0 82217938 McPvDrv+0x5fc1
876c7b20 825a2920 b27cef30 b27ef000 ab95fcf0 McPvDrv+0x145c
876c7d00 825bd192 00000000 876c7d1c ab95fcf0 nt!IopLoadDriver+0x62a
876c7d20 82314145 ab95fcf0 00000000 861a8700 nt!IopLoadUnloadDriver+0x42
876c7d70 822a3da1 82487220 71bfe2e4 00000000 nt!ExpWorkerThread+0xd5
876c7db0 8234f2f1 82314070 82487220 00000000 nt!PspSystemThreadStartup+0x5b
876c7dbc 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x15


STACK_COMMAND:  kb

FOLLOWUP_IP: 
McPvDrv+6b70
93d76b70 8bf0            mov     esi,eax

SYMBOL_STACK_INDEX:  5

SYMBOL_NAME:  McPvDrv+6b70

FOLLOWUP_NAME:  wintriag

FAILURE_BUCKET_ID:  0xc4_2000_VRF_McPvDrv+6b70

BUCKET_ID:  0xc4_2000_VRF_McPvDrv+6b70

Followup: wintriag