[GRASS5] Tcl8.4 support?

Hamish hamish_nospam at yahoo.com
Thu Aug 28 22:07:40 EDT 2003


> > The CVS HEAD version of NVIZ still doesn't work on Debian Testing
> > with tcl8.4.
...
> > (gets stuck on "exec")
...
> could you add some "strace" into etc/nviz2.2/scripts/nviz2.2_script
> to debug the binary problem and send the outcome (at least the
> crashing part)?
> 
> Maybe we get an idea what's wrong. 

This compile: instead of stopping on the first "exec" in nviz2.2_script,
it segfaults again.

tcl8.3-dev & tk8.3-dev packages have been removed from the system.
compiled with --with-tcltk-includes=/usr/include/tcl8.4 


...
Hamish
============================================================


without strace:
------------------
GRASS:~ > nviz i2                              


Version: @(#) 5.0.3 (August 2003)

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
building color table
child killed: segmentation violation
    while executing
"exec
/usr/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/etc/nviz2.2
/NVWISH2.2 -f
/usr/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/..."   
("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/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/bin/nviz"
line 16)





with strace:
---------------------

-- Here is the end of the log, the full log is at
http://bambi.otago.ac.nz/hamish/grass/nviz_tcl8.4.txt


GRASS:~ > strace nviz i2 > nviz_tcl8.4_crash.txt 2>&1

[...]
Version: @(#) 5.0.3 (August 2003)

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
building color table
[WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 5475
--- SIGCHLD (Child exited) @ 0 (0) ---
brk(0)                                  = 0x8085000
brk(0x8089000)                          = 0x8089000
write(2, "child killed: segmentation viola"..., 658child killed: segmentation violation
    while executing
"exec /usr/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/etc/nviz2.2/NVWISH2.2 -f /usr/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/..."
    ("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/src/grass5source/grass-5.0.3rc2/dist.i686-pc-linux-gnu/bin/nviz" line 16)) = 658
write(2, "\n", 1
)                       = 1
fcntl64(2, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
fcntl64(2, F_SETFL, O_WRONLY|O_LARGEFILE) = 0
fcntl64(2, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
fcntl64(1, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
fcntl64(1, F_SETFL, O_WRONLY|O_LARGEFILE) = 0
fcntl64(1, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
fcntl64(0, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(0, F_SETFL, O_RDWR)             = 0
fcntl64(0, F_GETFL)                     = 0x2 (flags O_RDWR)
write(6, "q", 1)                        = 1
close(6)                                = 0
kill(5471, SIGRTMIN)                    = 0
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\7\0\0\0)\346\f@@\362\377\277pu\f@`\"\f@\7\335"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
write(4, "\200 \r@\2\0\0\0\1\0\0\0j\352\25 at 8\362\377\277\340\222"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
wait4(5470, NULL, __WCLONE, NULL)       = 5470
exit_group(1)                           = ?




More information about the grass-dev mailing list