[postgis-devel] [PostGIS] #1432: [RASTER] segfaults on regression testing with --enable-cassert

PostGIS trac at osgeo.org
Wed Jan 4 14:11:16 PST 2012


#1432: [RASTER] segfaults on regression testing with --enable-cassert
----------------------------+-----------------------------------------------
 Reporter:  strk            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by strk):

 One failure is in rt_asgdalraster and particularly this call:
 {{{
 SELECT ST_AsGDALRaster(
  ST_AddBand(
   ST_AddBand(
    ST_AddBand(
     ST_MakeEmptyRaster(200, 200, 10, 10, 2, 2, 0, 0),
     1, '8BSI', 1, -1
    ),
    2, '8BSI', 11, -1
   ),
   3, '8BSI', 111, -1
  ),
  'PNG',
  ARRAY['ZLEVEL=1']
 );
 }}}

 Dropping the ARRAY parameter fixes the segfault

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