-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Dear code gurus,
I built ScaViSLAM without GPU by cmake and make, and tested it on new college. But after processing a couple of frames, this error pop out and kills the program.
*** Error in `./stereo_slam': free(): invalid pointer: 0x000000000fdbd3ec ***
Aborted (core dumped)"
Then I built ScaViSLAM with Qt, again tested it on new college dataset. Invoking it in terminal like: ./stereo_slam ../data/newcollege.cfg, it played without any problem after pressing the play button. Although it is much slower (0.5 fps) than that built with make (3 fps), the resultant trajectory for new college dataset looked great. However, when the program window was closed, a segmentation fault was reported on the terminal. Using Qt to debug this error, the calling stack is shown in the attached picture.

Do you have any idea where this segmentation fault come from? Only a few possible culprits, I believe, (1)pangolin views, (2) frontend, file_grabber, (3) backend, (4) place_recognizer
I am going to spend a few days editing ScaViSLAM to make sure all allocated memory is properly released. If anyone could cut this debugging time down, I would be so obliged.