[postgis-tickets] [PostGIS] #4638: bessie failing on GDAL segmentation fault

PostGIS trac at osgeo.org
Sat Feb 8 13:00:07 PST 2020


#4638: bessie failing on GDAL segmentation fault
------------------------------------+---------------------------
  Reporter:  robe                   |      Owner:  robe
      Type:  defect                 |     Status:  assigned
  Priority:  medium                 |  Milestone:  PostGIS 3.0.1
 Component:  build/upgrade/install  |    Version:  3.0.x
Resolution:                         |   Keywords:
------------------------------------+---------------------------
Description changed by robe:

Old description:

> https://debbie.postgis.net/job/PostGIS_Worker_Run/label=bessie/1901/consoleFull
> {{{
> 15:04:58   PostGIS is now configured for amd64-unknown-freebsd12.0
> 15:04:58
> 15:04:58  -------------- Compiler Info -------------
> 15:04:58   C compiler:           cc -std=gnu99 -g -O2 -fno-math-errno
> -fno-signed-zeros
> 15:04:58   C++ compiler (Wagyu): cc -std=c++11 -x c++
> 15:04:58   CPPFLAGS:              -I/usr/local/include
> -I/usr/local/include  -I/usr/local/include  -I/usr/local/include/libxml2
> -I/usr/include -I/usr/local/include -I/usr/local/include/json-c
> -I/usr/local/include
> 15:04:58   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
> 15:04:58
> 15:04:58  -------------- Additional Info -------------
> 15:04:58   Interrupt Tests:   DISABLED use: --with-interrupt-tests to
> enable
> 15:04:58
> 15:04:58  -------------- Dependencies --------------
> 15:04:58   GEOS config:          /usr/local/bin/geos-config
> 15:04:58   GEOS version:         3.7.2
> 15:04:58   GDAL config:          /usr/local/bin/gdal-config
> 15:04:58   GDAL version:         2.4.2
> 15:04:58   SFCGAL config:        /usr/local/bin/sfcgal-config
> 15:04:58   SFCGAL version:       1.3.6
> 15:04:58   PostgreSQL config:    /usr/local/bin/pg_config
> 15:04:58   PostgreSQL version:   PostgreSQL 11.4
> 15:04:58   PROJ4 version:        61
> 15:04:58   Libxml2 config:       /usr/local/bin/xml2-config
> 15:04:58   Libxml2 version:      2.9.9
> 15:04:58   JSON-C support:       yes
> 15:04:58   protobuf support:     yes
> 15:04:58   protobuf-c version:   1003002
> 15:04:58   PCRE support:         yes
> 15:04:58   Perl:                 /usr/local/bin/perl
> 15:04:58   Wagyu:                yes
> 15:04:58
> 15:04:58  --------------- Extensions ---------------
> 15:04:58   PostGIS Raster:                     enabled
> 15:04:58   PostGIS Topology:                   enabled
> 15:04:58   SFCGAL support:                     enabled
> 15:04:58   Address Standardizer support:       enabled
> 15:04:58
> 15:04:58  -------- Documentation Generation --------
> 15:04:58   xsltproc:             /usr/local/bin/xsltproc
> 15:04:58   xsl style sheets:
> 15:04:58   dblatex:
> 15:04:58   convert:              /usr/local/bin/convert
> 15:04:58   mathml2.dtd:
> http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
> 15:04:58
>
> 15:08:13 passed
> 15:08:13   Test: test_gdal_to_raster ...passed
> 15:08:13   Test: test_gdal_warp ...passed
> 15:08:13 Suite: raster_geometry
> 15:08:13   Test: test_raster_envelope ...passed
> 15:08:13   Test: test_raster_envelope_geom ...gmake[4]: *** [Makefile:78:
> check] Segmentation fault (core dumped)
> 15:08:14 gmake[4]: Leaving directory
> '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster/test/cunit'
> 15:08:14 gmake[3]: *** [Makefile:19: check-unit] Error 2
> 15:08:14 gmake[3]: Leaving directory
> '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster/test'
> 15:08:14 gmake[2]: *** [Makefile:66: check-unit] Error 2
> 15:08:14 gmake[2]: Leaving directory
> '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster'
> 15:08:14 gmake[1]: *** [GNUmakefile:20: check-unit] Error 1
> 15:08:14 gmake[1]: Leaving directory
> '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e'
> 15:08:14 *** Error code 2
> 15:08:14
> }}}
>
> This has happened before and I think last time I deleted the file in
>
> /usr/local/include/liblwgeom.h and libwgeom_topo.h
>
> To fix the issue.  Going to do that again.
>
> If that fixes it, I think there is something wrong with our config such
> that the system include is being picked up before our local includes.

New description:

 https://debbie.postgis.net/job/PostGIS_Worker_Run/label=bessie/1901/consoleFull
 {{{
 15:04:58   PostGIS is now configured for amd64-unknown-freebsd12.0
 15:04:58
 15:04:58  -------------- Compiler Info -------------
 15:04:58   C compiler:           cc -std=gnu99 -g -O2 -fno-math-errno
 -fno-signed-zeros
 15:04:58   C++ compiler (Wagyu): cc -std=c++11 -x c++
 15:04:58   CPPFLAGS:              -I/usr/local/include
 -I/usr/local/include  -I/usr/local/include  -I/usr/local/include/libxml2
 -I/usr/include -I/usr/local/include -I/usr/local/include/json-c
 -I/usr/local/include
 15:04:58   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
 15:04:58
 15:04:58  -------------- Additional Info -------------
 15:04:58   Interrupt Tests:   DISABLED use: --with-interrupt-tests to
 enable
 15:04:58
 15:04:58  -------------- Dependencies --------------
 15:04:58   GEOS config:          /usr/local/bin/geos-config
 15:04:58   GEOS version:         3.7.2
 15:04:58   GDAL config:          /usr/local/bin/gdal-config
 15:04:58   GDAL version:         2.4.2
 15:04:58   SFCGAL config:        /usr/local/bin/sfcgal-config
 15:04:58   SFCGAL version:       1.3.6
 15:04:58   PostgreSQL config:    /usr/local/bin/pg_config
 15:04:58   PostgreSQL version:   PostgreSQL 11.4
 15:04:58   PROJ4 version:        61
 15:04:58   Libxml2 config:       /usr/local/bin/xml2-config
 15:04:58   Libxml2 version:      2.9.9
 15:04:58   JSON-C support:       yes
 15:04:58   protobuf support:     yes
 15:04:58   protobuf-c version:   1003002
 15:04:58   PCRE support:         yes
 15:04:58   Perl:                 /usr/local/bin/perl
 15:04:58   Wagyu:                yes
 15:04:58
 15:04:58  --------------- Extensions ---------------
 15:04:58   PostGIS Raster:                     enabled
 15:04:58   PostGIS Topology:                   enabled
 15:04:58   SFCGAL support:                     enabled
 15:04:58   Address Standardizer support:       enabled
 15:04:58
 15:04:58  -------- Documentation Generation --------
 15:04:58   xsltproc:             /usr/local/bin/xsltproc
 15:04:58   xsl style sheets:
 15:04:58   dblatex:
 15:04:58   convert:              /usr/local/bin/convert
 15:04:58   mathml2.dtd:
 http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
 15:04:58

 15:08:13 passed
 15:08:13   Test: test_gdal_to_raster ...passed
 15:08:13   Test: test_gdal_warp ...passed
 15:08:13 Suite: raster_geometry
 15:08:13   Test: test_raster_envelope ...passed
 15:08:13   Test: test_raster_envelope_geom ...gmake[4]: *** [Makefile:78:
 check] Segmentation fault (core dumped)
 15:08:14 gmake[4]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster/test/cunit'
 15:08:14 gmake[3]: *** [Makefile:19: check-unit] Error 2
 15:08:14 gmake[3]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster/test'
 15:08:14 gmake[2]: *** [Makefile:66: check-unit] Error 2
 15:08:14 gmake[2]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/raster'
 15:08:14 gmake[1]: *** [GNUmakefile:20: check-unit] Error 1
 15:08:14 gmake[1]: Leaving directory
 '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e'
 15:08:14 *** Error code 2
 15:08:14
 }}}

 This has happened before and I think last time I deleted the files in

 /usr/local/include/liblwgeom.h and libwgeom_topo.h

 To fix the issue.  Going to do that again.

 If that fixes it, I think there is something wrong with our config such
 that the system include is being picked up before our local includes.

--

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