AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
3.94k stars 544 forks source link

Segmentation fault with Radioberry Soapy #386

Closed madpsy closed 1 year ago

madpsy commented 2 years ago

I am getting a seg fault as follows when starting the application on my Pi4. The last reference relates to Radiobery (an SDR Pi Hat).

Given I don't actually need soapy support as I just want to use it with an RTL-SDR is the quickest workaround to complile without Soapy support? If so, what's the build flag to not compile in Soapy? Thanks in advance.

[2021-09-25 14:05:29.761] [info] Initializing SoapySDR Source (soapy_source) [INFO] SoapyRadioberry::SoapyRadioberry constructor called [INFO] SoapyRadioberry::listAntennas called [INFO] SoapyRadioberry::listGains called [INFO] SoapyRadioberry::listBandwidths called [INFO] SoapyRadioberry::SoapyRadioberry destructor called Segmentation fault

madpsy commented 2 years ago

I just tried moving /usr/lib/sdrpp/plugins/soapy_source.so and the software now starts, albeit crashes when I hit start when selecting RTL-SDR but that may be a different issue.

AlexandreRouma commented 2 years ago

Make sure the DVB-T drivers are blacklisted and the ones for the RTL-SDR are loaded instead. (details on the rtl-sdr repo)

madpsy commented 2 years ago

thanks for replying- I have that blacklisted (and indeed it works with GQRX) but seems the issue is that X crashes rather than sdr++ so that's a whole other rabbit hole for me to debug!