cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mreitinger
Journeyman III

Vulkan Beta Driver: vkCreateInstance access violation when pApplicationInfo is NULL

The AMD Vulkan Beta Driver crashes with an access violation when the pApplicationInfo member of the VkInstanceCreateInfo struct passed to VkCreateInstance is NULL. However the Vulkan 1.0 spec​ states that pApplicationInfo may be NULL. So I believe this to be a bug in the current AMD driver. Can someone from AMD please confirm this and pass this on to the driver team?

Exception Message:

Exception thrown at 0x00007FF934FB10DE (amdvlk64.dll) in VkTest.exe: 0xC0000005: Access violation reading location 0x000000000000002C.

Call Stack:

amdvlk64.dll!00007ff934fb10de()

amdvlk64.dll!00007ff934fb1492()

vulkan-1.dll!00007ff9544e2093()

vulkan-1.dll!00007ff9544e505d()

vulkan-1.dll!00007ff9544ed63c()

VkTest.exe!main()

VkTest.exe!invoke_main()

VkTest.exe!__scrt_common_main_seh()

VkTest.exe!__scrt_common_main()

VkTest.exe!mainCRTStartup()

kernel32.dll!BaseThreadInitThunk()

ntdll.dll!RtlUserThreadStart()

GPU: AMD Radeon R9 200 / HD 7900 Series (HD 7970)

Driver version: 16.150.1009.0 (AMD Radeon™ Software Beta for Vulkan™ Version 16.15.1009 Beta 4)

OS: Windows 10 Pro 64-Bit

3 Replies
rvn
Journeyman III

Can confirm the crash on vkCreateInstance when the pApplicationInfo member is null.

From Vulkan 1.0 spec:

• pApplicationInfo is NULL or a pointer to an instance of VkApplicationInfo.

AMD Radeon HD 7800 Series

Driver Version: 16.15.1009 Beta 4

Windows 7 Ultimate 64-Bit

0 Likes
grimeh
Journeyman III

Can confirm this issue. Creating a VkApplicationInfo object and assigning it to pApplicationInfo member of the VkInstanceCreateInfo fixes it.

AMD Radeon HD 7970

Driver: Vulkan Beta - Feb 17

Windows 10 64 bit

1.0.3.1 Vulkan SDK from LunarG site

0 Likes

Can you try reproducing this issue with the latest public driver, please?

0 Likes