SigDigger
SigDigger copied to clipboard
Runtime crash on macOS after switching SDRs
This is a new crash I've encountered. Steps to reproduce: 1- Connect a SDR (for example a RTL-SDR) and start it in the program and then stop it. 2- Unplug the SDR and connect another SDR (for example an AirSpy) to the same USB plug. 3- Go to View->Devices and refresh, so the new SDR is shown as green in the list. Select it and click on Close. 4- Open the Settings pane. App will crash.
Here's the log:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [81967]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x00007fff65154c92 _platform_strlen + 18
1 libsystem_c.dylib 0x00007fff65003fdf strdup + 18
2 libsuscan.dylib 0x000000010a535a09 suscan_source_gain_desc_new + 233 (source.c:76)
3 libsuscan.dylib 0x000000010a531d1c suscan_source_gain_desc_new_hidden + 44 (source.c:96)
4 libsuscan.dylib 0x000000010a531a75 suscan_source_config_assert_gain + 197 (source.c:981)
5 libsuscan.dylib 0x000000010a531fa7 suscan_source_config_set_gain + 39 (source.c:1030)
6 libsuscan.dylib 0x000000010a532423 suscan_source_config_clone + 499 (source.c:1115)
7 com.yourcompany.SigDigger 0x000000010a07f445 Suscan::Source::Config::operator=(Suscan::Source::Config const&) + 69
8 com.yourcompany.SigDigger 0x000000010a028552 SigDigger::ConfigDialog::setProfile(Suscan::Source::Config const&) + 18
9 com.yourcompany.SigDigger 0x000000010a084578 SigDigger::UIMediator::onTriggerSetup(bool) + 40
Reproduced!