[GRASS-dev] [GRASS GIS] #367: g.region segmentation violation when creating EPSG:4326 location

GRASS GIS trac at osgeo.org
Mon Nov 17 13:28:28 EST 2008


#367: g.region segmentation violation when creating EPSG:4326 location
------------------------------------------+---------------------------------
 Reporter:  epatton                       |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                        |      Status:  new                      
 Priority:  major                         |   Milestone:  6.4.0                    
Component:  default                       |     Version:  svn-develbranch6         
 Keywords:  g.region, segmentation fault  |    Platform:  Linux                    
      Cpu:  x86-64                        |  
------------------------------------------+---------------------------------
 I'm having problems creating a new EPSG:4326 location (latlong, WGS84).
 This is from a fresh 'make distclean' of Grass 6.4.

 When trying to create a Lat-Long WGS84 location, gis.m aborts as the GIS
 Manager and Map DIsplay windows are being created, with the following
 error:

 {{{
 Error in startup script: can't read "monitor_zooms(1,1,n)": no such
 variable
     while executing
 "lappend region $monitor_zooms($mon,1,$attr)"
     (procedure "MapCanvas::currentzoom" line 15)
     invoked from within
 "MapCanvas::currentzoom $mon"
     (procedure "MapCanvas::coordconv" line 23)
     invoked from within
 "MapCanvas::coordconv $mon"
     (procedure "MapCanvas::create" line 68)
     invoked from within
 "MapCanvas::create"
     (procedure "Gm::startmon" line 11)
     invoked from within
 "Gm::startmon"
     (procedure "Gm::create" line 79)
     invoked from within
 "Gm::create"
     (procedure "main" line 30)
     invoked from within
 "main $argc $argv"
     (file "/usr/local/grass-6.4.svn/etc/gm/gm.tcl" line 566)
 }}}

 Here's g.proj output:


 {{{
 g.proj -p
 -PROJ_INFO-------------------------------------------------
 name       : Lat/Lon
 proj       : ll
 datum      : wgs84
 ellps      : wgs84
 no_defs    : defined
 -PROJ_UNITS------------------------------------------------
 unit       : degree
 units      : degrees
 meters     : 1.0
 }}}


 I am able to enter this newly-created Grass location in text mode. Running
 "g.region -p" from the command line gives "segmentation fault".

 I only have these errors when trying to create or use a Lat-Long, WGS84
 location. My UTM locations seem to be fine.

 I've checked that my epsg file is in the correct location where Grass
 expects it to be (/usr/share/proj/epsg).

 Any ideas?

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/367>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list