[GRASS-user] nviz invalid pointer

Hamish hamish_nospam at yahoo.com
Sat May 27 23:11:37 EDT 2006


> I've installed the grass6.0.2 binary onto a box using fedora core 5. I
> upgraded from core 3 in the hope that NVIZ might start working. After 
> some time I got grass working after creating links relating to libssl 
> and mysqlclient.  The final problem relates to nviz. I had better 
> success than under core 3 after i created links to libtcl & libtk. 
> However...
> 
>     * In 6.0.2 the initial dialog box appears. After entering a DEM to
>       display and depressing "run", a small information box flashes,
>       followed by a flash of another larger box.  Other than the
>       initial dialog box, no other NVIZ boxes stay on screen

An unfortunate part of the GUI is that error messages tend to flash away
too quickly. Try starting from the GRASS> prompt. ("nviz -q") it still
won't work but at least you can see what the error message said.


>     * In 6.0.0 a similar thing happens, but it happens slower and is
>       accompanied by an error message that reads something along the
>       lines of...
>           o *** glibc detected *** NVIZ: munmap_chunk(): invalid
>             pointer: 0x097fed78:   ...then follows a multi page dump

If it is what I think it is, then it is a known bug, fixed recently.
Most likely you compiled with tcl/tk 8.4-dev? If you try ./configure and
"make" with tcl/tk 8.3-dev I think it should work. I don't know if FC5 
has tcl/tk 8.3 packages anymore or if they just provide 8.4.

 
> I tried downloading the latest src code & compiling it, however i am 
> very new to the linux environment and I had little success. I've been 
> working on this all yesterday and today, and have finally admitted 
> defeat. I would be grateful if someone could offer some help.

Getting that ready the first time is the hardest step. Anything you
figure out generally applies to other linux software too, so spending
time on this wasn't wasted time.

If you can download the lastest GRASS 6.1-cvs source code snapshot, it
should work for you with tcl/tk 8.4.



Hamish




More information about the grass-user mailing list