bladeRF icon indicating copy to clipboard operation
bladeRF copied to clipboard

App crashes on first synchronous RX after clean install on Windows 11

Open vadimart92 opened this issue 8 months ago • 6 comments

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. Image which is called from sync_worker_task Image

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.

vadimart92 avatar May 14 '25 08:05 vadimart92