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

PostGIS trac at osgeo.org
Thu Jun 30 17:43:20 PDT 2011


#1066: [raster] raster crashes server with arbitrary tests
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by robe):

 Bborie,

 You might want to try running the test a couple of times.  I had to add a
 couple of entries to make mine crash so your computer might just have a
 higher tolerance.  I also was running not on a fresh restart -- it was run
 on a battery of tests extracted from the raster_gardentests

 I suggest running the garden tests to completion for raster to see if you
 get a crash.  You might also have fixed the issue.

 To generate the tests,  do


 make garden

 That command will generate raster_garden20.sql, postgis_garden20.sql

 Then just run the raster_garden20.sql on a new postgis database.  The
 tests generate a log table in the database so if it crashes midway, the
 last test is the last one.

 You can then play back the sql statements or output them from the log
 table.  That was just a portion I outputted.

 General tips on how to play back the logs:

 http://trac.osgeo.org/postgis/wiki/DevWikiGardenTest

 Yah the garden tests aren't supposed to be that bright.  They are supposed
 to simulate a user with sticky fingers, speed reading the manual and just
 stuffing stuff that can be stuffed into the functions based on the types
 the manual says are allowed. I'll make some of them smarter with real
 valid expressions later, but haven't gotten to that with raster yet.

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