You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread 1 "sg_slam_tum" received signal SIGSEGV, Segmentation fault.
0x00007ffff3a11518 in g2o::EdgeSE3ProjectXYZOnlyPose::linearizeOplus() ()
from /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so
(gdb) bt
#0 0x00007ffff3a11518 in g2o::EdgeSE3ProjectXYZOnlyPose::linearizeOplus() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so #1 0x00007ffff7723088 in g2o::BlockSolver<g2o::BlockSolverTraits<6, 3> >::buildSystem() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #2 0x00007ffff3a561c9 in g2o::OptimizationAlgorithmLevenberg::solve(int, bool) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so #3 0x00007ffff3a4ec3c in g2o::SparseOptimizer::optimize(int, bool) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so #4 0x00007ffff76fba4d in ORB_SLAM2::Optimizer::PoseOptimization(ORB_SLAM2::Frame*) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #5 0x00007ffff76b12ee in ORB_SLAM2::Tracking::TrackReferenceKeyFrame() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #6 0x00007ffff76b58c5 in ORB_SLAM2::Tracking::Track() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #7 0x00007ffff76b6695 in ORB_SLAM2::Tracking::GrabImageRGBD(cv::Mat const&, cv::Mat const&, double const&) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #8 0x00007ffff769e729 in ORB_SLAM2::System::TrackRGBD(cv::Mat const&, cv::Mat const&, double const&) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so #9 0x0000555555564747 in main ()
The text was updated successfully, but these errors were encountered:
作者你好,我在最后一步运行时出现 Segmentation fault 问题,我已经将第三方库和主目录下的 -march=native 去掉了,但还是报错,同时我运行了 原有的ORB-SLAM2,发现没有这个问题,用gdb调试后发现错误出现在 g2o部分,虽有已经看到有人提过这个问题了,但自己尝试后依然无法解决,想问下应该怎么解决?
Thread 1 "sg_slam_tum" received signal SIGSEGV, Segmentation fault.
0x00007ffff3a11518 in g2o::EdgeSE3ProjectXYZOnlyPose::linearizeOplus() ()
from /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so
(gdb) bt
#0 0x00007ffff3a11518 in g2o::EdgeSE3ProjectXYZOnlyPose::linearizeOplus() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so
#1 0x00007ffff7723088 in g2o::BlockSolver<g2o::BlockSolverTraits<6, 3> >::buildSystem() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#2 0x00007ffff3a561c9 in g2o::OptimizationAlgorithmLevenberg::solve(int, bool) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so
#3 0x00007ffff3a4ec3c in g2o::SparseOptimizer::optimize(int, bool) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/Thirdparty/g2o/lib/libg2o.so
#4 0x00007ffff76fba4d in ORB_SLAM2::Optimizer::PoseOptimization(ORB_SLAM2::Frame*) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#5 0x00007ffff76b12ee in ORB_SLAM2::Tracking::TrackReferenceKeyFrame() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#6 0x00007ffff76b58c5 in ORB_SLAM2::Tracking::Track() ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#7 0x00007ffff76b6695 in ORB_SLAM2::Tracking::GrabImageRGBD(cv::Mat const&, cv::Mat const&, double const&) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#8 0x00007ffff769e729 in ORB_SLAM2::System::TrackRGBD(cv::Mat const&, cv::Mat const&, double const&) ()
at /home/zhu/SlamProjects/Openloris-Scene/SG-SLAM/src/sg-slam/lib/libsg-slam.so
#9 0x0000555555564747 in main ()
The text was updated successfully, but these errors were encountered: