Details Ticket 900


Comment | Reply | Open


Serial Number 900
Subject Re: [GRASS5] r.slope.aspect crash - libes/gis/null_data.c
Area none
Queue grass
Requestors hmitaso@unity.ncsu.edu
Owner gclements
Status resolved
Last User Contact Never contacted
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Jan 21 07:19:37 2002 (7 yr ago)
Created Fri Jan 18 21:29:56 2002 (7 yr ago)

Transaction History Ticket 900


Fri, Jan 18 2002 21:29:56    Request created by hmitaso@unity.ncsu.edu  
Return-Path <hmitaso@unity.ncsu.edu>
Delivered-To grass-bugs@lists.intevation.de
Sender helena@intevation.de
Message-ID <3C4879A7.C8BA46A7@unity.ncsu.edu>
Date Fri, 18 Jan 2002 13:38:15 -0600
From Helena <hmitaso@unity.ncsu.edu>
Organization NCSU
X-Mailer Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language en
MIME-Version 1.0
To Markus Neteler <neteler@itc.it>
Cc grass5@grass.itc.it, grass-bugs@intevation.de
Subject Re: [GRASS5] r.slope.aspect crash - libes/gis/null_data.c
References <20020118135702.T483@itc.it> <3C4848C0.63A0FE21@unity.ncsu.edu> <20020118182925.Y483@itc.it>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=0 required=5 tests=
Markus

when you give it both curvatures it runs, when you give it only pc curvature
it crashes. So this looks as another unfinished enhancement and genuine bug.
I do
not have time to look at
it untill Feb.1, but somebody else may be able to fix it (and add the colortable
from rst too).

Helena

GRASS:~ > r.slope.aspect bh02dec01.t800 slope=slp.test aspect=asp.test pcur=pc.test
percent complete: Segmentation fault (core dumped)
GRASS:~ > r.slope.aspect bh02dec01.t800 slope=slp.test aspect=asp.test pcur=pc.test
tcur=tc.test
percent complete:  100%
CREATING SUPPORT FILES
ELEVATION PRODUCTS for mapset [helena] in [jockey-state]
min computed aspect 0.0019  max computed aspect 359.9997
Color table for [asp.test] set to aspect
ASPECT [asp.test] COMPLETE
min computed slope 0.0000  max computed slope 9.9895
SLOPE [slp.test] COMPLETE
PROFILE CURVE [pc.test] COMPLETE
TANGENTIAL CURVE [tc.test] COMPLETE


--------------------------------------
Neteler wrote:

> (cc RT)
>
> On Fri, Jan 18, 2002 at 11:09:36AM -0500, Helena Mitasova wrote:
> > 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
>
> ...no, I didn't:
>
> GRASS:~ >g.list rast |grep MASK
> GRASS:~ >
>
> It can be even replicated with the Spearfish data.
>
> Markus
>
> >
> > (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@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Mon, Jan 21 2002 07:19:32    Taken by gclements  
Mon, Jan 21 2002 07:19:37    Status changed to resolved by gclements  
Comment | Reply | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request