[GRASS-dev] [GRASS GIS] #403: Using barin option in r.flow produce segmentation fault

GRASS GIS trac at osgeo.org
Mon Dec 15 16:20:59 EST 2008


#403: Using barin option in r.flow produce segmentation fault
----------------------------+-----------------------------------------------
 Reporter:  lucacasagrande  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect          |      Status:  new                      
 Priority:  minor           |   Milestone:  6.4.0                    
Component:  Raster          |     Version:  svn-trunk                
 Keywords:  raster r.flow   |    Platform:  Linux                    
      Cpu:  x86-64          |  
----------------------------+-----------------------------------------------
 Using barin input produce a segmentation fault also if the map has got
 only 1/0 values (no null data).

 This is how to replicate the problem:

 {{{
 g.region rast=elevation.10m
 v.to.rast input=streams at PERMANENT output=streamTest use=val type=line
 layer=1 value=1 rows=4096
 r.null map=streamTest null=0
 r.report units=me map=streamTest | grep "no data"
 r.flow elevin=elevation.10m barin=streamTest skip=37 bound=9432
 flout=testvector lgout=testraster
 }}}

 Notice that without the barin option, the process works fine.

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


More information about the grass-dev mailing list