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

segmentation fault error #36

Closed
Lee0326 opened this issue Jul 19, 2020 · 3 comments
Closed

segmentation fault error #36

Lee0326 opened this issue Jul 19, 2020 · 3 comments

Comments

@Lee0326
Copy link

Lee0326 commented Jul 19, 2020

The change in the pr #4 has been done to build it under Ubuntu 18.04. The segmentation fault error occurs when I set the 2D nav goal in rviz:

Stack trace (most recent call last):
#4 Object "[0x7ffe7d4eb93f]", at 0x7ffe7d4eb93f, in
#3 Object "/home/colin/Repos/catkin_fast_planner/devel/lib/libpath_searching.so", at 0x7ff6fd00cf82, in
#2 Object "/lib/x86_64-linux-gnu/libgcc_s.so.1", at 0x7ff6fab22d06, in _Unwind_Resume
#1 Object "/lib/x86_64-linux-gnu/libgcc_s.so.1", at 0x7ff6fab223e5, in
#0 Object "/lib/x86_64-linux-gnu/libgcc_s.so.1", at 0x7ff6fab21f34, in
Segmentation fault (Signal sent by the kernel [(nil)])
[fast_planner_node-1] process has died [pid 19276, exit code -11, cmd /home/colin/Repos/catkin_fast_planner/devel/lib/plan_manage/fast_planner_node /odom_world:=/state_ukf/odom /sdf_map/odom:=/state_ukf/odom /sdf_map/cloud:=/pcl_render_node/cloud /sdf_map/pose:=/pcl_render_node/camera_pose /sdf_map/depth:=/pcl_render_node/depth __name:=fast_planner_node __log:=/home/colin/.ros/log/5440e0a2-c9e1-11ea-980d-802bf9e83091/fast_planner_node-1.log].
log file: /home/colin/.ros/log/5440e0a2-c9e1-11ea-980d-802bf9e83091/fast_planner_node-1*.log

Does anyone has this problem? Thanks a lot

@ZbyLGsc ZbyLGsc closed this as completed Nov 2, 2020
@nikola-j
Copy link

Hi @Lee0326, I've solved this same problem by changing my gcc/g++ version from 8 to 7

@Lee0326
Copy link
Author

Lee0326 commented Jan 1, 2021

Hi @Lee0326, I've solved this same problem by changing my gcc/g++ version from 8 to 7

It works! Thanks a lot

@chengyh23
Copy link

Hi @Lee0326, I've solved this same problem by changing my gcc/g++ version from 8 to 7

It works! (change g++/gcc version from 9 to 5)
Thank you very much. how did you find this solution?

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

4 participants