启用 gflags 时 RtlDebugCreateHeap api 中的访问冲突

问题描述

在 Windows Server 2016 Standard 版本 1607 上调试。 从windbg 10.0.19041.685启动一个进程并设置以下gflags:

0:038> !gflag 0x020011f0
New NtGlobalFlag contents: 0x020011f0
    htc - Enable heap tail checking
    hfc - Enable heap free checking
    hpc - Enable heap parameter checking
    hvc - Enable heap validation on call
    vrf - Enable application verifier
    ust - Create user mode stack trace database
    hpa - Place heap allocations at ends of pages 

在继续时始终出现以下访问冲突:

(140c.7ec): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
ntdll!RtlDebugCreateHeap+0x2bb:
00007ff8`f96da01b 66898730010000  mov     word ptr [rdi+130h],ax ds:000001d5`dced0130=eeee

这发生在 loadlibrary 调用中。此 gflag 设置是否存在已知问题?有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)