Structure-PLP-SLAM icon indicating copy to clipboard operation
Structure-PLP-SLAM copied to clipboard

initialization error

Open ZhaoqunZhong opened this issue 1 year ago • 5 comments

Hi,

I tried my own data with this repo, but can't get it pass the initialization phase. The error log is like this:

[2023-06-25 18:12:51.414] [I] initialization succeeded with F
double free or corruption (out)
*** Aborted at 1687687971 (unix time) try "date -d @1687687971" if you are using GNU date ***
PC: @     0x7fc9dd81c00b gsignal
*** SIGABRT (@0x3e800172112) received by PID 1515794 (TID 0x7fc904455700) from PID 1515794; stack trace: ***
    @     0x7fc9df4dc631 (unknown)
    @     0x7fc9df052420 (unknown)
    @     0x7fc9dd81c00b gsignal
    @     0x7fc9dd7fb859 abort
    @     0x7fc9dd86626e (unknown)
    @     0x7fc9dd86e2fc (unknown)
    @     0x7fc9dd86ffa0 (unknown)
    @     0x7fc9dd7360a8 g2o::OptimizableGraph::~OptimizableGraph()
    @     0x7fc9df35577f PLPSLAM::optimize::global_bundle_adjuster::optimize()
    @     0x7fc9df2d0416 PLPSLAM::module::initializer::create_map_for_monocular()
    @     0x7fc9df2d1b9b PLPSLAM::module::initializer::initialize()
    @     0x7fc9df188070 PLPSLAM::tracking_module::initialize()
    @     0x7fc9df18a5ed PLPSLAM::tracking_module::track()
    @     0x7fc9df18affb PLPSLAM::tracking_module::track_monocular_image()
    @     0x7fc9df16a351 PLPSLAM::system::feed_monocular_frame()
    @     0x555890af133f _ZZ13mono_trackingRKSt10shared_ptrIN7PLPSLAM6configEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESC_SC_SC_jbbbSC_ENKUlvE_clEv
    @     0x7fc9ddabede4 (unknown)
    @     0x7fc9df046609 start_thread
    @     0x7fc9dd8f8133 clone
Aborted

Every time it gives a initialization succeedded output, it fails immediately with this error. Also, I already used the g2o version provided in your onedrive link. Any idea what caused the double free and g2o::OptimizableGraph::~OptimizableGraph() error?

THANKS

ZhaoqunZhong avatar Jun 25 '23 10:06 ZhaoqunZhong