Opened 7 years ago

Last modified 7 years ago

#3949 closed defect

Infinite (?) loop in distance calculation — at Version 2

Reported by: pramsey Owned by: nicklas
Priority: high Milestone: PostGIS 2.4.3
Component: postgis Version: master
Keywords: Cc:

Description (last modified by pramsey)

For the pair of attached geometries, the standard distance code appears to go into an infinite (at least, very long) loop. Similarly sized geometries can run distance calculations in a few 10s of ms.

select 
  st_distance(a.geom, b.geom), 
  a.edabbr, b.edabbr,  
  st_memsize(a.geom), st_memsize(b.geom) 
from inf_distance a, inf_distance b;

Change History (3)

by pramsey, 7 years ago

Attachment: inf_distance.sql.gz added

example data

comment:1 by pramsey, 7 years ago

Priority: mediumhigh

comment:2 by pramsey, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.