TixiaoShan / LVI-SAM

LVI-SAM: Tightly-coupled Lidar-Visual-Inertial Odometry via Smoothing and Mapping
https://youtu.be/8CTl07D6Ibc
BSD 3-Clause "New" or "Revised" License
1.52k stars 453 forks source link

lvi_sam_mapOptmization terminated #33

Closed neil45853584 closed 2 years ago

neil45853584 commented 2 years ago

Hello, the LVI_SAM runs normally in the first few times, but I have encountered the following problems in recent times.

How can I solve it?

############################################################################################# stack smashing detected : /home/.../catkin_ws/devel/lib/lvi_sam/lvi_sam_mapOptmization terminated [lvi_sam_mapOptmization-6] process has died [pid 23959, exit code -6, cmd /home/.../catkin_ws/devel/lib/lvi_sam/lvi_sam_mapOptmization name:=lvi_sam_mapOptmization log:=/home/.../.ros/log/7e9a70bc-4752-11ec-87cb-5405dbb6548a/lvi_sam_mapOptmization-6.log]. log file: /home/.../.ros/log/7e9a70bc-4752-11ec-87cb-5405dbb6548a/lvi_sam_mapOptmization-6*.log [lvi_sam_mapOptmization-6] restarting process process[lvi_sam_mapOptmization-6]: started with pid [24765] ##############################################################################################

grandoba commented 2 years ago

I had the same problem and fixed it by following the instructions given by this author on the README.md page when building GTSAM. Having the following cmake arguments solved the problem.

cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.