[bug #898] (grass) Re: [GRASS5] r.slope.aspect crash - libes/gis/null_data.c

Request Tracker grass-bugs at intevation.de
Fri Jan 18 12:29:31 EST 2002


this bug's URL: http://intevation.de/rt/webrt?serial_num=898
-------------------------------------------------------------------------

(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


--- Headers Follow ---

>From neteler at itc.it  Fri Jan 18 18:29:30 2002
Return-Path: <neteler at itc.it>
Delivered-To: grass-bugs at lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
	by lists.intevation.de (Postfix) with ESMTP id 4DAD6139CC
	for <grass-bugs at lists.intevation.de>; Fri, 18 Jan 2002 18:29:30 +0100 (CET)
Received: from camelot.itc.it (camelot.itc.it [195.223.171.5])
	by mail.intevation.de (Postfix) with ESMTP id 18A761B6BB
	for <grass-bugs at intevation.de>; Fri, 18 Jan 2002 18:29:29 +0100 (CET)
Received: from artemide.itc.it (artemide [10.0.10.10])
	by camelot.itc.it (8.11.3/8.11.3) with ESMTP id g0IHTRr01652
	for <grass-bugs at intevation.de>; Fri, 18 Jan 2002 18:29:27 +0100 (MET)
Received: from thuille.itc.it. (thuille [10.40.0.110])
	by artemide.itc.it (8.11.3/8.11.3) with ESMTP id g0IHTPx15223;
	Fri, 18 Jan 2002 18:29:26 +0100 (MET)
Received: (from neteler at localhost)
	by thuille.itc.it. (8.11.6/8.11.2) id g0IHTPO23330;
	Fri, 18 Jan 2002 18:29:25 +0100
Date: Fri, 18 Jan 2002 18:29:25 +0100
From: Markus Neteler <neteler at itc.it>
To: grass5 at grass.itc.it
Cc: grass-bugs at intevation.de
Subject: Re: [GRASS5] r.slope.aspect crash - libes/gis/null_data.c
Message-ID: <20020118182925.Y483 at itc.it>
Mail-Followup-To: grass5 at grass.itc.it, grass-bugs at intevation.de
References: <20020118135702.T483 at itc.it> <3C4848C0.63A0FE21 at unity.ncsu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3C4848C0.63A0FE21 at unity.ncsu.edu>; from hmitaso at unity.ncsu.edu on Fri, Jan 18, 2002 at 11:09:36AM -0500
X-Spam-Status: No, hits=0 required=5 tests=

-------------------------------------------- Managed by Request Tracker



More information about the grass-dev mailing list