Opened 16 months ago

Closed 15 months ago

Last modified 15 months ago

#5312 closed defect (fixed)

GEOS master regression failure on tickets

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 3.4.0
Component: postgis Version: 3.3.x
Keywords: Cc:

Description (last modified by robe)

Just noticed debbie has been complaining for past 2 days. I'm guessing this is a geos change.

07:43:49  ./regress/core/tickets .. failed (diff expected obtained: /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_diff)
07:43:54 -----------------------------------------------------------------------------
07:43:54 --- ./regress/core/tickets_expected	2022-12-09 01:40:36.935558736 +0000
07:43:54 +++ /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_out	2023-01-11 12:43:54.923125616 +0000
07:43:54 @@ -324,10 +324,10 @@
07:43:54  #4011|ST_MultiLineString|MULTILINESTRING EMPTY|t|t
07:43:54  #4011|ST_GeometryCollection|MULTILINESTRING((0 0,0 0))|f|f
07:43:54  #4025|
07:43:54 -ERROR:  lwgeom_intersection_prec: GEOS Error: TopologyException: Input geom 0 is invalid: Self-intersection
07:43:54 -ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException: Input geom 0 is invalid: Self-intersection
07:43:54 -ERROR:  lwgeom_symdifference_prec: GEOS Error: TopologyException: Input geom 0 is invalid: Self-intersection
07:43:54 -ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: Input geom 0 is invalid: Self-intersection
07:43:54 +ERROR:  lwgeom_intersection_prec: GEOS Error: TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
07:43:54 +ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
07:43:54 +ERROR:  lwgeom_symdifference_prec: GEOS Error: TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
07:43:54 +ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: side location conflict at 5 5. This can occur if the input geometry is invalid.
07:43:54  #4055a|4326
07:43:54  #4055b|4326
07:43:54  #4089|LINESTRING Z (1 1 1,3 3 1)
07:43:54 -----------------------------------------------------------------------------

Error is apparently with this query:

SELECT '#4037.1', ST_AsText(ST_Intersection('POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
SELECT '#4037.2', ST_AsText(ST_Difference('POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
SELECT '#4037.3', ST_AsText(ST_SymDifference('POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
SELECT '#4037.4', ST_AsText(ST_Union('POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));

Change History (6)

comment:2 by robe, 16 months ago

Description: modified (diff)

comment:3 by robe, 16 months ago

Description: modified (diff)

comment:5 by pramsey, 15 months ago

Resolution: fixed
Status: newclosed

I think we're good now…

comment:6 by pramsey, 15 months ago

I cherry-picked this commit (07d29463a26ecc47dc1fd43897d05493a3645700) back into 3.3

Note: See TracTickets for help on using tickets.