You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
[INFO] [UHD] Mac OS; Clang version 16.0.6 ; Boost_108400; UHD_4.7.0.0-release
python(28956,0x1f0f218c0) malloc: *** error for object 0x1eee29cc0: pointer being freed was not allocated
python(28956,0x1f0f218c0) malloc: *** set a breakpoint in malloc_error_break to debug
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
Prepare a host with macOS 15.0
install miniforge
mamba create -n <env_name>
mamba activate <env_name>
mamba install gnuradio
Write a python script to evoke UHD API:
importuhdimporttimeusrp=uhd.usrp.MultiUSRP()
This error will emerge:
The text was updated successfully, but these errors were encountered:
doctormin
changed the title
Error in macOS15.0 : pointer being freed was not allocated
Error in macOS 15.0 : pointer being freed was not allocated
Aug 2, 2024
doctormin
changed the title
Error in macOS 15.0 : pointer being freed was not allocated
[UHD Python API] Error in macOS 15.0: pointer being freed was not allocated
Aug 2, 2024
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:
uhd/host/python/uhd/usrp/multi_usrp.py
Line 36 in a5ed187
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:
The text was updated successfully, but these errors were encountered: