Currently trying to use RTLSDR-Airband with SoapySDR to listen to a large amount of AM stations. However, when RTLSDR-Airband attempts to init a device, it segfaults. This happens when SoapySDR sets the samplerate, but instead calls the wrong SoapySDR function and trashes the call stack completely.
Thread 1 "rtl_airband" hit Breakpoint 1, SoapySDRDevice_setSampleRate (device=0x561b8, direction=1, channel=0, rate=20000000) at /home/pi/airband-radio/install/radio/SoapySDR/lib/DeviceC.cpp:564 564 __SOAPY_SDR_C_TRY (gdb) bt #0 SoapySDRDevice_setSampleRate (device=0x561b8, direction=1, channel=0, rate=20000000) at /home/pi/airband-radio/install/radio/SoapySDR/lib/DeviceC.cpp:564 #1 0x00022134 in soapysdr_init (input=0x45250) at input-soapysdr.cpp:242 #2 0x00019318 in input_init (input=0x45250) at input-common.cpp:61 #3 0x00017c90 in main (argc=3, argv=0xbefff634) at rtl_airband.cpp:923 (gdb) step SoapySDRDevice_clearError () at /home/pi/airband-radio/install/radio/SoapySDR/lib/DeviceC.cpp:564 564 __SOAPY_SDR_C_TRY (gdb) step SoapySDRDevice_setSampleRate (device=0x561b8, direction=1, channel=0, rate=20000000) at /home/pi/airband-radio/install/radio/SoapySDR/lib/DeviceC.cpp:28 28 lastErrorStatus = 0; (gdb) step 565 device->setSampleRate(direction, channel, rate); (gdb) step SoapyLMS7::listSampleRates (this=0x1, direction=0, channel=<optimized out>) at /home/pi/airband-radio/install/radio/LimeSuite/SoapyLMS7/Settings.cpp:479 479 if (LMS_GetSampleRateRange(lms7Device, direction == SOAPY_SDR_RX, &range)) (gdb) bt #0 SoapyLMS7::listSampleRates (this=0x1, direction=0, channel=<optimized out>) at /home/pi/airband-radio/install/radio/LimeSuite/SoapyLMS7/Settings.cpp:479 #1 0xb6c5a974 in SoapySDRDevice_setSampleRate (device=0x561b8, direction=1, channel=0, rate=20000000) at /home/pi/airband-radio/install/radio/SoapySDR/lib/DeviceC.cpp:565 #2 0x00022134 in soapysdr_init (input=0x45250) at input-soapysdr.cpp:242 #3 0x00019318 in input_init (input=0x45250) at input-common.cpp:61 #4 0x00017c90 in main (argc=3, argv=0xbefff634) at rtl_airband.cpp:923