Crash with heavy Compass Tool use (2.13.2)

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
lweidner
Posts: 11
Joined: Fri Jan 21, 2022 9:47 pm

Crash with heavy Compass Tool use (2.13.2)

Post by lweidner »

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
daniel
Site Admin
Posts: 7750
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crash with heavy Compass Tool use (2.13.2)

Post by daniel »

Ah, I believe this has just been fixed in version 2.14.alpha (or at least something very similar).

Can you try with this version and report back to us if you encounter the issue again?
Daniel, CloudCompare admin
lweidner
Posts: 11
Joined: Fri Jan 21, 2022 9:47 pm

Re: Crash with heavy Compass Tool use (2.13.2)

Post by lweidner »

Hi Daniel, just confirming that we updated to 2.14.alpha and haven't experienced this issue since then. Thank you!
Post Reply