Crash on defective tiny STL file

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
DA523
Posts: 166
Joined: Mon May 25, 2020 4:02 pm

Crash on defective tiny STL file

Post by DA523 »

If STL file has 1 triangle face with duplicated vertices
CC will crash
but if there are at least one good triangle face , CC will not crash

It is some thing not important but may better to find the cause .
It may help to understand CC crashes with bigger file ??

paste this in empty .stl file

solid Mesh
facet normal -1.282563e+06 2.835531e+05 -5.272593e+06
outer loop
vertex 7.941165e+02 -2.488239e+03 -1.332811e+03
vertex 7.941165e+02 -2.488239e+03 -1.332811e+03
vertex -1.702416e+03 -9.230762e+02 -6.413545e+02
endloop
endfacet
endsolid Mesh
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crash on defective tiny STL file

Post by daniel »

Good catch. That's an interesting deprecate case ;).

The code is now fixed. Thanks for the feedback.
Daniel, CloudCompare admin
Post Reply