The application crashes on the first run when attempting to receive data using the synchronous API on Windows 11 after a clean install. However, the second run works without any issues.
Preconditions:
Clean install of Windows 11.
Connect a bladeRF2 device and install driver
Run app that uses the synchronous API for RX:
bladerf_sync_config
bladerf_enable_module
bladerf_sync_rx
Observed Behavior:
bladerf_sync_rx times out.
The process terminates due to an Access Violation in set_state, which is called from sync_worker_task.

which is called from sync_worker_task

But second time you run same app - it may just work (not always).
The crash may be related to a missing MSVCR100.dll dependency. The pthreadVC2.dll depends on MSVCR100.dll, which is not included in the Visual C++ Redistributable for Visual Studio 2015–2022.