-
Notifications
You must be signed in to change notification settings - Fork 54
Crash under sfcgal_geometry_triangulate_2dz / SFCGAL::algorithm::isValid #194
Comments
Confirmed on FreeBSD with Error with SELECT ST_ConstrainedDelaunayTriangles(ST_GeomFromEWKT(...)):
|
@sloriot Can you take a look at this issue since the error is reported by CGAL? Do you want me to open a ticket upstream? |
@lbartoletti CGAL warns that one of its precondition is violated. So there is high chance the problem is in SFCGAL which calls a CGAL function without respecting this precondition. Besides, @Algunenano 's initial crash seems to refer to a problem in selfIntersectsImpl (comparing Points), which seems different from yours. Do you have a full stack trace to compare ? |
A non simple polygon is basically a polygon that has some self-intersections (it can be an intersection in the interior of edges or a pinching) |
What's surprizing is that the triangulation should be able to handle it (with the valid flag) but anyway this assertion comes from before calling the triangulation I think. |
Hi,
we've detected a crash from Posgis' ST_ConstrainedDelaunayTriangles which created an sfcgal geometry and calls
sfcgal_geometry_triangulate_2dz
:The call appears in
SFCGAL::algorithm::selfIntersects
, which looks very similar to #171 that is still crashing for me.Versions:
Full callstack from Postgis: bt.txt
Full geometry WKT: geom.txt
The text was updated successfully, but these errors were encountered: