D3D11CreateDevice导致读访问冲突



代码&

我正在尝试微软的应用程序验证程序,并在下面的简单代码中遇到了读取访问违规。这是我的错吗?如果没有,我应该向谁报告?

#include <D3D11_1.h>
#pragma comment(lib, "d3d11.lib")
void main()
{
    ID3D11Device* device = NULL;
    D3D11CreateDevice(
        NULL,
        D3D_DRIVER_TYPE_HARDWARE,
        NULL,
        0,
        NULL,
        0,
        D3D11_SDK_VERSION,
        &device,
        NULL,
        NULL);
}

应用验证器输出

Page heap: pid 0x1034: page heap enabled with flags 0x3.
AVRF: D3D11_Fails_AppVerifier.exe: pid 0x1034: flags 0x81643027: application verifier enabled
First-chance exception at 0x00007FFA4EA681B9 (atiuxp64.dll) in D3D11_Fails_AppVerifier.exe: 0xC0000005: Access violation reading location 0x0000009411813000.

=======================================
VERIFIER STOP 0000000000000013: pid 0x1034: First chance access violation for current stack trace. 
0000009411813000 : Invalid address causing the exception.
00007FFA4EA681B9 : Code address executing the invalid access.
000000940FA5B430 : Exception record.
000000940FA5AF40 : Context record.
<标题> WinDBG Callstack h1> y PC's Info
    Windows 8.1 Pro 64位(6.3,Build 9600)
  • AMD Radeon (TM) R9 200系列
  • AMD Catalyst驱动程序(15.7.1)最新(最后检查10/15/2015 10:16:39 PM)

App-Verifier在使用D3D_DRIVER_TYPE_WARP后不再检测读取违规。

我已经联系AMD了。谢谢你的建议,查克·沃尔本!

相关内容

  • 没有找到相关文章

最新更新