steve-m / librtlsdr

Software to turn the RTL2832U into an SDR
GNU General Public License v2.0
683 stars 328 forks source link

rtlsdr_close freezing in latest windows build #51

Open bobasaurus opened 5 years ago

bobasaurus commented 5 years ago

I noticed an error when using the latest 32-bit 2019/07/14 windows build from here:

https://ftp.osmocom.org/binaries/windows/rtl-sdr/

Calling rtlsdr_close just blocks/freezes indefinitely. On program exit I'm calling rtlsdr_cancel_async (successful), then joining the sampling thread (successful), then calling rtlsdr_close (freezes).

This was not a problem with the old "RelWithDebInfo" version of this library (built on 2014/1/24).

bobasaurus commented 5 years ago

If it helps, I'm running Windows 7 x64, but building a 32-bit program with the 32-bit dlls. Using a nooelec nesdr smart, driver is WinUSB v6.1.7600.16385 installed with Zadig.