[GRASS5] nviz crashing in pre1

Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
start it with -x flag it runs fine. If I start it with -q or a given
elevation file it crashes everything and logs me out. However, -q and
elevation
runs OK if nviz was run with -x flag first. So it seems that -x option
sets something which is missing
in the other options. Or am I missing something here? I am running it
with RedHat 7.1
I am not sure whether this is a bug or I don't have something set up
properly.

thanks, Helena

Hi Helena

Helena Mitasova wrote:

Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
start it with -x flag it runs fine. If I start it with -q or a given
elevation file it crashes everything and logs me out.

Sorry I won't be much help, but running nviz with the latest release
sources with the spearfish data (elevation.dem) seems to work fine on
our SGI Origin 2000. I tried both -q and providing the elevation map on
the command line.

So it seems to be either a platform problem or a local problem. Sorry.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

Markus Neteler wrote:

On Tue, Jun 05, 2001 at 02:53:22PM -0400, Helena Mitasova wrote:
> Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
> start it with -x flag it runs fine. If I start it with -q or a given
> elevation file it crashes everything and logs me out. However, -q and
> elevation
> runs OK if nviz was run with -x flag first. So it seems that -x option
> sets something which is missing
> in the other options. Or am I missing something here? I am running it
> with RedHat 7.1
> I am not sure whether this is a bug or I don't have something set up
> properly.

Helena,

here it crashes, too. AARGH!! Recently it was o.k.

- If I start without maps, it opens.
- If I start with a raster map, it crashes (seg.fault).
- If I start with a raster map and "-q" it opens but doesn't display
  anything
- If I start with a raster map and "-x" it opens and works.

Bob, do you have any ideas?

Markus

Markus,

I am hoping to install RedHat 7.1 later this week, so I should be able
to test NVIZ then.

As far as the above flags..., the "-q" option is the quickstart option,
which ignores any supplied parameters and simply starts. The "-x" is
essentially the same (?) as the quickstart option except the "Please
Wait" window does not come up. As far as I can tell that is the only
diffeence between "-q" and "-x".

A good test would be to try loading a raster from nviz after starting
with "-q" or "-x". Presumably it would still crash??

A copy of the standard output from the crash might help.

---------------
Bob Covill

Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada

E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498

From neteler Tue Jun 12 18:22:38 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
  id SAA02885; Tue, 12 Jun 2001 18:22:38 +0100
Date: Tue, 12 Jun 2001 18:22:37 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: GRASS List <grass5@geog.uni-hannover.de>
Subject: Re: [GRASS5] nviz crashing in pre1
Message-ID: <20010612182237.B2777@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: GRASS List <grass5@geog.uni-hannover.de>
References: <3B1D2AA2.D0EDB689@unity.ncsu.edu> <20010612175255.I24187@hgeo02.geog.uni-hannover.de> <3B2643CA.B0ED7CC5@tekmap.ns.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B2643CA.B0ED7CC5@tekmap.ns.ca>; from bcovill@tekmap.ns.ca on Tue, Jun 12, 2001 at 01:31:06PM -0300
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/&gt;
Status: O
Content-Length: 3735
Lines: 109

Thanks for your quick response, Bob.

On Tue, Jun 12, 2001 at 01:31:06PM -0300, Bob Covill wrote:

Markus Neteler wrote:
>
> On Tue, Jun 05, 2001 at 02:53:22PM -0400, Helena Mitasova wrote:
> > Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
> > start it with -x flag it runs fine. If I start it with -q or a given
> > elevation file it crashes everything and logs me out. However, -q and
> > elevation
> > runs OK if nviz was run with -x flag first. So it seems that -x option
> > sets something which is missing
> > in the other options. Or am I missing something here? I am running it
> > with RedHat 7.1
> > I am not sure whether this is a bug or I don't have something set up
> > properly.
>
> Helena,
>
> here it crashes, too. AARGH!! Recently it was o.k.
>
> - If I start without maps, it opens.
> - If I start with a raster map, it crashes (seg.fault).
> - If I start with a raster map and "-q" it opens but doesn't display
> anything
> - If I start with a raster map and "-x" it opens and works.
>
> Bob, do you have any ideas?
>
> Markus

Markus,

I am hoping to install RedHat 7.1 later this week, so I should be able
to test NVIZ then.

As far as the above flags..., the "-q" option is the quickstart option,
which ignores any supplied parameters and simply starts. The "-x" is
essentially the same (?) as the quickstart option except the "Please
Wait" window does not come up. As far as I can tell that is the only
diffeence between "-q" and "-x".

A good test would be to try loading a raster from nviz after starting
with "-q" or "-x". Presumably it would still crash??

Loading the raster map within NVIZ it doesn't crash but doesn't display
anything. However, it says:
"shine set to: 76.000000
Color Material: 4609
"

A copy of the standard output from the crash might help.

Here is (from global dataset):

nviz nations
[...]
scripting menu 4 made
scripting menu 5 made
scripting menu 6 made
scripting menu 7 made
scripting menu made
Error in startup script: integer value too large to represent
    while executing
"expr int($curr * 1)"
    (procedure "Nv_mkFloatScale" line 16)
    invoked from within
"Nv_mkFloatScale $W.zexag v zexag $exag $min $val update_exag 2"
    (procedure "mk_exag_slider" line 13)
    invoked from within
"mk_exag_slider $BASE.midf"
    (procedure "mkmainPanel" line 41)
    invoked from within
"mk$name\Panel $path"
    (procedure "Nv_force_panel" line 10)
    invoked from within
"Nv_force_panel main"
    (procedure "Nv_makeGUI" line 120)
    invoked from within
"Nv_makeGUI .top"
    (file
"/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/scripts/nviz2.2_script"
line 637)
child process exited abnormally
    while executing
"exec /home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/NVWISH2.2 -f
/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/scripts/nviz2.2_script
nat..."
    ("eval" body line 1)
    invoked from within
"eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f
$env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script $argv -name NVIZ >&@stdout"
    invoked from within
"if {$argv == ""} {
#no arguments
eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f
$env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script -name NVIZ >&@stdo..."
    (file "/home/neteler/ggg/dist.i686-pc-linux-gnu/bin/nviz" line 13)

------------------------------------------------

Aha "funny":
- it crashes if the map region contains only NULL data values (should
  gracefully exit here). Above happened when I was (accidentally) working
  in a NULL data area in "nations" map.

Maybe that's another bug. Helena, are you sure that your map contains data
when crashing with NVIZ?

Markus

From neteler Tue Jun 12 18:46:58 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
  id SAA03115; Tue, 12 Jun 2001 18:46:57 +0100
Date: Tue, 12 Jun 2001 18:46:57 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: Request Tracker <grass-bugs@intevation.de>
Cc: grass5@geog.uni-hannover.de
Subject: Re: [GRASS5] [bug #748] (grass) horrible instructions
Message-ID: <20010612184657.A2967@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: Request Tracker <grass-bugs@intevation.de>,
  grass5@geog.uni-hannover.de
References: <20010607182054.D03D4139F3@mailman.intevation.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010607182054.D03D4139F3@mailman.intevation.de>; from grass-bugs@intevation.de on Thu, Jun 07, 2001 at 08:20:54PM +0200
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/&gt;
Status: O
Content-Length: 8970
Lines: 188

Dave,

thanks for your updates. I have updated in CVS and on Hannover web site.

Markus

On Thu, Jun 07, 2001 at 08:20:54PM +0200, Request Tracker wrote:

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

--=====================_3001670==_
Content-Type: text/plain; charset="us-ascii"; format=flowed

at ftp://grass.baylor.edu/pub/grass/grass5/binary/linux/ is a file
titled REQUIREMENTS.html. This file is a mess. Attached is a revised
version that is more legible and which has live links.

Dave Stevens

--=====================_3001670==_
Content-Type: text/html; charset="us-ascii"
Content-Disposition: attachment; filename="grass.html"

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.74 [en] (Win98; U) [Netscape]">
   <title>REQUIREMENTS to compile GRASS GIS</title>
</head>
<body>
REQUIREMENTS to compile GRASS GIS
<br>&nbsp;
<br>&nbsp;
<p>A workstation running some flavor of unix like Solaris, Irix,
<p>Linux, BSD, Mac OS X, CygWindows.&nbsp; Ideally, you should have at
<p>least 500 Mb for data and 32 Mb RAM. The source code package needs
<p>around 100MB uncompressed. The resulting binaries may need between
<p>80MB and 180MB depending on your platform.
<br>&nbsp;
<br>&nbsp;
<p>General requirements:
<p>(most tools are standard tools on Linux, for other platforms you
<p>&nbsp;may have to install some of them.)
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- C-compiler (cc, gcc, egcs, ...)
<p>&nbsp;&nbsp;&nbsp; gcc: <a href="http://www.gnu.org/software/gcc/gcc.html&quot;&gt;http://www.gnu.org/software/gcc/gcc.html&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- Fortran compiler (f77, g77, ...) for a few modules
<p>&nbsp;&nbsp;&nbsp; g77: coming along with gcc
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- GNU make is recommended
<p>&nbsp;&nbsp;&nbsp; <a href="http://www.gnu.org/software/make/make.html&quot;&gt;http://www.gnu.org/software/make/make.html&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- zlib compression library (already installed on modern systems)
<p>&nbsp;&nbsp; It is used to compress GRASS raster files:
<p>&nbsp;&nbsp;&nbsp; libz: <a href="http://www.info-zip.org/pub/infozip/zlib/&quot;&gt;http://www.info-zip.org/pub/infozip/zlib/&lt;/a&gt;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="ftp://ftp.freesoftware.com/pub/infozip/zlib/&quot;&gt;ftp://ftp.freesoftware.com/pub/infozip/zlib/&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- lexical analyzer generator (flex),
<p>&nbsp;&nbsp; (lex is no longer supported, please use flex instead)
<p>&nbsp;&nbsp;&nbsp; flex: <a href="http://www.gnu.org/software/flex/flex.html&quot;&gt;http://www.gnu.org/software/flex/flex.html&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- parser generator (yacc, bison)
<p>&nbsp;&nbsp;&nbsp; bison: <a href="http://www.gnu.org/software/bison/bison.html&quot;&gt;http://www.gnu.org/software/bison/bison.html&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- libncurses4.x/5.x
<p>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.gnu.org/software/ncurses/ncurses.html&quot;&gt;http://www.gnu.org/software/ncurses/ncurses.html&lt;/a&gt;
<p>&nbsp;&nbsp;&nbsp;&nbsp; <a href="ftp://ftp.gnu.org/pub/gnu/ncurses/&quot;&gt;ftp://ftp.gnu.org/pub/gnu/ncurses/&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- X11 window system for graphical output, development libraries
<p>&nbsp;&nbsp; (X development libraries, in some linux distributions
<p>&nbsp;&nbsp;&nbsp; they are separate packages)
<p>&nbsp;&nbsp;<a href="http://www.xfree.org">&nbsp;&nbsp; http://www.xfree.org</a><a href="http://www.xfree.org"></a>
<p>&nbsp;
<p>Optional requirements:
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- Tcl/Tk 8.x libraries to use TclTkGRASS Interface
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and to compile src.contrib/GMSL/NVIZ2.2/
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; see [<a href="http://www.geog.uni-hannover.de/grass/main_tclgrass.html&quot;&gt;http://www.geog.uni-hannover.de/grass/main_tclgrass.html&lt;/a&gt;\]
<p>&nbsp;- Mesa-3.x (openGL clone) required for NVIZ2.2
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://mesa3d.sourceforge.net/&quot;&gt;http://mesa3d.sourceforge.net/&lt;/a&gt;\]
<p>&nbsp;&nbsp;&nbsp;&nbsp; Compile instructions:
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.geog.uni-hannover.de/grass/grass5/related/README.mesa3d&quot;&gt;http://www.geog.uni-hannover.de/grass/grass5/related/README.mesa3d&lt;/a&gt;\]
<p>&nbsp;- libpng (for r.in.png, r.out.png), usually already installed.
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="ftp://ftp.cdrom.com/pub/png/&quot;&gt;ftp://ftp.cdrom.com/pub/png/&lt;/a&gt;\]
<p>&nbsp;- libjpeg (for r.in.tiff, r.out.tiff, for HDF library),
<p>&nbsp;&nbsp; usually already installed.
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="ftp://ftp.uu.net/graphics/jpeg/&quot;&gt;ftp://ftp.uu.net/graphics/jpeg/&lt;/a&gt;\]
<p>&nbsp;- libtiff (for r.in.tiff, r.out.tiff), usually already installed.
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.libtiff.org">http://www.libtiff.org</a>]
<p>&nbsp;- netpbm-tools/libraries (for r.in.png/r.out.png), usually already
installed.
<p>&nbsp;&nbsp;&nbsp;&nbsp; [please look at any decent software mirror
near you!]
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM&quot;&gt;http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM&lt;/a&gt;\]
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.sourceforge.net/projects/netpbm/&quot;&gt;http://www.sourceforge.net/projects/netpbm/&lt;/a&gt;\]
<p>&nbsp;
<p>&nbsp;- libg2c (for r.fill.dir, or use g77)
<p>&nbsp;&nbsp;&nbsp;&nbsp; [http://?]
<p>&nbsp;
<p>&nbsp;- PostgreSQL libraries (for the PostgreSQL database interface)
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.postgresql.org">http://www.postgresql.org</a>]
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- Unix ODBC (for the ODBC database interface)
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>]
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- R language (for the R language interface)
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://cran.r-project.org">http://cran.r-project.org</a>]
<p>&nbsp;
<p>&nbsp;- usually not required (as you will use NVIZ)
<p>&nbsp;&nbsp;&nbsp;&nbsp; Motif or Lesstif libraries required for
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; src.contrib/GMSL/ogl3d
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.lesstif.org">http://www.lesstif.org</a>]
<br>&nbsp;
<br>&nbsp;
<p>&nbsp;- r.in.gdal requires GDAL - Geospatial Data Abstraction Library
<p>&nbsp;&nbsp;&nbsp;&nbsp; [<a href="http://www.remotesensing.org/gdal/&quot;&gt;http://www.remotesensing.org/gdal/&lt;/a&gt;\]
<br>&nbsp;
<br>&nbsp;
<p>Note:
<p>&nbsp;SUN users may go here to download precompiled libraries etc.:
<p>&nbsp;&nbsp; <a href="http://www.sunfreeware.com/&quot;&gt;http://www.sunfreeware.com/&lt;/a&gt;
<p>&nbsp;
<p>&nbsp;SGI users may go here to download precompiled libraries etc.:
<p>&nbsp;&nbsp; <a href="http://freeware.sgi.com/&quot;&gt;http://freeware.sgi.com/&lt;/a&gt;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<p>GRASS Development Team 2001
<p>grass@baylor.edu
<br>&nbsp;
<br>&nbsp;
<p>$Id: REQUIREMENTS,v 1.10.2.1 2001/04/18 10:46:30 markus Exp $
<br>&nbsp;
<br>&nbsp;
</body>
</html>

--=====================_3001670==_--

--- Headers Follow ---

>From dstevens@bulkley.net Thu Jun 7 20:20:54 2001
Return-Path: <dstevens@bulkley.net>
Delivered-To: grass-bugs@mailman.intevation.de
Received: from omecihuatl.rz.uni-osnabrueck.de (omecihuatl.rz.Uni-Osnabrueck.DE [131.173.17.35])
  by mailman.intevation.de (Postfix) with ESMTP id D9965139CE
  for <grass-bugs@intevation.de>; Thu, 7 Jun 2001 20:20:53 +0200 (CEST)
Received: from bulkley.net (smtp-1.vancouver.ipapp.com [216.152.192.207])
  by omecihuatl.rz.uni-osnabrueck.de (8.11.1/8.11.1) with SMTP id f57IJi126935
  for <grass-bugs@intevation.de>; Thu, 7 Jun 2001 20:19:44 +0200
Received: from library.bulkley.net ([142.28.185.168]) by smtp.vphos.net ; Thu, 07 Jun 2001 11:19:29 -0700
Message-Id: <5.0.2.1.0.20010607111743.009e9d90@mail.bulkley.net>
X-Sender: dstevens@mail.bulkley.net
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 07 Jun 2001 11:20:17 -0700
To: grass-bugs@intevation.de
From: Dave Stevens <dstevens@bulkley.net>
Subject: horrible instructions
Mime-Version: 1.0
Content-Type: multipart/mixed;
  boundary="=====================_3001670==_"

-------------------------------------------- Managed by Request Tracker
_______________________________________________
grass5 mailing list
grass5@geog.uni-hannover.de
http://www.geog.uni-hannover.de/mailman/listinfo/grass5

--
Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984

Markus Neteler wrote:

Thanks for your quick response, Bob.

------------------------------------------------

Aha "funny":
- it crashes if the map region contains only NULL data values (should
  gracefully exit here). Above happened when I was (accidentally) working
  in a NULL data area in "nations" map.

Maybe that's another bug. Helena, are you sure that your map contains data
when crashing with NVIZ?

Markus
_______________________________________________
grass5 mailing list
grass5@geog.uni-hannover.de
http://www.geog.uni-hannover.de/mailman/listinfo/grass5

Markus,

It sounds like the crash (that you are seeing) may be the result of one
of the calculations performed on the dataset. When data is loaded
things like vertical exxageration, etc are caculated from the data.

As you noted above, it obviously does not like like having any data
(NULL) to load. This problem could probably be tracked down and caught
before it crashes.

--
Bob Covill

Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada

E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498

Bob,

on a second look you may be right that the crash could be the the result of the
calculations
which set the z-scale, view height and other initial settings. The initial
values are computed (or set?) when
the interface opens even without any data, so if there is an undefined variable
it may depend on what is in that
variable at the time when nviz is opened whether it crashes or not.

Helena

Covill wrote:

Markus Neteler wrote:
>
> Thanks for your quick response, Bob.
>
> ------------------------------------------------
>
> Aha "funny":
> - it crashes if the map region contains only NULL data values (should
> gracefully exit here). Above happened when I was (accidentally) working
> in a NULL data area in "nations" map.
>
> Maybe that's another bug. Helena, are you sure that your map contains data
> when crashing with NVIZ?
>
> Markus
> _______________________________________________
> grass5 mailing list
> grass5@geog.uni-hannover.de
> http://www.geog.uni-hannover.de/mailman/listinfo/grass5

Markus,

It sounds like the crash (that you are seeing) may be the result of one
of the calculations performed on the dataset. When data is loaded
things like vertical exxageration, etc are caculated from the data.

As you noted above, it obviously does not like like having any data
(NULL) to load. This problem could probably be tracked down and caught
before it crashes.

--
Bob Covill

Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada

E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498
_______________________________________________
grass5 mailing list
grass5@geog.uni-hannover.de
http://www.geog.uni-hannover.de/mailman/listinfo/grass5