Ticket #403 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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:
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

Changed 3 years ago 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.

Note: See TracTickets for help on using tickets.