Uninitialized variables seem to result in segmentation fault when I run code that I added to process the resulting clusters. After running Valgrind, it seems that the segmentation fault comes from uninitialized variables in the original code. Also, note an Eigen assertion failed, not sure if this is related.
Output of Valgrind on the original code (changed to Debug in the cmake) when running command:
valgrind --leak-check=yes ./segmentation_test ../test_data/tango-top.pcd -o
is attached.
valgrind_out.txt
Uninitialized variables seem to result in segmentation fault when I run code that I added to process the resulting clusters. After running Valgrind, it seems that the segmentation fault comes from uninitialized variables in the original code. Also, note an Eigen assertion failed, not sure if this is related.
Output of Valgrind on the original code (changed to Debug in the cmake) when running command: valgrind --leak-check=yes ./segmentation_test ../test_data/tango-top.pcd -o is attached. valgrind_out.txt