[GRASSLIST:2919] Two errors in NVIZ and Grass 5.7

,


I’m working with Grass 5.7 in Mac OS X.


One

Grass 5.7 has NVIZ like 5.3 and all source are equal but in Grass 5.3 NVIZ works without problems and GRASS 5.7 does not open my dem files for NVIZ.

In GRASS 5.7 I digit:

% nviz

and I open NVIZ interface.
I choose my raster file for elevation and I press Run. I have this error:

can not find channel named “couldn’t execute “nviz2.2_script”: no such file or directory”
can not find channel named “couldn’t execute “nviz2.2_script”: no such file or directory”
while executing

“fconfigure $msg -blocking 0”
invoked from within

“.run invoke”

(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke]”
(procedure “tk::ButtonUp” line 22)
invoked from within
“tk::ButtonUp .run”
(command bound to event)

I see the source but it’s the same as 5.3.
It’s strange: it does not find nviz2.2_script but all environments are right.
If I enter this command from terminal:

% $GISBASE/etc/nviz2.2/NVWISH2.2 -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script elevation=dem250 &

NVIZ start without problem.
When I only press Run button in Graphic mode (nviz2.2_script window) I have not the correct path for nviz2.2_script.

Why ?


Two

If I enter this command from terminal:

% $GISBASE/etc/nviz2.2/NVWISH2.2 -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script elevation=dem250 &

NVIZ start but I see this message in terminal window.

200
info widget made
panel area made
file menu made
Help menu made
disabled made
Nv_mkPanelMenu 1
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8d4ae88; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8d4af48; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
Nv_mkPanelMenu 2 0
Nv_mkPanelMenu 2 1
Nv_mkPanelMenu 2 2
Nv_mkPanelMenu 2 3
Nv_mkPanelMenu 2 4
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8dccb08; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
Nv_mkPanelMenu 2 5
Nv_mkPanelMenu 2 6
Nv_mkPanelMenu 2 7
Nv_mkPanelMenu 2 8
Nv_mkPanelMenu 2 9
Nv_mkPanelMenu 2 10
Nv_mkPanelMenu 2 11
Nv_mkPanelMenu 2 12
Nv_mkPanelMenu 2 13
scripting menu 0 made
scripting menu 1 made
scripting menu 2 made
scripting menu 3 made
scripting menu 4 made
scripting menu 5 made
scripting menu 6 made
scripting menu 7 made
scripting menu made
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8f48408; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

menubar made

I have an error in malloc, but NVIZ works.

What is this message ?

Thanks


|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (res.)

Download GRASS for MAC OS X:
http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________

On Fri, Mar 12, 2004 at 02:36:44PM +0100, Lorenzo Moretti wrote:

I'm working with Grass 5.7 in Mac OS X.

---------
One

Grass 5.7 has NVIZ like 5.3 and all source are equal but in Grass 5.3
NVIZ works without problems and GRASS 5.7 does not open my dem files
for NVIZ.

In GRASS 5.7 I digit:

% nviz

and I open NVIZ interface.

This doesn't work yet (trivial path problem, I think).

I choose my raster file for elevation and I press Run. I have this error:

You have to work on command line for NVIZ. Feel free to fix the
bug.

can not find channel named "couldn't execute "nviz2.2_script": no
such file or directory"

[...]

% $GISBASE/etc/nviz2.2/NVWISH2.2 -f
$GISBASE/etc/nviz2.2/scripts/nviz2.2_script elevation=dem250 &

NVIZ start without problem.
When I only press Run button in Graphic mode (nviz2.2_script window)
I have not the correct path for nviz2.2_script.

Why ?

I don't know - somewho we have to tell the parser to see
$GISBASE/etc/nviz2.2/scripts/ path or modify the startup of NVIZ.

---------
Two

If I enter this command from terminal:

% $GISBASE/etc/nviz2.2/NVWISH2.2 -f
$GISBASE/etc/nviz2.2/scripts/nviz2.2_script elevation=dem250 &

NVIZ start but I see this message in terminal window.

...
200
info widget made
panel area made
file menu made
Help menu made
disabled made
Nv_mkPanelMenu 1
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8d4ae88;
This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8d4af48;
This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug
Nv_mkPanelMenu 2 0
Nv_mkPanelMenu 2 1
Nv_mkPanelMenu 2 2
Nv_mkPanelMenu 2 3
Nv_mkPanelMenu 2 4
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8dccb08;
This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug
Nv_mkPanelMenu 2 5
Nv_mkPanelMenu 2 6
Nv_mkPanelMenu 2 7
Nv_mkPanelMenu 2 8
Nv_mkPanelMenu 2 9
Nv_mkPanelMenu 2 10
Nv_mkPanelMenu 2 11
Nv_mkPanelMenu 2 12
Nv_mkPanelMenu 2 13
scripting menu 0 made
scripting menu 1 made
scripting menu 2 made
scripting menu 3 made
scripting menu 4 made
scripting menu 5 made
scripting menu 6 made
scripting menu 7 made
scripting menu made
*** malloc[19069]: Deallocation of a pointer not malloced: 0x8f48408;
This could be a double free(), or free() called with the middle of an
allocated block; Try setting environment variable MallocHelp to see
tools to help debug
menubar made

I have an error in malloc, but NVIZ works.

Huh - never seen this message.

What is this message ?

To add one more bug:
NVIZ does not work for me any more in LatLong locations:
"bgerror..." Does it work for you in LatLong?

Markus