bijustin / Fast-Dynamic-ORB-SLAM

Other
55 stars 5 forks source link

double free or corruption(!prev) #2

Open BloodLemonS opened 2 years ago

BloodLemonS commented 2 years ago

double free or corruption (!prev) 已放弃 (核心已转储) What is the cause of the above running problem when I run it and how can I fix it?

hongjiehe223 commented 10 months ago

hello,I encountered the same problem and I have already solved it. you should add “return true ” in the end of bool DynPointFinder::findOutliers(Frame *pFrame, cv::Mat &imGray, vector &scaleFactors, int nlevels) {} 确保返回值类型为非void的[函数]均含有 return 语句,否则将该函数的返回值类型改为void类型