yanyan-li / PlanarSLAM

A RGB-D SLAM system for structural scenes, which makes use of point-line-plane features and the Manhattan World assumption.
384 stars 85 forks source link

Run failed:segmentation fault (core dumped). #1

Closed CrisGao closed 3 years ago

CrisGao commented 3 years ago

image

When I run the ICL NUIM or TUM rgdb datasets, the following error will be reported.

yanyan-li commented 3 years ago

Thanks for testing the system. Currently, it's still under cleaning. We planed to release all files at the beginning of 2021.

CrisGao commented 3 years ago

@yanyan-li Thank you for making your project open source. It can run after commenting the threadPlanes() in Frame.cc. Looking forward to your entire project. Best wishes~

CrisGao commented 3 years ago

@yanyan-li Happy new year

I guess you have updated all the code. I pulled and compiled the code,but the same problem still occurs. According to the gdb information, it may be a problem of memory free. Screenshot from 2021-01-04 15-44-03

I guess there is a problem with variable "coarseCloud" and "ne" in the void Frame::ComputePlanes() in Frame.cc

PointCloud::Ptr coarseCloud(new PointCloud()); pcl::IntegralImageNormalEstimation<PointT, pcl::Normal> ne;

I tried to write it as a global variable, the system can only be run once, and the error occurs the second time. I have no ideas,Hope to get your help

yanyan-li commented 3 years ago

@yanyan-li Happy new year

I guess you have updated all the code. I pulled and compiled the code,but the same problem still occurs. According to the gdb information, it may be a problem of memory free. Screenshot from 2021-01-04 15-44-03

I guess there is a problem with variable "coarseCloud" and "ne" in the void Frame::ComputePlanes() in Frame.cc

PointCloud::Ptr coarseCloud(new PointCloud()); pcl::IntegralImageNormalEstimation<PointT, pcl::Normal> ne;

I tried to write it as a global variable, the system can only be run once, and the error occurs the second time. I have no ideas,Hope to get your help

Happy new year. Those functions work well in my laptop. Maybe the version of PCL? We tried 1.7.0 and 1.9.0.

match08 commented 3 years ago

Run failed:segmentation fault (core dumped) run TUM error