[postgis-tickets] [PostGIS] #4240: Getting segmentation faults

PostGIS trac at osgeo.org
Sun Nov 18 00:30:45 PST 2018


#4240: Getting segmentation faults
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.5.1
Component:  postgis  |    Version:  2.5.x
 Keywords:           |
---------------------+---------------------------
 This might be just my computer not seeing the same issue on bots.

 My pg log shows this
 {{{
 2018-11-18 00:21:20.010 EST [5172] ERROR:  Number of iterations must be
 between 1 and 5 : LWGEOM_ChaikinSmoothing
 2018-11-18 00:21:20.010 EST [5172] STATEMENT:  SELECT '2',
 ST_astext(ST_ChaikinSmoothing('LINESTRING(0 0, 8 8, 0 16)',10));
 2018-11-18 00:21:20.010 EST [5172] ERROR:  Number of iterations must be
 between 1 and 5 : LWGEOM_ChaikinSmoothing
 2018-11-18 00:21:20.010 EST [5172] STATEMENT:  SELECT '3',
 ST_astext(ST_ChaikinSmoothing('LINESTRING(0 0, 8 8, 0 16)',0));
 2018-11-18 00:21:21.090 EST [14872] LOG:  could not receive data from
 client: An existing connection was forcibly closed by the remote host.
 }}}

 I tried against both mingw and VC++ build and I'm getting segmentation
 faults all over the place.


 {{{
  subdivide ..sh: line 1:  4500 Segmentation fault      psql -v
 "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_117_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 subdivide.sql > /projects/postgis/tmp/2.5_pg11w64/test_117_out 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_117_diff)
  voronoi .. ok
  minimum_clearance .. ok
  oriented_envelope .. ok
  regress_brin_index ..sh: line 1: 12568 Segmentation fault      psql -v
 "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_121_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 regress_brin_index.sql > /projects/postgis/tmp/2.5_pg11w64/test_121_out
 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_121_diff)
  regress_brin_index_3d ..sh: line 1: 14820 Segmentation fault      psql -v
 "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_122_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 regress_brin_index_3d.sql > /projects/postgis/tmp/2.5_pg11w64/test_122_out
 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_122_diff)
  regress_brin_index_geography ..sh: line 1:  5328 Segmentation fault
 psql -v "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_123_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 regress_brin_index_geography.sql >
 /projects/postgis/tmp/2.5_pg11w64/test_123_out 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_123_diff)
  regress_spgist_index_2d ..sh: line 1:  8904 Segmentation fault      psql
 -v "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_124_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 regress_spgist_index_2d.sql >
 /projects/postgis/tmp/2.5_pg11w64/test_124_out 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_124_diff)
  regress_spgist_index_3d ..sh: line 1: 10132 Segmentation fault      psql
 -v "VERBOSITY=terse" -v
 "tmpfile='/projects/postgis/tmp/2.5_pg11w64/pgis_reg_tmp//test_125_tmp'"
 -v
 "scriptdir=C:/MING64~1/projects/POSTGR~1/rel/PG11W6~2/share/contrib/postgis-2.5"
 -v "regdir=/projects/postgis/branches/2.5/regress" -tXA postgis_reg <
 regress_spgist_index_3d.sql >
 /projects/postgis/tmp/2.5_pg11w64/test_125_out 2>&1
  failed (diff expected obtained:
 /projects/postgis/tmp/2.5_pg11w64/test_125_diff)

 }}}

 Anyway I'll investigate further - might just be something up with my pc.

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