gaoxiang12 / slambook2

edition 2 of the slambook
MIT License
5.39k stars 2k forks source link

Ch0 #225

Open dwindy opened 2 years ago

dwindy commented 2 years ago
/home/xin/Desktop/playground/G2OPoseGraph/cmake-build-debug/pose_graph_g2o_SE3 /home/xin/Desktop/playground/G2OPoseGraph/sphere.g2o
vertexCnt 1
Signal: SIGSEGV (Segmentation fault)

Process finished with exit code 1

debug模式看了一下,while循环读取sphere.g2o时,添加了一个SE3顶点之后,再次执行 g2o::VertexSE3 *v = new g2o::VertexSE3(); 时报错。

请问这是什么情况? thanks in advance