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

*** stack smashing detected ***: terminated #5

Open
wlt027 opened this issue Jan 25, 2022 · 4 comments
Open

*** stack smashing detected ***: terminated #5

wlt027 opened this issue Jan 25, 2022 · 4 comments

Comments

@wlt027
Copy link

wlt027 commented Jan 25, 2022

Hi,thanks for your open source code!
I found out that this version code has some little problems,I can fix some of them,but I can not fix this one.Here is the issue

*** stack smashing detected **: terminated
[clins_offline_node-2] process has died [pid 16244, exit code -6, cmd /home/wlt027/projects/clins_wlt/devel/lib/clins/clins_offline_node __name:=clins_offline_node __log:=/home/zhihui/.ros/log/fbbc3b14-7de1-11ec-bff4-b92add9b16f4/clins_offline_node-2.log].
log file: /home/zhihui/.ros/log/fbbc3b14-7de1-11ec-bff4-b92add9b16f4/clins_offline_node-2
.log

My environment is Ubuntu20.04,ros noetic,and ceres-solver version is 1.14.0.
This bug comes at first,and I initially locate the problem at there,line 239 in odometry_helper.hpp
// step5: Update trajectory
lidar_odom_->UpdateOdometry();

After step5,this bug comes out

Any suggest about this?

@LetusRoll
Copy link

Hi,guys! I met the same problem.Have you solved it?

@mingloo
Copy link

mingloo commented Jul 19, 2022

@icameling

Could you please help review this issue?

@Yeah2333
Copy link

Yeah2333 commented Aug 3, 2022

In ubuntu18.04, when use gcc-9 and g++-9, this problem can be produce. And change to gcc7 and g++-7 can avoid this problem.

@YXT-yang
Copy link

Hi bro, I encountered the same problem and I've solved it.

  1. Change all occurrences of "pcl_isfinite" to "std::isfinite" in the file <feature_extraction.cpp>.
  2. Change all occurrences of "pcl_isnan" to "std::isnan" in the file <se3_trajectory.hpp>.

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

5 participants