Skip to content

Conversation

@vadimart92
Copy link

Fixes #1015

The problem is that under certain conditions (this can also be reproduced when the app is unpacked from an archive for the first time—possibly due to antivirus interference?), the 1000 ms timeout is not enough for the thread to set SYNC_WORKER_STATE_IDLE.

As a result, the method returns BLADERF_ERR_TIMEOUT and calls free(s->worker). However, after this, the sync_worker_task thread still executes, leading to an access violation and ultimately causing the application to crash.

@CLAassistant
Copy link

CLAassistant commented Jul 4, 2025

CLA assistant check
All committers have signed the CLA.

@vadimart92 vadimart92 changed the title Increase timeout for waiting on sync_worker_task thread during sync_worker_init. libbladerf: Increase timeout for waiting on sync_worker_task thread during sync_worker_init. Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants