MIT-SPARK / Kimera-RPGO

Robust Pose Graph Optimization
BSD 2-Clause "Simplified" License
474 stars 133 forks source link

Weird inconsistent error when built with march-native in GTSAM #41

Closed yunzc closed 3 years ago

yunzc commented 4 years ago

Hard to reproduce. Sometime I get this when I run make check after building. This usually happens when GTSAM is built with march-native on. But it's also inconsistent as sometimes it's fine and sometimes not.

[ 30%] Built target KimeraRPGO
[ 38%] Built target testLandmark
[ 46%] Built target testLoadGraph
[ 53%] Built target testPcmSimple
[ 61%] Built target testPcm
[ 69%] Built target testPoseWithNode
[ 76%] Built target testTrajectory
[ 84%] Built target testMultiRobot
[ 92%] Built target testPoseWithCovariance
[100%] Built target testPcmDoOptimize
Test project /home/yunchang/Kimera-RPGO/build
    Start 1: testLandmark
1/9 Test #1: testLandmark .....................***Exception: Child aborted  0.11 sec
double free or corruption (out)

    Start 2: testLoadGraph
2/9 Test #2: testLoadGraph ....................***Exception: Child aborted  0.09 sec
double free or corruption (out)

    Start 3: testMultiRobot
3/9 Test #3: testMultiRobot ...................***Exception: Child aborted  0.10 sec
double free or corruption (out)

    Start 4: testPcm
4/9 Test #4: testPcm ..........................***Exception: Child aborted  0.10 sec
double free or corruption (out)

    Start 5: testPcmDoOptimize
5/9 Test #5: testPcmDoOptimize ................***Exception: Child aborted  0.09 sec
double free or corruption (out)

    Start 6: testPcmSimple
6/9 Test #6: testPcmSimple ....................***Exception: Child aborted  0.09 sec
double free or corruption (out)

    Start 7: testPoseWithCovariance
7/9 Test #7: testPoseWithCovariance ...........***Exception: Child aborted  0.09 sec
double free or corruption (out)

    Start 8: testPoseWithNode
8/9 Test #8: testPoseWithNode .................   Passed    0.01 sec
    Start 9: testTrajectory
9/9 Test #9: testTrajectory ...................***Exception: Child aborted  0.10 sec