Opened 5 years ago

Closed 4 years ago

#4638 closed defect (fixed)

bessie failing on GDAL segmentation fault

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 3.0.2
Component: build Version: 3.0.x
Keywords: Cc:

Description (last modified by robe)

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.

Change History (7)

comment:1 by robe, 5 years ago

Description: modified (diff)

comment:2 by robe, 5 years ago

Description: modified (diff)

comment:3 by robe, 5 years ago

Description: modified (diff)

comment:4 by robe, 5 years ago

confirmed deleting those files fixes the issue

https://debbie.postgis.net/view/PostGIS/job/PostGIS_Worker_Run/label=bessie/1902/console

16:04:43 Loading PostGIS into 'postgis_reg' 
16:04:43   /usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/regress/00-regress-install/share/contrib/postgis/postgis.sql
16:04:43   /usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/regress/00-regress-install/share/contrib/postgis/postgis_comments.sql
16:04:44   /usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/regress/00-regress-install/share/contrib/postgis/postgis_proc_set_search_path.sql
16:04:44   /usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/0c190406e5edf3050c2883cc378e628fbdf26d3e/regress/00-regress-install/share/contrib/postgis/spatial_ref_sys.sql
16:04:47 PostgreSQL 11.4 on amd64-portbld-freebsd12.0, compiled by FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1), 64-bit
16:04:47   Postgis 3.0.1dev - r0c19040 - 2020-02-08 16:27:33
16:04:47   scripts 3.0.1dev 0c19040
16:04:47   GEOS: 3.7.2-CAPI-1.11.2 b55d2125
16:04:47   PROJ: 6.1.1
16:04:47 
16:04:47 Running tests
16:04:47 
16:04:47  ../loader/Point .............. ok 

Going to keep this ticket open as I suspect it will happen again

comment:5 by komzpa, 5 years ago

Milestone: PostGIS 3.0.1PostGIS next

comment:6 by komzpa, 5 years ago

Milestone: PostGIS nextPostGIS 3.0.2

Milestone renamed

comment:7 by robe, 4 years ago

Resolution: fixed
Status: assignedclosed

I'm going to close this out. Haven't seen in a while.

Note: See TracTickets for help on using tickets.