Thu, Jun 30 2005
12:16:30
|
|
Request created by guest
|
|
Subject: Nviz crash - loading vector point in masked area
Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.0.0
If you try to display in NVIZ a vector point with a position that falls in a
masked area of the loaded raster the program will crash. |
|
Sat, Aug 13 2005
12:44:39
|
|
Mail sent by msieczka
|
|
Michele,
I tried hard but cannot reproduce your error in Grass 6.1 (CVS 13.08.05) on
Linux. Can you?
However, I noticed something related:
1. zoom into an area
2. create a raster encopasing the region e.g. 'r.mapcalc map=1'
3. change the region so that your 'map' falls completely outside of it
4. create a MASK, eg. 'r.mapcalc MASK=1'
5. g.region rast=map; nviz elev=map
6. segfault:
Loading Data
Update elev null mask
Error finding range
building color table
Error finding range
recalculating normals...
% Segmentation fault
Maybe that is what you enountered? But no vector files involved...
Bob,
Although it is quite ulikely someone would like to run NVIZ on a raster which
is masked out, but could such situation be handled more gracefully for the user?
Maciek |
|
Sun, Aug 21 2005
21:14:16
|
|
Mail sent by michele.rocc@libero.it
|
|
Return-Path |
<michele.rocc@libero.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<4308D273.3080801@libero.it>
|
Date |
Sun, 21 Aug 2005 21:13:55 +0200
|
From |
Michele <michele.rocc@libero.it>
|
Reply-To |
michele.rocc@libero.it
|
User-Agent |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050725
|
X-Accept-Language |
en-us, en
|
MIME-Version |
1.0
|
To |
Maciek Sieczka via RT <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it, werchowyna@epf.pl, bcovill@tekmap.ns.ca
|
Subject |
Re: [bug #3386] (grass) Nviz crash - loading vector point in masked area
|
References |
<20050813104439.E8FA61006A4@lists.intevation.de>
|
In-Reply-To |
<20050813104439.E8FA61006A4@lists.intevation.de>
|
Content-Type |
text/plain; charset=us-ascii; format=flowed
|
Content-Transfer-Encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new at libero.it serv8
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Maciek,
thanks for your replay.
Maciek Sieczka wrote:
> Michele,
>
> I tried hard but cannot reproduce your error in Grass 6.1 (CVS 13.08.05) on
> Linux. Can you?
since I upgraded to Grass6.0.1RC2 I can't reproduce the problem anymore
indeed; also I have to say that I tried to reproduce the error in a
"dummy dataset" and not using the one I had the problem with: no crash
and the loaded vector point was correctly displayed.
I suspect that maybe the problem was with my data, if no changes were
done to NVIZ between the Grass6.0.0 and the Grass6.0.1RC2 relases.
I think we should consider this ""bug"" report closed since I can not
reproduce the described issue.
> However, I noticed something related:
>
> 1. zoom into an area
> 2. create a raster encopasing the region e.g. 'r.mapcalc map=1'
> 3. change the region so that your 'map' falls completely outside of it
> 4. create a MASK, eg. 'r.mapcalc MASK=1'
> 5. g.region rast=map; nviz elev=map
> 6. segfault:
>
> Loading Data
> Update elev null mask
> Error finding range
> building color table
> Error finding range
> recalculating normals...
> % Segmentation fault
> Maybe that is what you enountered? But no vector files involved...
Didn't tried this, and it's substantially different, i had no problems
with those data running NVIZ using only the rasters, anyway my region
was fitting with the data position.
Michele.
|
|
Tue, Aug 23 2005
14:55:05
|
|
Status changed to resolved by msieczka
|
|