Skip to content
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

Seg fault constructing tf2_ros::BufferClient with empty pointer #244

Closed
ScottMcMichael opened this issue Mar 17, 2020 · 2 comments
Closed
Assignees

Comments

@ScottMcMichael
Copy link
Contributor

Bug report

Required Info:

  • Operating System: Ubuntu 18.04
  • Installation type: Binary
  • Version or commit hash: Build 1786

Steps to reproduce issue

rclcpp::Node::SharedPtr nh;
tf2_ros::BufferClient client(nh, "client");

Expected behavior

Some sort of error message

Actual behavior

Seg fault

@hidmic
Copy link
Contributor

hidmic commented Mar 30, 2020

This problem isn't actually related to tf2_ros but a result of an incomplete rclcpp API and it not checking for node nullity consistently. See ros2/rclcpp#1035. CC @Karsten1987 .

@hidmic
Copy link
Contributor

hidmic commented Apr 22, 2020

@ScottMcMichael with ros2/rclcpp#1069 in, this is now fixed. Thanks for reporting.

@hidmic hidmic closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants