[postgis-tickets] [PostGIS] #3206: winnie crashing with topology ST_AddModeFace in C commit 9.3 w32 bit run

PostGIS trac at osgeo.org
Tue Aug 4 14:58:36 PDT 2015


#3206: winnie crashing with topology ST_AddModeFace in C commit 9.3 w32 bit run
-----------------------+---------------------------
  Reporter:  robe      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:  PostGIS 2.2.0
 Component:  topology  |    Version:  trunk
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by robe):

 doesn't work.  tried on my machine and get


 {{{
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:597:64: note: in expansion of macro 'LWTFMT_ELEMID'
          lwerror("SQL/MM Spatial exception - coincident edge %"
 LWTFMT_ELEMID,
                                                                 ^
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:612:66: note: in expansion of macro 'LWTFMT_ELEMID'
          lwerror("Spatial exception - geometry intersects edge %"
 LWTFMT_ELEMID,
                                                                   ^
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:628:17: note: in expansion of macro 'LWTFMT_ELEMID'
                  LWTFMT_ELEMID, edge->edge_id);
                  ^
 lwgeom_topo.c: In function '_lwt_FindAdjacentEdges':
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:1257:44: note: in expansion of macro 'LWTFMT_ELEMID'
        lwerror("corrupted topology: edge %" LWTFMT_ELEMID
                                             ^
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:1384:54: note: in expansion of macro 'LWTFMT_ELEMID'
        lwerror("Corrupted topology: adjacent edges %" LWTFMT_ELEMID " and
 %" LWTFMT_ELEMID
                                                       ^
 lwgeom_topo.c: In function '_lwt_AddFaceSplit':
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:1472:55: note: in expansion of macro 'LWTFMT_ELEMID'
      lwerror("Backend error (no ring edges for edge %" LWTFMT_ELEMID "):
 %s",
                                                        ^
 lwgeom_topo.c: In function '_lwt_AddEdge':
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:2073:41: note: in expansion of macro 'LWTFMT_ELEMID'
                  " (endnodes in faces %" LWTFMT_ELEMID " and %"
 LWTFMT_ELEMID ")",
                                          ^
 lwgeom_topo.c:33:24: error: expected ')' before 'd'
  # define LWTFMT_ELEMID d
                         ^
 lwgeom_topo.c:2200:22: note: in expansion of macro 'LWTFMT_ELEMID'
      lwerror("Left(%" LWTFMT_ELEMID ")/right(%" LWTFMT_ELEMID ")"
                       ^
 Makefile:187: recipe for target `lwgeom_topo.lo' failed
 make[1]: *** [lwgeom_topo.lo] Error 1
 make[1]: Leaving directory `/projects/postgis/branches/winnie/liblwgeom'
 GNUmakefile:14: recipe for target `all' failed
 make: *** [all] Error 1
 }}}

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