pothosware / SoapyUHD

Soapy SDR plugins for UHD supported SDR devices
https://github.com/pothosware/SoapyUHD/wiki
GNU General Public License v3.0
55 stars 29 forks source link

libuhd 4.0 + Soapy 0.4.2 causes segfault when getting the device tree #38

Closed crroush closed 4 years ago

crroush commented 4 years ago

The various calls to uhd::property_tree::sptr tree = _dev->get_device()->get_tree(); returns a null shared pointer with X300. Changing the call to be _dev->get_tree() resolves the issue.

guruofquality commented 4 years ago

Could I get a PR for the change?