Crash with heavy Compass Tool use (2.13.2)
Posted: Thu Oct 31, 2024 10:06 pm
Hello, we are using the compass tool for projects and have encountered occasional issues with unexpected crashes.
The workflow is seemingly simple. Load a few clouds (typically 2-3 clouds, 100M points each). Then open compass tool. Use the plane fitting tool to create planes. Also use the trace tool to fit traces, and then convert those traces to planes as well. The DB tree consists of a few las clouds and the "measurements" folder, with dozens of measurements.
Occasionally, when saving the entire DB tree as a bin, CC crashes during the saving process. A file is still created, but it is small and corrupted. Upon opening CC again and loading this file, the console says "Failed to read file (file position: 25912/ 25912)" "An error occurred while loading [filename]: see console". This means that data can sometimes be lost if you were overwriting a previous save file.
Since I have not seen this issue reported before and it's been a risk we've had for some time across multiple versions, I figured I'd post here and see if anyone has ideas/solutions. It only seems to happen when we are using the compass tool on large clouds.
EDIT: I was able to take note of what it prints before crashing:
"An error occurred while saving [filename] see console"
"Polyline 'Trace' is associated to an unhandled vertices structure?!"
"[ccPolyline::toFile_MeOnly] Polyline vertices is not a ccPointCloud structure?!"
Thanks
Luke
The workflow is seemingly simple. Load a few clouds (typically 2-3 clouds, 100M points each). Then open compass tool. Use the plane fitting tool to create planes. Also use the trace tool to fit traces, and then convert those traces to planes as well. The DB tree consists of a few las clouds and the "measurements" folder, with dozens of measurements.
Occasionally, when saving the entire DB tree as a bin, CC crashes during the saving process. A file is still created, but it is small and corrupted. Upon opening CC again and loading this file, the console says "Failed to read file (file position: 25912/ 25912)" "An error occurred while loading [filename]: see console". This means that data can sometimes be lost if you were overwriting a previous save file.
Since I have not seen this issue reported before and it's been a risk we've had for some time across multiple versions, I figured I'd post here and see if anyone has ideas/solutions. It only seems to happen when we are using the compass tool on large clouds.
EDIT: I was able to take note of what it prints before crashing:
"An error occurred while saving [filename] see console"
"Polyline 'Trace' is associated to an unhandled vertices structure?!"
"[ccPolyline::toFile_MeOnly] Polyline vertices is not a ccPointCloud structure?!"
Thanks
Luke