[GRASS-dev] [GRASS GIS] #2074: r3.mapcalc neighborhood modifier hash table and tile errors

GRASS GIS trac at osgeo.org
Fri Feb 21 18:02:30 PST 2014


#2074: r3.mapcalc neighborhood modifier hash table and tile errors
-------------------------+--------------------------------------------------
 Reporter:  wenzeslaus   |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Raster3D     |     Version:  svn-trunk                
 Keywords:  r3.mapcalc   |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by glynn):

 Replying to [comment:9 stopkovaE]:
 > I have had the same error using r3.mapcalc ("ERROR:
 Rast3d_get_double_region: error in Rast3d_get_tile_ptr.Region coordinates
 x 0 y 0 z 0  tile index 0 offset 0"). I tried to disable  threading and it
 works now...

 If pthread support is enabled, the supplied patch isn't safe, as e.g.
 G_begin_execute() will try to lock a mutex which was never initialised.

 If pthread support is disabled, the patch is unnecessary, as
 G_init_workers() and G_finish_workers() are empty in that case.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2074#comment:10>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list