[postgis-tickets] [PostGIS] #4475: in_geojson regress failure on travis

PostGIS trac at osgeo.org
Sat Aug 10 19:27:05 PDT 2019


#4475: in_geojson regress failure on travis
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.4.8
Component:  postgis  |    Version:  2.5.x
 Keywords:           |
---------------------+---------------------------
 This is for both 2.4 and 2.5 --


 {{{
 in_geojson .. failed (diff expected obtained: /tmp/pgis_reg/test_119_diff)

 -----------------------------------------------------------------------------

 --- in_geojson_expected 2019-08-10 20:02:55.169398790 +0000

 +++ /tmp/pgis_reg/test_119_out  2019-08-10 20:11:37.647269750 +0000

 @@ -31,7 +31,7 @@

  geomfromgeojson_srs_4|GEOMETRYCOLLECTION(POINT(100 0),LINESTRING(101
 0,102 1))

  #3583|MULTIPOLYGON Z (EMPTY)

  ERROR:  The 'coordinates' in GeoJSON polygon are not sufficiently nested

 -#4470.a|POLYGON((0 0),())

 +ERROR:  ptarray.c [1767] called outside of ptarray range (n=0,
 pa.npoints=0, pa.maxpoints=0)

  ERROR:  The 'coordinates' in GeoJSON polygon are not sufficiently nested

 -#4470.c|MULTIPOLYGON(((0 0),()))

 +ERROR:  ptarray.c [1767] called outside of ptarray range (n=0,
 pa.npoints=0, pa.maxpoints=0)

  #4470.d|MULTIPOLYGON Z (EMPTY)

 -----------------------------------------------------------------------------
 }}}

 It is happening on:


 {{{
 CFLAGS="-g -O0 --coverage -fprofile-arcs -ftest-coverage" LDFLAGS="--
 coverage -fprofile-arcs -ftest-coverage" CONFIGURE_FLAGS="--enable-debug"
 }}}

 and


 {{{
 I don't know what flags these are --  this one just says
 -------------- Dependencies --------------

   GEOS config:          /usr/bin/geos-config

   GEOS version:         3.5.1

   GDAL config:          /usr/bin/gdal-config

   GDAL version:         2.2.2

   SFCGAL config:        /usr/bin/sfcgal-config

   SFCGAL version:       1.2.2

   PostgreSQL config:    /usr/lib/postgresql/9.6/bin/pg_config

   PostgreSQL version:   PostgreSQL 9.6.15

   PROJ4 version:        49

   Libxml2 config:       /usr/bin/xml2-config

   Libxml2 version:      2.9.3

   JSON-C support:       yes

   protobuf-c support:   yes

   protobuf-c version:   1.2.1

   PCRE support:         yes

   Perl:                 /usr/bin/perl


 }}}

 This seems to have been introduced at #4470

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