Details Ticket 2943


Comment | Reply | Take | Open


Serial Number 2943
Subject nviz segfault on startup
Area grass5.4
Queue grass
Requestors menkyova@fns.uniba.sk
Owner none
Status resolved
Last User Contact Wed Apr 5 11:07:48 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Oct 16 05:23:45 2006 (2 yr ago)
Created Wed Jan 26 16:26:31 2005 (4 yr ago)

Transaction History Ticket 2943


Wed, Jan 26 2005 16:26:31    Request created by guest  
Subject: nviz problem

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources

Hello,
I tried to compile source code on ubuntu 4.10 warty (kernel 2.6.8) and that looks
right. After installation I tried modul nviz and it fall down.

1. If run it from command line I get following report:  

Version: @(#) 5.4.0 (5 November 2004)

Authors: Bill Brown, Terry Baker, Mark Astley, David Gerdes
        modifications: Jaro Hofierka, Bob Covill


Please cite one or more of the following references in publications
where the results of this program were used:
Brown, W.M., Astley, M., Baker, T., Mitasova, H. (1995).
GRASS as an Integrated GIS and Visualization System for
Spatio-Temporal Modeling, Proceedings of Auto Carto 12, Charlotte, N.C.

Mitasova, H., W.M. Brown, J. Hofierka, 1994, Multidimensional
dynamic cartography. Kartograficke listy, 2, p. 37-50.

Mitas L., Brown W. M., Mitasova H., 1997, Role of dynamic
cartography in simulations of landscape processes based on multi-variate
fields. Computers and Geosciences, Vol. 23, No. 4, pp. 437-446

http://www2.gis.uiuc.edu:2280/modviz/viz/nviz.html

The papers are available at
http://www2.gis.uiuc.edu:2280/modviz/
Loading Data
Update elev null mask
Loading Data
translating colors from fp
Adding panels from /usr/local/grass54/etc/nviz2.2/scripts
Nv_(panels)
toplevel made
disabling TCL support
global-exag = 1.000000
recalculating normals...
100
200
info widget made
panel area made
file menu made
Help menu made
disabled made
Nv_mkPanelMenu 1
child killed: segmentation violation
    while executing
"exec /usr/local/grass54/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass54/etc/nviz2.2/scripts/nviz2.2_scr
ipt
el=etalsasa3z -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/grass54/bin/nviz" line 16)





2. If run it from graphical interface I get following report:

g.gisenv: error while loading shared libraries: libgrass_gis.so: cannot open
shared object file: No such file or directory
    while executing
"exec g.gisenv get=GISDBASE"
    invoked from within
"set env(GISDBASE) [exec g.gisenv get=GISDBASE]"
    (file "/usr/local/grass54/bin/nviz" line 11)

Finished - press RETURN or ENTER to continue

Then I downloaded precompiled binaries source code but the problem with nviz
was same.
I have no idea where is the problem.

Thanks

Lenka Menkyova

Wed, Jan 26 2005 22:37:23    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 27 Jan 2005 10:37:14 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #2943] (grass) nviz problem
Message-Id <20050127103714.170a128f.hamish_nospam@yahoo.com>
In-Reply-To <20050126152631.63A9D102BE8@lists.intevation.de>
References <20050126152631.63A9D102BE8@lists.intevation.de>
X-Mailer Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2943
> ---------------------------------------------------------------------
> ----
> 
> Subject: nviz problem
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> 
> Hello,
> I tried to compile source code on ubuntu 4.10 warty (kernel 2.6.8) and
> that looks right. After installation I tried modul nviz and it fall
> down.
> 
> 1. If run it from command line I get following report:  
> 
> Version: @(#) 5.4.0 (5 November 2004)
..

> recalculating normals...
> 100
> 200
> info widget made
> panel area made
> file menu made
> Help menu made
> disabled made
> Nv_mkPanelMenu 1
> child killed: segmentation violation



Does it still happen if you try compiling with tcl 8.3 instead of 8.4?



> 2. If run it from graphical interface I get following report:
> 
> g.gisenv: error while loading shared libraries: libgrass_gis.so:
> cannot open shared object file: No such file or directory
>     while executing
> "exec g.gisenv get=GISDBASE"
>     invoked from within
> "set env(GISDBASE) [exec g.gisenv get=GISDBASE]"
>     (file "/usr/local/grass54/bin/nviz" line 11)



maybe add your $GISBASE/lib directory to /etc/ld.so.conf file and
running ldconfig?



Hamish


Thu, Jan 27 2005 16:24:21    Mail sent by menkyova@fns.uniba.sk  
Return-Path <menkyova@fns.uniba.sk>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 27 Jan 2005 16:24:16 +0100
From Lenka <menkyova@fns.uniba.sk>
To Hamish via RT <grass-bugs@intevation.de>
Subject Re: [bug #2943] (grass) nviz problem
Message-ID <20050127162416.A31132@nic.fns.uniba.sk>
References <20050126213723.5B9B2102BE6@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <20050126213723.5B9B2102BE6@lists.intevation.de>; from grass-bugs@intevation.de on Wed, Jan 26, 2005 at 10:37:23PM +0100
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Wed, Jan 26, 2005 at 10:37:23PM +0100, Hamish via RT wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=2943
> > ---------------------------------------------------------------------
> > ----
> > 
> > Subject: nviz problem
> > 
> > Platform: GNU/Linux/i386
> > grass obtained from: Trento Italy site
> > grass binary for platform: Compiled from Sources
> > 
> > Hello,
> > I tried to compile source code on ubuntu 4.10 warty (kernel 2.6.8) and
> > that looks right. After installation I tried modul nviz and it fall
> > down.
> > 
> > 1. If run it from command line I get following report:  
> > 
> > Version: @(#) 5.4.0 (5 November 2004)
> ..
> 
> > recalculating normals...
> > 100
> > 200
> > info widget made
> > panel area made
> > file menu made
> > Help menu made
> > disabled made
> > Nv_mkPanelMenu 1
> > child killed: segmentation violation
> 
> 
> 
> Does it still happen if you try compiling with tcl 8.3 instead of 8.4?


I compiled with tcl 8.3 and it still happen. 
The only diferent is that if I use command nviz -d under tcl 8.4 two windows
opened but during load 
 fall down with message(vide supra). If I use command nviz -d under tcl 8.3 I
get following message (it is little bit diferent like with tcl8.4):


Application initialization failed: couldn't connect to display "-name"
Error in startup script: can't read "src_boot": no such variable
    while executing
"source $src_boot/etc/nviz2.2/scripts/config.tcl"
    (file "/usr/local/grass54/etc/nviz2.2/scripts/nviz2.2_script" line 21)
child process exited abnormally
    while executing
"exec /usr/local/grass54/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass54/etc/nviz2.2/scripts/nviz2.2_scr
ipt
-d -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/grass54/bin/nviz" line 16)

 
> 
> 
> 
> > 2. If run it from graphical interface I get following report:
> > 
> > g.gisenv: error while loading shared libraries: libgrass_gis.so:
> > cannot open shared object file: No such file or directory
> >     while executing
> > "exec g.gisenv get=GISDBASE"
> >     invoked from within
> > "set env(GISDBASE) [exec g.gisenv get=GISDBASE]"
> >     (file "/usr/local/grass54/bin/nviz" line 11)
> 
> 
> 
> maybe add your $GISBASE/lib directory to /etc/ld.so.conf file and
> running ldconfig?

After that the messages from graphical interface and command line are in harmony
but nviz still doesn't work.


> 
> 
> 
> Hamish 

Thanks for advice.

Lenka

> 
> 
> --- Headers Follow ---
> 
> >From hamish_nospam@yahoo.com  Wed Jan 26 22:37:23 2005
> Return-Path: <hamish_nospam@yahoo.com>
> Delivered-To: grass-bugs@lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> 	by lists.intevation.de (Postfix) with ESMTP id 2010D102BCD
> 	for <grass-bugs@lists.intevation.de>; Wed, 26 Jan 2005 22:37:23 +0100 (CET)
> Received: from localhost (localhost [127.0.0.1])
> 	by mail.intevation.de (Postfix) with ESMTP id DA04936DE2
> 	for <grass-bugs@lists.intevation.de>; Wed, 26 Jan 2005 22:37:22 +0100 (CET)
> Received: from mailhub1.otago.ac.nz (mailhub1.otago.ac.nz [139.80.64.218])
> 	by mail.intevation.de (Postfix) with ESMTP id 5A07836CE0
> 	for <grass-bugs@intevation.de>; Wed, 26 Jan 2005 22:37:21 +0100 (CET)
> Received: from galadriel.otago.ac.nz (galadriel.otago.ac.nz [139.80.64.213])
> 	by mailhub1.otago.ac.nz (8.12.11/8.12.11) with ESMTP id j0QLbGRr012696
> 	for <grass-bugs@intevation.de>; Thu, 27 Jan 2005 10:37:16 +1300
> Received: from ocean3 (ocean3.otago.ac.nz [139.80.35.38])
> 	by galadriel.otago.ac.nz (8.12.8/8.12.8) with SMTP id j0QLbFpv010659
> 	for <grass-bugs@intevation.de>; Thu, 27 Jan 2005 10:37:15 +1300 (NZDT)
> Date: Thu, 27 Jan 2005 10:37:14 +1300
> From: Hamish <hamish_nospam@yahoo.com>
> To: Request Tracker <grass-bugs@intevation.de>
> Subject: Re: [GRASS5] [bug #2943] (grass) nviz problem
> Message-Id: <20050127103714.170a128f.hamish_nospam@yahoo.com>
> In-Reply-To: <20050126152631.63A9D102BE8@lists.intevation.de>
> References: <20050126152631.63A9D102BE8@lists.intevation.de>
> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-pc-linux-gnu)
> X-Face: M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB
>  8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
> Mime-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> X-Spam-Status: No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00,
> 	FORGED_YAHOO_RCVD
> X-Spam-Level: 
> 
> -------------------------------------------- Managed by Request Tracker


Mon, Dec 12 2005 12:58:46    Area changed to grass5.4 by msieczka  
Wed, Apr 5 2006 11:07:48    Mail sent by hbowman  
Does this still happen with the latest? If I don't hear back I'll assume that
Cedric's recent fix solved the problem, as NVIZ now seems to work for everyone
else on Debian/Ubuntu.


Hamish
Wed, Apr 5 2006 11:08:10    Subject changed to nviz segfault on startup by hbowman  
Wed, Jul 5 2006 13:31:35    Comments added by hbowman  
note this is GRASS 5.4, TclTk 8.4 fixes for NVIZ have not been applied AFAIK.
You need to compile with Tck/Tk 8.3-dev.


Hamish
Mon, Oct 16 2006 05:23:45    Status changed to resolved by hbowman  
Mon, Oct 16 2006 05:23:45    Comments added by hbowman  
This is fixed in newer version of GRASS, and won't be fixed in GRASS 5.4.

closing the bug.


Hamish
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request