Acid: ucrtbase dll crashing on certain tests

Running TestPhysics provides me with this error before code even begins executing:

Unhandled exception at 0x00007FFD4D8EE91E (ucrtbase.dll) in TestPhysics.exe: Fatal program exit requested

The console provides some more insight, with errors such as:

Type mismatch on descriptor slot 0.0 (expected VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) but descriptor of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER THREADING ERROR : object of type VkQueue is simultaneously used in thread 0x2214 and thread 0x3ed0

My step-by-step build so far can be found Here under the Compiling category.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Almost all cleanup issues are my fault, I’m deleting Vulkan objects in the wrong order a large amount of the time. I had these methods correct before a fairly major Vulkan overhaul, they have not been my top priority. This should only cause issues when closing the application, not when deleting entities or destroying command pools/buffers.

I was able to replicate your most recent error, commenting out this line fixed my build: https://github.com/EQMG/Acid/blob/d7e83f06f2a474c3ba376c9d4dda69947afcac28/Sources/CMakeLists.txt#L82

I’m also attempting to create a vcpkg port for Acid, a few minor CMake changes will be required for it to work well. I’m still recommending building Acid in projects as a submodule.