I have recently compiled from GIT CubicSDR so it would be able to use the BladeRF unit that I got the other day. Unfortunately, it crashes right when I click the start button. When opening the application, the main window appears and then the add source dialogue. It does locate my BladeRF. I select it and press "start" and then boom. Based on the MacOS crash report, it looks like there is a null dereference occurring somewhere. I should highlight that I am able to use sdrpp with the same device and it works ok. I should also highlight that I am able to use the RTLSDR with this compiled version of CubicSDR. So, it is something specific with the interaction of CubicSDR and the BladeRF, potentially via Soapy?.
System Versions
Component
Version
MacOS
12.4 (Monterey)
CubicSDR
GIT (ba7a35c, Tag: 0.2.7)
wxWidgets
3.2.0 (via brew)
Soapy
0.8.1 (via brew)
SoapyBladeRF
GIT (85f6dc, master)
bladeRF
GIT (210841, master)
MacOS Crash Report Excerpt
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Console Output
CubicSDR/build on master via △ v3.23.2 took 12s
❯ ./x64/CubicSDR
Loading:: configuration file '/Users/XXXXX/Library/Application Support/CubicSDR/config.xml'
Audio Device #0 Apple Inc.: MacBook Pro Microphone
Default Output? No
Default Input? Yes
Input channels: 1
Output channels: 0
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
Audio Device #1 Apple Inc.: MacBook Pro Speakers
Default Output? Yes
Default Input? No
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
Audio Device #2 ma++ ingalls for Cycling '74: Soundflower (2ch)
Default Output? No
Default Input? No
Input channels: 2
Output channels: 2
Duplex channels: 2
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz
Audio Device #3 ma++ ingalls for Cycling '74: Soundflower (64ch)
Default Output? No
Default Input? No
Input channels: 64
Output channels: 64
Duplex channels: 64
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz
Audio Device #4 Apple Inc.: Multi-Output Device
Default Output? No
Default Input? No
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz
SDR enumerator starting.
SoapySDR init..
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Loading modules...
Available factories...bladerf, null, rtlsdr
backend = libusb
device = 0x01:0x0E
driver = bladerf
instance = 0
label = BladeRF #0 [7fd192f1..b4c2c9da]
serial = 7fd192f15be34a9e866b52c8b4c2c9da
Make device 0
[INFO] bladerf_open_with_devinfo()
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono12_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono16_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono18_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono24_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono27_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono32_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/Users/XXXXX/Source/CubicSDR/build/x64/fonts/vera_sans_mono36_0.png', parsed 255 characters.
[INFO] bladerf_get_serial() = 7fd192f15be34a9e866b52c8b4c2c9da
[INFO] setSampleRate(Rx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Tx, 0, 4.000000 MHz), actual = 4.000000 MHz
fpga_size=49
fpga_version=0.14.0
fw_version=2.4.0-git-a3d5c55f
serial=7fd192f15be34a9e866b52c8b4c2c9da
[INFO] bladerf_close()
Reporting enumeration complete.
SDR enumerator done.
[INFO] bladerf_open_with_devinfo()
[INFO] bladerf_get_serial() = 7fd192f15be34a9e866b52c8b4c2c9da
[INFO] setSampleRate(Rx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Tx, 0, 4.000000 MHz), actual = 4.000000 MHz
Segmentation fault: 11
I have recently compiled from GIT CubicSDR so it would be able to use the BladeRF unit that I got the other day. Unfortunately, it crashes right when I click the start button. When opening the application, the main window appears and then the add source dialogue. It does locate my BladeRF. I select it and press "start" and then boom. Based on the MacOS crash report, it looks like there is a null dereference occurring somewhere. I should highlight that I am able to use
sdrpp
with the same device and it works ok. I should also highlight that I am able to use the RTLSDR with this compiled version ofCubicSDR
. So, it is something specific with the interaction ofCubicSDR
and theBladeRF
, potentially viaSoapy
?.System Versions
MacOS Crash Report Excerpt
Console Output
MacOS Crash Report