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

GRASS GIS trac at osgeo.org
Thu Oct 3 14:46:51 PDT 2013


#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 huhabla):

 I can confirm this issue in case grass7 is compiled with pthreads support.
 The errors appear randomly at different indices. Looks like a race
 condition to me. Hence this issue my be related to the pthreads
 parallelism in r3.mapcalc? The problem may be related to the static and
 global variables used in the raster3d library.

 When grass7 is compiled without pthreads support the errors disappear and
 everything works as expected.

 Can anyone suggest a nice toolset to easily detect race conditions on
 linux?

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



More information about the grass-dev mailing list