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

有大佬知道为什么跑第四个例子时候,运行online_demo和fast-lio2,再play bag包时候出现process has died [pid 229204, exit code -11,进程崩了 #31

Open
wangxinchengg opened this issue Jan 10, 2024 · 16 comments

Comments

@wangxinchengg
Copy link

有大佬知道为什么跑第四个例子时候,运行online_demo和fast-lio2,再play bag包时候出现process has died [pid 229204, exit code -11,进程崩了

@123456zhi
Copy link

有大佬知道为什么跑第四个例子时候,运行online_demo和fast-lio2,再play bag包时候出现process has died [pid 229204, exit code -11,进程崩了

https://blog.csdn.net/lalsd/article/details/121916119
你看一下这篇,可以解决

@wangxinchengg
Copy link
Author

还是不行

@123456zhi
Copy link

还是不行
我报错的紧挨着的上面是这个信息,你可以看看你的是什么,搜一下
error while loading shared libraries: libmetis.so: cannot open shared object file: No such file or directory

@PanWenbo
Copy link

我是运行rosbag play building_slower_motion_avia.bag后,在运行demo_online.launch的终端报以下错误,有大佬知道怎么解决吗?
[online_demo-2] process has died [pid 6661, exit code -11, cmd /home/panwb/STD/ws/devel/lib/std_detector/online_demo __name:=online_demo __log:=/home/panwb/.ros/log/a396bff2-0086-11ef-b673-e77abc427f92/online_demo-2.log].
log file: /home/panwb/.ros/log/a396bff2-0086-11ef-b673-e77abc427f92/online_demo-2*.log

@rmt000901
Copy link

请问你解决了吗

@maomao0220
Copy link

请问你解决了吗? @PanWenbo

@PanWenbo
Copy link

还没有解决,若是解决了我们都分享下经验

@maomao0220
Copy link

重新装了一遍gtsam,解决

@rmt000901
Copy link

重新装了一遍gtsam,解决

什么版本的呀

@maomao0220
Copy link

我装的4.1.1

@PanWenbo
Copy link

我装的gtsam-4.0.3,采用以下方法解决的
https://blog.csdn.net/weixin_40324045/article/details/121284253

@rmt000901
Copy link

我装的gtsam-4.0.3,采用以下方法解决的 https://blog.csdn.net/weixin_40324045/article/details/121284253

请问您参照这篇文章中的什么了呀,我试了一下还是报错

@rmt000901
Copy link

重新装了一遍gtsam,解决

重装了几遍还是不行啊

@PanWenbo
Copy link

如果要运行LIO-SAM还要加上-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF,也就是:
cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF -DGTSAM_WITH_EIGEN_MKL=OFF -DGTSAM_WITH_EIGEN_MKL_OPENMP=OFF ..

@Dumb6
Copy link

Dumb6 commented Nov 4, 2024

还是没有解决@PanWenbo 您是重新安装库解决的么

@TerryLSR
Copy link

TerryLSR commented Nov 12, 2024

本人ubuntu20.04,在运行第四个例子时也会挂死,排查有两个原因

  1. eigen版本对应的写法问题,在 pose_vec.push_back(pose) 的时候挂死;eigen的官方说明,虽然cmakelist指定了c++14,但确实是此处挂死问题
    image

将对应的定义和函数修改即可
std::vector<Eigen::Affine3d, Eigen::aligned_allocatorEigen::Affine3d > pose_vec;
std::vector<Eigen::Affine3d, Eigen::aligned_allocatorEigen::Affine3d > origin_pose_vec;
std::vector<Eigen::Affine3d, Eigen::aligned_allocatorEigen::Affine3d > key_pose_vec;

2.gtsam在update函数挂死,怀疑是编译库4.1.1时开启了某些配置(严重怀疑是tbb)。在用cmake编译安装gtsam时,使用下述命令即可
cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF -DGTSAM_WITH_EIGEN_MKL=OFF -DGTSAM_WITH_EIGEN_MKL_OPENMP=OFF -DGTSAM_WITH_TBB=OFF ..

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

7 participants