[postgis-tickets] [PostGIS] #4990: getfacecontainingpoint fails on i386
PostGIS
trac at osgeo.org
Wed Sep 22 12:45:29 PDT 2021
#4990: getfacecontainingpoint fails on i386
-----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.2.0
Component: topology | Version: master
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by strk):
The only idea I have about this problem is one of alignment. I'm using {{{
getPoint2d_cp }}} for accessing the points, which is known to only work
when the pointlist is aligned to the double boundary, which is documented
to happen when the POINTARRAY comes from deserialization.
Chances are that we are NOT ensuring double alignment when creating
geometries like shortestLine, and this is making the code unstable.
Enabling debugging by uncommenting the POSTGIS_DEBUG_LEVEL in
liblwgeom/lwgeom_topo.c should reveal this.
I can send a candidate patch but I need a way to reproduce it to test it.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4990#comment:8>
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