[postgis-devel] [PostGIS] #1066: [raster] raster crashes server with arbitrary tests

PostGIS trac at osgeo.org
Sun Jan 8 00:11:31 PST 2012


#1066: [raster] raster crashes server with arbitrary tests
-----------------------------+----------------------------------------------
  Reporter:  robe            |       Owner:  dustymugs    
      Type:  defect          |      Status:  closed       
  Priority:  blocker         |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:  fixed           |    Keywords:               
-----------------------------+----------------------------------------------
Changes (by robe):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 I'm closing this out.  The tests are up to ST_Transform and hasn't crashed
 yet but the testing of ST_Transform is taking an exceedingly long time and
 then errors out with a:

 {{{
 ERROR:  rt_raster_gdal_warp: Unable to get GDAL suggested warp output for
 output
  dataset creation
 }}}

 When it comes across a test like:

 {{{
 SELECT ST_AsEWKT(ST_ConvexHull(ST_Transform(rast1.rast, 3395,
  1.5, 1.5, 'Lanczos', 1.5))) FROM (                     (SELECT
 ST_SetSRID(ST_Se
 tValue(ST_AddBand(ST_MakeEmptyRaster( 100, 100, (i-1)*100, (i-1)*100,
 0.0005, -0
 .0005, 0*i, 0*i), '2BUI'), i, (i+1),1),4326) As rast FROM
 generate_series(1,10)
 As i) ) As rast1 LIMIT 3;

 }}}

 That may be expected though when you fed pseudo garbage into that
 function.


 I think the weird error I was getting:  lost synchronization with server:
 got messa
 ge type "D", length 288025282

 Was because my db was set to log and I was outputting the rasters some of
 which were huge, and the logging probably couldn't keep up. I've changed
 the script to just output the convex hull if the output type is a raster
 or geometry.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1066#comment:20>
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-devel mailing list