When all images including color images and depth images have been used out to reconstruction, then I click saveMesh button in the bellow pangolin window to save the dense map data saved as .ply file. But I will always face the "segmentation fault" error, every time when I click the "saveMesh" button.
In order to find out the place where the code is crushed, I used the debug tool of VSCode IDE, through configure the launch.json file. To be honest, it is really convenient. Then I finally found out the error part. It is in the "meshData.cpp" file and it is located in function of removeDegeneratedFaces(),
the original usage is
for (auto idx : m_FaceIndicesVertices[i]){}
Yes, it doesn't work, every time when it comes here, the "segmentation fault" will happen.</