[GRASS-user] nviz invalid pointer

Hi

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
    * 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

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.

Many thanks

Ian

--

Ian Allan
Director Geocode Mapping and Analysis P/L
PO Box 2072
Edithvale VIC 3196 Ph: + 61 3 9773 1232 Fax: + 61 3 9773 1232
Mob: 0429 941 527

Email: iallan@geocode.com.au
Web: www.geocode.com.au

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