gqrx-sdr / gqrx

Software defined radio receiver powered by GNU Radio and Qt.
http://gqrx.dk
GNU General Public License v3.0
3.1k stars 544 forks source link

Crash when using GQRX to playback IQ files without a connected Rx #1354

Open mhassell opened 5 months ago

mhassell commented 5 months ago

Context: I use GQRX both for actively receiving signals and for playing back recorded IQ files (that were recorded through GQRX).

Reproduce: Open GQRX without a receiver attached to the computer. You will get an error "No device found with serial number...". The device selection window pops up, and just hit enter. The same error as before pops up. Press enter and the GQRX gui loads. Then, go to Tools -> IQ Recorder and start playing an IQ file. When the file starts playing, hit the "Play" button again to try to pause the playback. The GUI crashes and an exception pops up that "gqrx exited with an exception. No device found with serial number ...."

Fix? The play button in the IQ Recorder should convert to a stop/pause button when we are using GQRX just for playing back old IQ files. It should not crash when I attempt to stop the playback of an IQ file

willcode commented 5 months ago

As a workaround, set the input to use IQ file /dev/zero.

vladisslav2011 commented 5 months ago

Or you may choose "default" device (soundcard input) if gr-osmosdr is compiled with SoapySDR support. gqrx-nodev