[postgis-devel] [PostGIS] #1760: crash if gdal_data env variable not in place on windows 64

PostGIS trac at osgeo.org
Sat Apr 7 01:34:43 PDT 2012

#1760: crash if gdal_data env variable not in place on windows 64
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.1
Component:  raster          |     Version:  2.0.x        
 Keywords:  win64, mingw64  |  
 I was doing a spatial query with ST_Clip and I neglected to put in the
 GDAL_DATA environment variable before hand.

 The query crashed the service and logs show this:

 ERROR 4: Unable to open EPSG support file gcs.csv.

 Try setting the GDAL_DATA environment variable to point to the

 directory containing EPSG csv files.

 2012-04-07 08:03:57 EST LOG:  server process (PID 3144) was terminated by
 exception 0xC0000005

 After registering the variable things work fine -- so might be one of
 those null character issues similar to what we had with null proj4text

 This is on a windows 2008 R2 64-bit running 64-bit PostgreSQL/PostGIS

Ticket URL: <http://trac.osgeo.org/postgis/ticket/1760>
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