frobelbest / GSLAM

Source Code for the 3dv2017 paper GSLAM: Initialization-robust Monocular Visual SLAM via Global Structure-from-Motion
201 stars 48 forks source link

malloc: *** set a breakpoint in malloc_error_break to debug #8

Open match08 opened 4 years ago

match08 commented 4 years ago

GSLAM(49030,0x1005b6dc0) malloc: error for object 0x3fefef5584e87731: pointer being freed was not allocated GSLAM(49030,0x1005b6dc0) malloc: set a breakpoint in malloc_error_break to debug

match08 commented 4 years ago

std::cout<<"theia rotation start"<<std::endl; rotation_estimator.EstimateRotations(view_pairs,&orientations); std::cout<<"theia rotation finished"<<std::endl;

for (int i=0;i<newRotations.size();i++) { ceres::AngleAxisToRotationMatrix(orientations[i].data(),newRotations[i].data()); std::cout<<orientations[i].transpose()<<std::endl; }

GSLAM(49030,0x1005b6dc0) malloc: error for object 0x3fefef5584e87731: pointer being freed was not allocated GSLAM(49030,0x1005b6dc0) malloc: set a breakpoint in malloc_error_break to debug