MIT-SPARK / Kimera-VIO

Visual Inertial Odometry with SLAM capabilities and 3D Mesh generation.
BSD 2-Clause "Simplified" License
1.56k stars 418 forks source link

double free or corruption (out) Aborted(core dumped) when running stereoVIOEuroc.bash #202

Closed ujasmandavia closed 1 year ago

ujasmandavia commented 1 year ago

Description: double free or corruption (out) ./scripts/stereoVIOEuroc.bash: line 109: 1707011 Aborted (core dumped)

I'm getting this error while running stereoVIOEuroc.bash. I have changed the GTSAM syntax at certain place since I'm using the 4.2 version of GTSAM but I'm able to compile the code perfectly

Command:

bash ./scripts/stereoVIOEuroc.bash -p /home/ujas/Euroc/V1_01_easy

Console output:


double free or corruption (out)
./scripts/stereoVIOEuroc.bash: line 109: 1707011 Aborted                 (core dumped) $BUILD_PATH/stereoVIOEuroc --dataset_type="$DATASET_TYPE" --dataset_path="$DATASET_PATH" --initial_k=50 --final_k=10000 --params_folder_path="$PARAMS_PATH" --use_lcd="$USE_LCD" --vocabulary_path="$VOCABULARY_PATH/ORBvoc.yml" --flagfile="$PARAMS_PATH/flags/stereoVIOEuroc.flags" --flagfile="$PARAMS_PATH/flags/Mesher.flags" --flagfile="$PARAMS_PATH/flags/VioBackend.flags" --flagfile="$PARAMS_PATH/flags/RegularVioBackend.flags" --flagfile="$PARAMS_PATH/flags/Visualizer3D.flags" --logtostderr=1 --colorlogtostderr=1 --log_prefix=1 --v=0 --vmodule=Pipeline*=00 --log_output="$LOG_OUTPUT" --log_euroc_gt_data="$LOG_OUTPUT" --save_frontend_images=1 --visualize_frontend_images=1 --output_path="$OUTPUT_PATH"

Additional files: Please attach all the files needed to reproduce the error.

Please give also the following information:

bundle-adjuster commented 1 year ago

Me as well. I had followed exactly what was given. The issue also crops up when building the tests. Not sure exactly which test build fails but the same error crops up.

bundle-adjuster commented 1 year ago

The issue got fixed with the following commits and adding the following dependencies.

Gtsam - 686e16aaa Note: Install libmetis-dev along with libboost-all-dev

Opencv - tags/3.3.1 Note: opencv_contrib takes same commit

RPGO - 8c5e163

I guess the issue crops up if you don't have libmetis installed.

marcusabate commented 1 year ago

Closing because appears resolved, feel free to reopen if this is not the case.