[GRASS5] r.fill.dir segfaults
Stephan Holl
sholl at gmx.net
Thu Jun 26 05:48:38 EDT 2003
Hello Markus,
At Thu, 26 Jun 2003 11:14:18 +0200 Markus Neteler wrote:
> On Thu, Jun 26, 2003 at 08:39:47AM +0200, Stephan Holl wrote:
> > Dear developers,
> > can anybody confirm the segfault during operation of r.fill.dir ?
> > After the third wtershed-pass it exits with segfault.
>
> I was able to reproduce the bug:
>
> Spearfish:
> g.region rast=elevation.dem
> r.mapcalc "elev.float = elevation.dem * 1.0"
> r.fill.dir in=elev.float elev=blah dir=dir
>
> The bug appears in get_min() which is called in
> raster/r.fill.dir/ppupdate.c
> row 134
>
> The second parameter to get_min() seems to be empty when
> it crashes.
>
> However, I don't know how to fix it.
well, hopefully someone else will fix this. I cannot fix this ether.
cheers
Stephan
--
Stephan Holl
GnuPG Key-ID: 11946A09
11:45:52 up 4:30, 1 user, load average: 1.39, 0.81, 0.62
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20030626/7cdedf4a/attachment.bin
More information about the grass-dev
mailing list