[GRASS5] r.slope.aspect crash - libes/gis/null_data.c

Helena Mitasova hmitaso at unity.ncsu.edu
Fri Jan 18 11:09:36 EST 2002


Markus

I used r.slope.aspect for curvatures quite a bit and did not have a problem
(except that it does not write the custom color table as the rst programs do
which is annoying)
- I will test it too, but I want to ask whether you had a mask set, because I
might not
have used it with a mask.

Helena

(If you are computing it to visualize the waves along contours, I am covering
that in the applications, so do not worry about that right now)

Neteler wrote:

> Hi,
>
> today we realized a nice crash of r.slope.aspect:
>
> r.slope.aspect elev pc=z.rsa.pcurf
> percent complete: Segmentation fault (core dumped)
>
> If you try the spearfish data:
> r.slope.aspect elevation.dem pc=z.rsa.pcurf
> percent complete: Segmentation fault (core dumped)
>
> The debugger tells us that there is something strange in
> libes/gis/null_data.c
> Program received signal SIGSEGV, Segmentation fault.
> 0x8056635 in G_set_f_null_value (fcellVals=0x0, numVals=1) at null_val.c:295
> /ssi0/ssi/neteler/cvsgrass/src/libes/gis/null_val.c:295:9157:beg:0x8056635
> (gdb)
>
> Unfortunately this doesn't tell me anything? Probably the NULL
> implemenation is weird in null_val.c?
>
> To our surprise the aspect/slope calculation runs well.
>
> It would be nice to have that fixed...
>
> Thanks,
>
>  Markus
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list