[PostGIS] #5794: Crash with TopoGeo_addPoint

PostGIS trac at osgeo.org
Thu Oct 10 00:39:55 PDT 2024


#5794: Crash with TopoGeo_addPoint
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:  PostGIS 3.5.1
 Component:  topology  |    Version:  3.4.x
Resolution:            |   Keywords:  crash
-----------------------+---------------------------
Comment (by strk):

 {{{
 ==105313== Use of uninitialised value of size 8
 ==105313==    at 0x13DC9534: lwgeom_closest_point (measures.c:57)
 ==105313==    by 0x13DBAFED: _lwt_SplitAllEdgesToNewNode
 (lwgeom_topo.c:6576)
 ==105313==    by 0x13DBAFED: _lwt_AddPoint (lwgeom_topo.c:6859)
 ==105313==    by 0x13D745F1: UnknownInlinedFun (postgis_topology.c:5042)
 ==105313==    by 0x13D745F1: TopoGeo_AddPoint (postgis_topology.c:4976)
 ==105313==    by 0x468B2C: ExecMakeTableFunctionResult (in
 /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x47A659: ??? (in /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x469499: ExecScan (in
 /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x45ABAC: standard_ExecutorRun (in
 /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x63D654: ??? (in /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x63F015: PortalRun (in
 /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x63FEA8: ??? (in /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x642BC6: PostgresMain (in
 /usr/lib/postgresql/16/bin/postgres)
 ==105313==    by 0x642D73: PostgresSingleUserMain (in
 /usr/lib/postgresql/16/bin/postgres)
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5794#comment:1>
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