HustCK / RGBD-DSO

This is the RGB-D version of monocular DSO
GNU General Public License v3.0
47 stars 4 forks source link

free(): double free detected in tcache 2 #4

Open JadrianChenson opened 1 year ago

JadrianChenson commented 1 year ago

When I execute dso_dataset with commond " bin/dso_dataset files=~/Dataset/TUM//RGB_D/rgbd_dataset_freiburg2_desk_with_person calib=../calib/TUM2/calib.txt preset=0 mode=1", it report this error: loading data from /home/jadrian/Dataset/TUM//RGB_D/rgbd_dataset_freiburg2_desk_with_person! loading calibration from ../calib/TUM2/calib.txt!

=============== PRESET Settings: =============== DEFAULT settings:

JadrianChenson commented 1 year ago

I have successfully tried DSO in TUM mono dataset, my Software Environment: eigen (3.3.7) libsuitesparse-dev (1:5.7.1+dfsg-2) libboost-all-dev (1.71.0.0ubuntu2) opencv(theses versions: 2.4.9, 2.4.13, 3.4.7, 4.7.0 all have been tried) it still doesn't work

C-H-Chien commented 10 months ago

I have the same issue. Does anyone solve it already?

jsdd25 commented 10 months ago

I have the same issue. Have you solved this problem?

Victorrr1 commented 1 week ago

Here is my solution:

I found that the function inline int getdir (std::string dir, std::vector<std::string> &files, std::vector<std::string> &depthfiles, std::vector<double> &timestamps) has no return value. Add it will be okay.

jixingwu1997 commented 1 week ago

My solution: DatasetReader.h / line51: inline int getdir --> inline void getdir DatasetReader.h / line59: return -1; --> return; It will work well!!