Opened 11 years ago

Closed 11 years ago

#403 closed defect (fixed)

Using barin option in r.flow produce segmentation fault

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

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 (1)

comment:1 Changed 11 years ago by lucacasagrande

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.