When the VK_LAYER_KHRONOS_validation is intercepting calls to the API, it will cause a segfault if it's invoked inside the destructor due to an uncaught exception for an invalid mutex lock.
libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
When the VK_LAYER_KHRONOS_validation is intercepting calls to the API, it will cause a segfault if it's invoked inside the destructor due to an uncaught exception for an invalid mutex lock.
libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument