The issue has been reported upstream and apparently the RDRAND issue with the new AMD Ryzen 3000 CPUs is at fault: https://github.com/keepassxreboot/keepassxc/issues/3415