[postgis-tickets] [PostGIS] #5171: SELECT st_length(st_geomfromtext gives error when running on ARM processor

PostGIS trac at osgeo.org
Wed Jun 15 11:50:00 PDT 2022


#5171: SELECT st_length(st_geomfromtext gives error when running on ARM processor
----------------------+---------------------------
 Reporter:  arnghosb  |      Owner:  pramsey
     Type:  defect    |     Status:  new
 Priority:  high      |  Milestone:  PostGIS 3.2.2
Component:  postgis   |    Version:  3.2.x
 Keywords:            |
----------------------+---------------------------
 SELECT st_length(st_geomfromtext('LINESTRING(-86.848960876
 33.448753357,-86.848960876 33.448753357)',4326)::geography); returns
 ERROR:  lwgeom_length_spheroid returned length < 0.0 on ARM
 (aarch64/Graviton) processor. On Intel processor, it returns the correct
 output (0.0). Notice that here, the points input are the same, so
 technically, it should return 0.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5171>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list