-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyhedron + minkowski -> SIGSEGV #2301
Comments
Confirmed on macOS using OpenSCAD-2017.12.23 |
Just quickly tested this on the nightly Linux build on Linux Mint 18.3. I do see the following error when previewing, but it does not crash:
The nightly build is built against CGAL 4.7. |
@thehans CGAL 4.10. |
It crashed for me using 4.11 |
It's definitely due to the polygons not being in order; when passing this to CGAL, we end up with two unclosed objects which causes the We have a check for closed & valid meshes in place just before that line, which we could easily enforce. Just not sure if that breaks other marginal use-cases. We'll have to add a testcase or two to test for this before enforcing that constraint. |
Also crashes with Manifold. Not too unexpected as we use CGAL for most minkowski cases, but tagging it anyway. |
This code makes OpenSCAD crash:
Reproduced under Debian and Gentoo. Crash occurs in
CGAL::polygon_mesh_to_nef_3
.UPDATE: I've figured out the source of trouble: I don't have all points ordered in the same direction. Still, I think it shouldn't crash.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: