Ticket #403 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Using barin option in r.flow produce segmentation fault

Reported by: lucacasagrande Assigned to: grass-dev@lists.osgeo.org
Priority: minor Milestone: 6.4.0
Component: Raster Version: svn-trunk
Keywords: raster r.flow Cc:
Platform: Linux CPU: x86-64

Description

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@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.

Change History

12/21/08 05:40:45 changed by lucacasagrande

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in 7.svn, 6.4.svn, 6.4.0svn, 6.3.svn.