[GRASS-dev] Re: [GRASS GIS] #565: r.colors: glibc double free or corruption with -ae

GRASS GIS trac at osgeo.org
Tue Apr 21 06:59:32 EDT 2009


#565: r.colors: glibc double free or corruption with -ae
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  minor   |   Milestone:  6.5.0                    
 Component:  Raster  |     Version:  svn-develbranch6         
Resolution:          |    Keywords:  r.colors                 
  Platform:  Linux   |         Cpu:  x86-32                   
---------------------+------------------------------------------------------
Comment (by hamish):

 ..., even with maps created with the same params which do run to 100% on
 the standard command line will barf in valgrind at the same 72% complete
 stage.

 Same if I do 'g.region -d' first, so that's probably a red herring (I
 mentioned it because the volcano alg calcs distance from the map center so
 you can get an div0 anomaly there if the cells line up).

 I can simplify the map creation line to:
 {{{
 r.surf.volcano -r map3
 }}}

 and it still breaks with valgrind. If I remove the `-r` rough-it-up flag
 (which sends the surface slightly negative) the min becomes 1.2345e-91 and
 valgrind runs to completion. it still complains about the same "Invalid
 read of size 4" and "Invalid write of size 4" errors though.


 Hamish

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


More information about the grass-dev mailing list