[postgis-tickets] [PostGIS] #4073: [raster] ST_AsRaster crashes when geometry touches pixels near a boundary

PostGIS trac at osgeo.org
Wed Nov 7 06:25:22 PST 2018


#4073: [raster] ST_AsRaster crashes when geometry touches pixels near a boundary
-----------------------------+----------------------------------
  Reporter:  lightinthedark  |      Owner:  Bborie Park
      Type:  defect          |     Status:  new
  Priority:  medium          |  Milestone:  PostGIS 2.4.6
 Component:  raster          |    Version:  2.4.x
Resolution:                  |   Keywords:  ST_AsRaster segfault
-----------------------------+----------------------------------

Comment (by robe):

 I tested this on PostGIS 2.4.3 windows and didn't crash for me


 {{{
 POSTGIS="2.4.3 r16312" PGSQL="96" GEOS="3.6.1-CAPI-1.10.1 r4317"
 PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.2.4, released 2018/03/19"
 LIBXML="2.7.8" LIBJSON="0.12" LIBPROTOBUF="1.2.1" RASTER PostgreSQL
 9.6.10, compiled by Visual C++ build 1800, 64-bit
 }}}

 Also tried on 2.5.0


 {{{
 POSTGIS="2.5.0 r16836" [EXTENSION] PGSQL="100" GEOS="3.7.0-CAPI-1.11.0
 3.7.0" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.2.4, released
 2018/03/19" LIBXML="2.7.8" LIBJSON="0.12" LIBPROTOBUF="1.2.1" RASTER
 PostgreSQL 10.5, compiled by Visual C++ build 1800, 64-bit
 }}}


 So assume it's some alpine specific thing.

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