[postgis-tickets] [PostGIS] #4282: ST_LineToCurve hangs indefintely

PostGIS trac at osgeo.org
Thu Dec 27 07:46:47 PST 2018


#4282: ST_LineToCurve hangs indefintely
----------------------+---------------------------
  Reporter:  robe     |      Owner:  dbaston
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by Algunenano):

 In my system it seems to get stuck in lwarc_linearize:
 {{{
 (gdb) bt
 #0  0x00007f591b06cc6e in lwarc_linearize (to=<optimized out>,
 p1=<optimized out>, p2=0xc049000000000000, p3=0x403e000000000000, tol=32,
 tolerance_type=LW_LINEARIZE_TOLERANCE_TYPE_SEGS_PER_QUAD, flags=<optimized
 out>) at lwstroke.c:445
 #1  lwcircstring_linearize (icurve=<optimized out>, tol=32,
 tolerance_type=<optimized out>, flags=<optimized out>) at lwstroke.c:497
 #2  0x00007f591b06c46b in lwcurvepoly_linearize (curvepoly=0x561a9557fcf0,
 tol=32, tolerance_type=LW_LINEARIZE_TOLERANCE_TYPE_SEGS_PER_QUAD, flags=0)
 at lwstroke.c:619
 #3  0x00007f591b0594bb in lwcurvepoly_area (curvepoly=0x561a9557fcf0) at
 lwcurvepoly.c:139
 #4  0x00007f591afde4ef in ST_Area (fcinfo=0x561a9559e888) at
 lwgeom_functions_basic.c:277
 #5  0x0000561a93192250 in ExecInterpExpr (state=<optimized out>,
 econtext=<optimized out>, isnull=0x7ffdcc335aaf) at execExprInterp.c:678
 #6  0x0000561a931a2625 in ExecEvalExprSwitchContext (state=0x561a9559e700,
 econtext=0x561a95570100, isNull=0xa0d8412365b60051) at
 ../../../src/include/executor/executor.h:303
 #7  ExecProject (projInfo=<optimized out>) at
 ../../../src/include/executor/executor.h:337
 #8  ExecScan (node=<optimized out>, accessMtd=0x561a931c97e0
 <SubqueryNext>, recheckMtd=0x561a9559e700) at execScan.c:201
 #9  0x0000561a931bbb14 in ExecProcNode (node=<optimized out>) at
 ../../../src/include/executor/executor.h:237
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4282#comment:4>
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