-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Foxy]ros2 topic echo/hz
causes segment fault.
#49
Comments
ros2 topic echo/hz
causes segment fault.
@ZhenshengLee were you able to check whether this works? https://answers.ros.org/question/384441/how-to-debug-rmw-segfaults-launched-by-ros2cli-like-ros2-topic-echo/?answer=384845#post-id-384845 |
@ZhenshengLee Can you double check if this problem in your setup is fixed or persists after #70 has been merged? Thanks! |
ros2 topic echo/hz
causes segment fault.ros2 topic echo/hz
causes segment fault.
I am happy to do so, but #70 is for #57 and #69 , especially in galactic branch.
There is nothing wrong in the foxy branch of this function, see
This issue was created when I will give it a test in foxy branch with @christophebedard method, but it will not be a double-check. |
Edit: A fast way to reproduce this bug it to ros2 launch velodyne_description example.launch.py
ros2 topic echo /tf_static And you will see Log level set to: [Warning]
Segmentation fault (core dumped) |
@christophebedard your method works on vscode! Thank you very much. the launch file in vscode is like the following. {
"name": "zs: gdbrun ros2",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/python3",
"args": [
"/opt/ros/foxy/bin/ros2",
"topic",
"echo",
"/tf_static"
],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [
{
"name": "RMW_IMPLEMENTATION",
// "value": "rmw_fastrtps_cpp"
// "value": "rmw_ecal_proto_cpp"
"value": "rmw_iceoryx_cpp"
}
],
"externalConsole": false,
// "preLaunchTask": "source_ros2_ws",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}, |
Env
Observed
Expected
ros2 topic echo /tf
run without errorComment
the following commands also cause segfault.
ros2 topic hz /tf
ros2 topic hz /tf_static
ros2 topic hz /rslidar_points
lgsvl may not be needed to reproduce the behavior.
Originally posted by @ZhenshengLee in #42 (comment)
The text was updated successfully, but these errors were encountered: