[postgis-tickets] [PostGIS] #4918: st_minpossiblevalue() causes crash

PostGIS trac at osgeo.org
Fri Jul 2 14:59:26 PDT 2021


#4918: st_minpossiblevalue() causes crash
----------------------+---------------------------------
  Reporter:  Robins   |      Owner:  robe
      Type:  defect   |     Status:  reopened
  Priority:  blocker  |  Milestone:  PostGIS 3.0.4
 Component:  raster   |    Version:  3.0.x
Resolution:           |   Keywords:  st_minpossiblevalue
----------------------+---------------------------------
Changes (by robe):

 * status:  closed => reopened
 * priority:  medium => blocker
 * resolution:  worksforme =>


Comment:

 Okay the tests confirm 3.2 (main) and 3.1 branches are fine, but 3.0
 branch does indeed crash.


 {{{
 14:26:36
 -----------------------------------------------------------------------------
 14:26:36 --- rt_utility_expected        2021-07-02 18:03:45.287954088
 +0000
 14:26:36 +++
 /var/lib/jenkins/workspace/postgis/tmp/3_0_pg10w64/test_45_out
 2021-07-02 18:26:36.149180741 +0000
 14:26:36 @@ -31,31 +31,7 @@
 14:26:36  test 11.9|t
 14:26:36  test 11.10|t
 14:26:36  test 11.11|t
 14:26:36 -ERROR:  RASTER_minPossibleValue: Invalid pixel type:
 14:26:36 -Raster of 10x10 pixels has 3 bands and extent of BOX(0 -10,10 0)
 14:26:36 -    band 1 of pixtype 8BUI is in-db with NODATA value of 0
 14:26:36 -    band 2 of pixtype 32BF is in-db with NODATA value of -9999
 14:26:36 -    band 3 of pixtype 16BSI is in-db with no NODATA value
 14:26:36 -Skewed raster of 10x10 pixels has 1 band and extent of BOX(0
 -10,10 0.0001)
 14:26:36 -    band 1 of pixtype 8BUI is in-db with NODATA value of 0
 14:26:36 -1|Raster of 90x50 pixels has 3 bands and extent of BOX(0 -50,90
 0)
 14:26:36 -    band 1 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -    band 2 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -    band 3 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -2|Raster of 90x50 pixels has 3 bands and extent of BOX(0 -50,90
 0)
 14:26:36 -    band 1 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -    band 2 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -    band 3 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -3|Raster of 90x50 pixels has 2 bands and extent of BOX(0 -50,90
 0)
 14:26:36 -    band 1 of pixtype 8BUI is in-db with NODATA value of 0
 14:26:36 -    band 2 of pixtype 8BUI is out-db with no NODATA value
 14:26:36 -4|Raster of 90x50 pixels has 2 bands and extent of BOX(0 -50,90
 0)
 14:26:36 -    band 1 of pixtype 8BUI is out-db with NODATA value of 255
 14:26:36 -    band 2 of pixtype 8BUI is in-db with NODATA value of 0
 14:26:36 -ms1|64
 14:26:36 -NOTICE:  Could not find raster band of index 1 when getting band
 path. Returning NULL
 14:26:36 -bandpath1|
 14:26:36 -bandpath2|testraster.tif
 14:26:36 -bandpath2|testraster.tif
 14:26:36 -bandpath2|
 14:26:36 -bandpath2|testraster.tif
 14:26:36 +server closed the connection unexpectedly
 14:26:36 +      This probably means the server terminated abnormally
 14:26:36 +      before or while processing the request.
 14:26:36 +connection to server was lost
 14:26:36
 -----------------------------------------------------------------------------
 }}}

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