[GRASSLIST:3859] Re: NVIZ crash in 5.3 on Mandrake

Maciek Sieczka werchowyna at pf.pl
Fri Jul 9 12:14:44 EDT 2004


Markus Neteler <neteler at itc.it> wrote:

> The 5.7 NVIZ works fine on Mandrake 10 official.

I've just tried the latest CVS and the NVIZ fails as usuall.
Grass 5.7 on my Mdk 10 Official starts but "nviz -q" gives:

(...)
Adding panels from
/usr/local/grass5.7.cvs-i686-pc-linux-gnu-05_07_2004/etc/nviz2.2/scripts
Nv_(panels)
toplevel made
child killed: segmentation violation
    while executing
"exec
/usr/local/grass5.7.cvs-i686-pc-linux-gnu-05_07_2004/etc/nviz2.2/NVWISH2.2 -
f /usr/local/grass5.7.cvs-i686-pc-linux-gnu-05_07_2004/etc/nviz2.2/sc..."
    ("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 "/usr/local/grass5.7.cvs-i686-pc-linux-gnu-05_07_2004/bin/nviz"
line 16)
(...)

And when did as before (ovewrited the NWISH2.2 with a very old NWISH2.2
taken from the archive nviz_postgresql_tk84_i686-pc-linux-gnu_.tar.gz) the
NVIZ started working.

I also tried the old Grass 5.02. The NVIZ crashed the same way then:

nviz -q

(...)
Adding panels from /usr/local/grass5/etc/nviz2.2/scripts
Nv_(panels)
toplevel made
child killed: segmentation violation
    while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f
/usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script -q -name NVIZ
>&@stdout"
    ("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 "/usr/local/grass5/bin/nviz" line 16)
(...)

But again when I overwrited the NWISH2.2 with the one from the
nviz_postgresql_tk84_i686-pc-linux-gnu_.tar.gz it started
working nice.

As I wrote before it is the same with 5.3 and 5.03 on Mdk 10 Official. With
the 5.02 and 5.03 I also tried the Mdk 9.2 and Mdk 9.2 BlueHawk some time
ago with the same result - NVIZ used to crash but after ovewriting the
NWISH 2.2 as mentioned above NVIZ was ok.

All my instalations are done from the precompiled *.tar.gz binaries from the
Grass site.

The problem is not only limited to the Mandrake or Debian testing. Helmer
Schack - Kirchner <Helmer.Schack-Kirchner at bodenkunde.uni-freiburg.de> had
the same on Suse 9.0. And as he wrote me he managed to "solve" the issue the
same way I did. But it is not perfect and minor errors pop up from time to
time.

So, it seems to me that the solution is already somewhere there in the
components
of the old upgrade for NVIZ in Grass 5.02
(nviz_postgresql_tk84_i686-pc-linux-gnu_.tar.gz) but don't take me too
serious as I do not know a thing about programming.

Thanks for the Hamishe's remarks about building and debugging but it is
not a solution for me and for some other folks I think.

Maciek

P.S.
I tried of course the Mandrake rpms from the devel repositories and then the
NVIZ is ok. But e.g. the available Grass 5.3 rpm from 20-Jun-2004 is quite
out-of-date.
And according to this example although the 5.7 rpm is fresh at the moment
(04-Jul-2004) you never know how often it is going to be updated. I don't
want to depend on those rpms because I wouldn't like to have to wait half
a year or longer for a new Grass. So could something be done for the NVIZ
to work on Mandrake when installed from a precompiled *tar.gz?




More information about the grass-user mailing list