-
Notifications
You must be signed in to change notification settings - Fork 10
SDR++ crashes on start with Fobos SDR attached #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To check the Fobos SDR device API library operation please use fobos_devinfo utility from the current repo. Please read README carefully and follow all the instructions. All issues related to Alexandre Rouma SDR++ as well ass his fobossdr_source please report to him. All issues related to libusb please report to https://github.com/libusb/libusb Actually your sdrpp segfaulted at hackrf_source initialization |
Please read my report carefully.
And please read SDR++ author response as well, AlexandreRouma/SDRPlusPlus#1600.
With HackRF attached, SDR++ doesn't crash during initialization of LimeSDR plugin. It's the next plugin that depends on |
These erroneous references to devices prevented further usage of libusb on macOS A bunch of the following errors were reported during call to libusb_exit() > libusb: error [darwin_cleanup_devices] device still referenced at libusb_exit The next call to libusb_init() failed with the following error > libusb: error [darwin_first_time_init] libusb_device reference not released on last exit. will not continue To reproduce the issue, it's enough to add the second call to get_devinfo() function to fobos_devinfo_main.c Without this change, the second enumeration could not find any devices with FobosSDR connected Fix rigexpert#19
The issue was reported in AlexandreRouma/SDRPlusPlus#1600 initially, but it was closed with suggestion to report it here.
Hardware
Software
Bug Description
Attempt to start SDR++ on macOS with Fobos SDR attached crashes during initialization.
If device is connected when SDR++ is already running, everything works correctly.
Steps To Reproduce
Only If SDR++ fails to lauch or the SDR fails to start:
Screenshots
N/A
Additional info
Here is a stack trace from LLDB
Renaming
hackrf_source.dylib
allows loading of modules to proceed a bit further, but still crashes.For some reason,
libusb
context isnullptr
in both cases. It seems like Fobos SDR device enumeration breaks initialization process of source module that depends onlibusb
(when other module is loaded after Fobos SDR one, and Fobos SDR device is connected when its enumeration happens).The text was updated successfully, but these errors were encountered: