AlexandreRouma / SDRPlusPlus

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

In Raspberry Pi 4B/bullseye, start sdrpp error: terminate called after throwing an instance of 'char const*' #1373

Closed bi7jta closed 3 months ago

bi7jta commented 3 months ago

Hello, I got an error when start sdrpp in my RPi 4B/bullseye

terminate called after throwing an instance of 'char const*'

Hardware lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye j-star@openwebrxplus:~ $ uname -a Linux openwebrxplus 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

Software sdrpp_raspios_bullseye_armhf.deb

image

Full logs

sdrpp
[04/04/2024 13:46:43.000] [INFO] SDR++ v1.1.0
[04/04/2024 13:46:43.000] [INFO] Loading config
[04/04/2024 13:46:43.000] [WARN] ConfigManager locked, waiting...
[04/04/2024 13:46:44.000] [ERROR] Glfw Error 65543: GLX: Failed to create context: GLXBadFBConfig
[04/04/2024 13:46:44.000] [INFO] OpenGL 3.0 was not supported
[04/04/2024 13:46:44.000] [INFO] Using OpenGL 3.1 ES
[04/04/2024 13:46:45.000] [INFO] Loading icons
[04/04/2024 13:46:45.000] [INFO] Loading band plans
[04/04/2024 13:46:45.000] [INFO] Loading band plans color table
[04/04/2024 13:46:45.000] [ERROR] Menu element is missing name key
[04/04/2024 13:46:45.000] [INFO] Loading modules
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/radio.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/frequency_manager.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/scanner.so
[04/04/2024 13:46:45.000] [WARN] ConfigManager locked, waiting...
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/rfspace_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/new_portaudio_sink.so
[04/04/2024 13:46:45.000] [ERROR] Couldn't load /usr/lib/sdrpp/plugins/new_portaudio_sink.so: libportaudio.so.2: cannot open shared object file: No such file or directory
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/usrp_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/soapy_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/perseus_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/sdrpp_server_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/sdrplay_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/rigctl_client.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/rtl_sdr_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/airspyhf_source.so
[04/04/2024 13:46:45.000] [ERROR] Couldn't load /usr/lib/sdrpp/plugins/airspyhf_source.so: libairspyhf.so.1: cannot open shared object file: No such file or directory
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/airspy_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/spectran_http_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/file_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/plutosdr_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/hackrf_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/audio_sink.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/meteor_demodulator.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/rtl_tcp_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/network_sink.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/m17_decoder.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/recorder.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/spyserver_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/discord_integration.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/hermes_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/rigctl_server.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/audio_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/bladerf_source.so
[04/04/2024 13:46:45.000] [INFO] Loading /usr/lib/sdrpp/plugins/limesdr_source.so
[04/04/2024 13:46:45.000] [INFO] Initializing Airspy Source (airspy_source)
[04/04/2024 13:46:45.000] [INFO] Initializing AirspyHF+ Source (airspyhf_source)
[04/04/2024 13:46:45.000] [ERROR] Module 'airspyhf_source' doesn't exist
[04/04/2024 13:46:45.000] [INFO] Initializing Audio Sink (audio_sink)
[04/04/2024 13:46:45.000] [INFO] Initializing Audio Source (audio_source)
[04/04/2024 13:46:45.000] [INFO] New DSP samplerate: 48000.000000 (source samplerate is 48000.000000)
[04/04/2024 13:46:45.000] [INFO] Initializing BladeRF Source (bladerf_source)
[04/04/2024 13:46:45.000] [ERROR] Could not list devices -7
[04/04/2024 13:46:45.000] [INFO] Initializing File Source (file_source)
[04/04/2024 13:46:45.000] [INFO] Initializing Frequency Manager (frequency_manager)
[04/04/2024 13:46:45.000] [INFO] Initializing HackRF Source (hackrf_source)
[04/04/2024 13:46:45.000] [INFO] Initializing Hermes Source (hermes_source)
[04/04/2024 13:46:45.000] [INFO] Initializing LimeSDR Source (limesdr_source)
[04/04/2024 13:46:45.000] [INFO] Initializing Network Sink (network_sink)
[04/04/2024 13:46:45.000] [INFO] Initializing PerseusSDR Source (perseus_source)
perseus: perseus_init()
perseus: Executable: /usr/local/lib/libperseus-sdr.so.0
perseus: path: [/usr/local/lib/] name: [libperseus-sdr.so.0]
perseus: Found device with VID/PID 1D6B:0003 on BUS2 ADDR1
perseus: Found device with VID/PID 0BDA:2838 on BUS1 ADDR5
perseus: Found device with VID/PID 0D8C:000C on BUS1 ADDR4
perseus: Found device with VID/PID 1DF7:2500 on BUS1 ADDR6
perseus: Found device with VID/PID 2109:3431 on BUS1 ADDR2
perseus: Found device with VID/PID 1D6B:0002 on BUS1 ADDR1
[04/04/2024 13:46:45.000] [INFO] Initializing PlutoSDR Source (plutosdr_source)
[04/04/2024 13:46:46.000] [INFO] Initializing RFspace Source (rfspace_source)
[04/04/2024 13:46:46.000] [INFO] Initializing RTL-SDR Source (rtl_sdr_source)
Found Fitipower FC0012 tuner
[04/04/2024 13:46:46.000] [INFO] Initializing RTL-TCP Source (rtl_tcp_source)
[04/04/2024 13:46:46.000] [INFO] Initializing Radio (radio)
[Resamp] predec: 0, interp: 25, decim: 6, inacc: 0.000000%, taps: 1900
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[Resamp] predec: 32, interp: 5000, decim: 7813, inacc: 0.000000%, taps: 593750
[Resamp] predec: 0, interp: 125, decim: 24, inacc: 0.000000%, taps: 9500
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[04/04/2024 13:46:47.000] [WARN] Demod switch took 191473 us
[04/04/2024 13:46:47.000] [INFO] RtAudio stream open
[04/04/2024 13:46:47.000] [INFO] Initializing Recorder (recorder)
[04/04/2024 13:46:47.000] [INFO] Initializing Rigctl Server (rigctl_server)
[04/04/2024 13:46:47.000] [INFO] Initializing SDR++ Server Source (sdrpp_server_source)
[04/04/2024 13:46:47.000] [INFO] Initializing SDRplay Source (sdrplay_source)
[04/04/2024 13:46:47.000] [INFO] New DSP samplerate: 2000000.000000 (source samplerate is 2000000.000000)
[04/04/2024 13:46:48.000] [INFO] Initializing SoapySDR Source (soapy_source)
[INFO] [UHD] linux; GNU C++ version 10.2.0; Boost_107100; UHD_3.15.0.0-4
Found Fitipower FC0012 tuner
[INFO] SoapyRadioberry::SoapyRadioberry  constructor called
terminate called after throwing an instance of 'char const*'
AlexandreRouma commented 3 months ago

it's in soapyradioberry, not SDR++, can't help. Debug the issue with the soapysdr tools.

bi7jta commented 3 months ago

it's in soapyradioberry, not SDR++, can't help. Debug the issue with the soapysdr tools.

Hi ,

thank you for quick response , I am sure I download from your github release, I add it to my customized RPi OS,

Download from https://github.com/AlexandreRouma/SDRPlusPlus/

I have solved it by delete the segment in

/home/pi/.config/sdrpp 

        "SoapySDR Source": {
            "enabled": true,
            "module": "soapy_source"
        },

Also follow your answer: https://github.com/AlexandreRouma/SDRPlusPlus/issues/1198

Thank you for you help.

image