cjcliffe/CubicSDR

Application Crashes on M1 Mac after SDR Selection

AlexFWulff opened this issue · 0 comments

I was able to compile CubicSDR on the most recent commit with minimal hassle (just the usual homebrew path shenanigans). I also installed BladeRF support. When I open CubicSDR, the SDR selection dialog works and I can see the BladeRF. When I click start, the app crashes. Here's my lldb output:

Process 90454 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x00000001000bdd38 CubicSDR`SDRDevicesDialog::OnUseSelected(wxMouseEvent&) + 984
CubicSDR`SDRDevicesDialog::OnUseSelected:
->  0x1000bdd38 <+984>: ldr    x8, [x25]
    0x1000bdd3c <+988>: ldr    x9, [x8, #0xc0]
    0x1000bdd40 <+992>: add    x8, sp, #0x90
    0x1000bdd44 <+996>: mov    x0, x25
Target 0: (CubicSDR) stopped.