f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.91k stars 441 forks source link

Division by Zero whilst switching between Presets #868

Closed IrishCoffee17 closed 3 years ago

IrishCoffee17 commented 3 years ago

Windows 10, SDRangel v6.10.1 Switched between presets, each having a single Broadcast FM decoder. Approx. one out of 20 times the app closes with a division by zero. Seems to be independent of the selected demods, did also happen with NFM and DSD demods in preset.

grafik

f4exb commented 3 years ago

Logically you cannot read or write from a FIFO of size 0 so read/write operations should check size and return immediately if zero.