Opened 2 months ago
Closed 2 months ago
#5794 closed defect (fixed)
Crash with TopoGeo_addPoint
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 3.5.1 |
Component: | topology | Version: | 3.4.x |
Keywords: | crash | Cc: | Lars Aksel Opsahl |
Description
Testcase:
SELECT NULL FROM topology.CreateTopology ('topo'); SELECT NULL FROM topology.TopoGeo_addLinestring('topo', 'LINESTRING(0 0, 10 0)'); SELECT NULL FROM topology.TopoGeo_addPoint('topo', 'POINT(9 5)', 5);
PostGIS-3.4 is not affected, crashers are from 3.5 onward. Must be the experimental code doing edge merges.
Change History (5)
comment:2 by , 2 months ago
The crash is due to none of the edges found to be within tolerance using lwt_be_getEdgeWithinDistance2D being *closer* than tolerance (which the snapping code is using). It can only be reproduced by specifying a tolerance which equals exactly the distance from the closest edge.
comment:3 by , 2 months ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.