[postgis-tickets] [PostGIS] #3463: Crash loading polygons in topology

PostGIS trac at osgeo.org
Tue Feb 23 02:49:29 PST 2016


#3463: Crash loading polygons in topology
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:  PostGIS 2.2.2
 Component:  topology  |    Version:  2.2.x
Resolution:            |   Keywords:
-----------------------+---------------------------
Changes (by strk):

 * cc: esseffe (added)


Comment:

 Valgrind report from an equivalent spatialite run (by Alessandro Furieri):

 {{{
 ==3583== Process terminating with default action of signal 11 (SIGSEGV)
 ==3583==  Access not within mapped region at address 0x0
 ==3583==    at 0x7C6E230: lwgeom_is_empty (lwgeom.c:1303)
 ==3583==    by 0x7C6CFF9: lwgeom_add_bbox (lwgeom.c:602)
 ==3583==    by 0x7CB8D41: lwt_ChangeEdgeGeom (lwgeom_topo.c:3579)
 ==3583==    by 0x7CBCBBC: lwt_AddPoint (lwgeom_topo.c:5230)
 ==3583==    by 0x7CBD0A8: _lwt_AddLineEdge (lwgeom_topo.c:5403)
 ==3583==    by 0x7CBDE34: lwt_AddLine (lwgeom_topo.c:5791)
 ==3583==    by 0x6F88506: gaiaTopoGeo_AddLineString (gaia_auxtopo.c:5219)
 ==3583==    by 0x6F8A56D: auxtopo_insert_into_topology
 (gaia_auxtopo.c:5659)
 ==3583==    by 0x6F8B5D4: do_FromGeoTableExtended_block
 (gaia_auxtopo.c:5933)
 ==3583==    by 0x6F8BD33: gaiaTopoGeo_FromGeoTableExtended
 (gaia_auxtopo.c:6056)
 ==3583==    by 0x6F6A620: fnctaux_TopoGeo_FromGeoTableExt
 (gaia_topology.c:4032)
 ==3583==    by 0x6E1F555:  fnct_TopoGeo_FromGeoTableExt
 (spatialite.c:35065)
 }}}

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