Michael Carroll
Michael Carroll
Thanks for isolating the area where the segfault is coming from! is `target_c_str()` or `mock_type` null at this point?
@jmachowinski friendly ping. What would you like to do with this?
> shared_ptr wasn't used here. So this problem occurs. I have an update in flight to the executors that should make the handling of the guard conditions more thread-safe. I...
In the new executor structures (https://github.com/ros2/rclcpp/pull/2143/files), I have worked around this by making the node return a `rclcpp::GuardCondition::SharedPtr`, which makes it more consistent with the `CallbackGroup` API. These guard conditions...
What is the output of `python3 -VV` ?
Ah, I didn't read closely enough, this is likely the culprit: ``` ImportError: librcl_action.so: cannot open shared object file: No such file or directory ``` Do you have `ros-humble-rcl-action` installed?...
I'm not seeing anything obvious. Can you also run `ldd /opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/_rclpy_pybind11.cpython-310-x86_64-linux-gnu.so`
I'm pretty stumped here. I suppose as a next step, you could look at each of the dependent shared libraries and make sure that they can correctly resolve their dependencies...
Thanks for reporting, and the initial investigation. I think that this is relatively consistent across the uses of `rclpy`. I believe I have some time to look into this in...
After some inspection, here are some (unordered) thoughts about what is going on here. `rqt` installs a global signal handler as part of the `rclcpp::init` call in `RosCppPluginProvider`: https://github.com/ros-visualization/rqt/blob/568d8fa2d971698a5dea0fb678448f7bd5d0c5e5/rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.cpp#L93-L97 The...