Skip to content

segmentation fault when run ./testKimeraVIO #244

@PengZai

Description

@PengZai

Description:
I'didn't recive any error when I build the code, 100% at the end.
but I got a segmentation fault when I test testKimeraVIO
I don't know how to do, help me?

do anyone try a successful version or combination of it? please tell me.

Command:

cd build
./testKimeraVIO

Console output:

[       OK ] LCDFixture.processAndAddMonoFrame (208 ms)
[ RUN      ] LCDFixture.processAndAddStereoFrame
I1209 21:14:52.626020 296818 LoopClosureDetector.cpp:70] LoopClosureDetector:: Loading vocabulary from ../tests/data/ForLoopClosureDetector/small_voc.yml.gz
I1209 21:14:52.630760 296818 LoopClosureDetector.cpp:73] Loaded vocabulary with 692 visual words.
I1209 21:14:52.856899 296818 LoopClosureDetector.cpp:194] LoopClosureDetector desctuctor called.
I1209 21:14:52.856983 296818 LcdThirdPartyWrapper.cpp:66] LcdThirdPartyWrapper desctuctor called.
[       OK ] LCDFixture.processAndAddStereoFrame (244 ms)
[ RUN      ] LCDFixture.geometricVerificationCam2d2d
I1209 21:14:52.868907 296818 LoopClosureDetector.cpp:70] LoopClosureDetector:: Loading vocabulary from ../tests/data/ForLoopClosureDetector/small_voc.yml.gz
I1209 21:14:52.873562 296818 LoopClosureDetector.cpp:73] Loaded vocabulary with 692 visual words.
I1209 21:14:53.042711 296818 LoopClosureDetector.cpp:70] LoopClosureDetector:: Loading vocabulary from ../tests/data/ForLoopClosureDetector/small_voc.yml.gz
I1209 21:14:53.047205 296818 LoopClosureDetector.cpp:73] Loaded vocabulary with 692 visual words.
I1209 21:14:53.047345 296818 LoopClosureDetector.cpp:194] LoopClosureDetector desctuctor called.
I1209 21:14:53.047386 296818 LcdThirdPartyWrapper.cpp:66] LcdThirdPartyWrapper desctuctor called.
**Segmentation fault (core dumped)**

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

Please give also the following information:

  • Kimera-Vio branch, tag or commit used: master
  • GTSAM version used: 4.2
  • OpenGV version used: just clone from the source code but didn't change, that is master branch
  • OpenCV version used: type opencv_version: 3.4.0
  • Operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 20.04
  • Did you change the source code? (yes / no): yes
    I add #include <opencv2/viz.hpp> in include/frontend/Camera.h for solve some error during build
    I change all "Tracker" to "VIO::Tracker" in tests/testTracker.cpp for solving the definition of ambiguity, since there is a lib named Tracker in Opencv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions