-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Segmentation fault when importing tf2_py on MacOS #86
Comments
Can you also post all the packages installed in the environment? |
I've setup a new environment with python 3.8 and installed
|
I suspect what could be happening is somekind of ABI incompatibility or ABI conflict, can you please run this command and report the result?
|
Please see below:
|
The Python bindings do not link anything strange, can you do the same with |
|
Ok, then probably I was wrong, nothing strange appears from that. |
I'm trying to make a fresh install on a linux VM to check if it happens there too. Will post shortly when I'm done. |
Seems to be working fine on Linux.
|
See ros/geometry2#502 for the likely source of the segfault, and #87 for a potential patch. I'll merge this PR once it builds successfully, it would be great if once that's done you could upgrade ros-noetic-tf2-py and try again @sonelu. |
Hi @sonelu - please try whether it works, and feel free to reopen if it doesn't. |
Just as a hint, might need to apply the patch also to the ROS2 stack too. I haven't been running that yet, but I assume the same would happen there. |
Great - would you be happy to create the patch? |
I could try. Two questions:
|
Hi @sonelu
|
Actually, on second inspection the
is still needed. I'll try to setup a ROS2 environment and see if that segmentation fault is thrown with the current code. |
@sonelu you might be aware that we have some initial packages for ors-foxy over at the robostack/ros-foxy repo? They are also on the robostack channel. here is the list of available packages per platform: https://robostack.github.io/foxy.html So you can just run |
PS if you have packages missing for ROS Foxy, we can try to add them. It's the same process as noetic. |
Yes, I was aware of that and that is how I was planning to setup the environment. |
Not sure if this is an issue with the build on RoboStack or an upstream issue, but importing tf2_py issues a "Segmentation fault: 11" message.
MacOS Catalina 10.15.7
Conda: 4.9.2
Python: 3.8.8
steps to reproduce:
packages installed:
The text was updated successfully, but these errors were encountered: