Open doctormin opened 2 months ago
I experience the same issue on MacOS 15.1:
Python 3.12.5 | packaged by conda-forge | (main, Aug 8 2024, 18:32:50) [Clang 16.0.6 ] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import uhd >>> import time >>> usrp = uhd.usrp.MultiUSRP() [INFO] [UHD] Mac OS; Clang version 16.0.6 ; Boost_108400; UHD_4.7.0.0-release python3(33938,0x1f3bd2c40) malloc: error for object 0x1f1ae9cc0: pointer being freed was not allocated python3(33938,0x1f3bd2c40) malloc: set a breakpoint in malloc_error_break to debug zsh: abort python3
Issue Description
I have been successfully using the UHD Python API with USRP devices on macOS. However, recently, after upgrading to the macOS 15.0 developer beta system, my UHD API returns an error when running the following line of code: https://github.com/EttusResearch/uhd/blob/a5ed1872be6d0fc36de9a7e0b508933da1f119bc/host/python/uhd/usrp/multi_usrp.py#L36
The error is as follows:
Setup Details
Host OS: macOS 15.0 Python: 3.12.4 UHD: 4.7.0.0-release
ENV setup: I used miniforge to install gnuradio from conda-forge, which automatically installs Python and UHD. For example, I am currently using the latest version:
Suspecting this bug might be related to the versions of Python and UHD, I tried the following:
mamba install gnuradio=3.10.7
(UHD=4.5.0.0, Python=3.11.9) but encountered the same error.Steps to reproduce the problem
mamba create -n <env_name>
mamba activate <env_name>
mamba install gnuradio
This error will emerge: