[GRASSLIST:3403] Re: NVIZ segfault

Hamish hamish_nospam at yahoo.com
Wed May 12 19:57:11 EDT 2004


> I saw it with the 5.03 debian package, now I'm still seeing it with
> 5.3-cvs. I thought this had been fixed years ago: 
[...]
> child killed: segmentation violation
>     while executing
> "exec /usr/local/grass53/etc/nviz2.2/NVWISH2.2 -f
> /usr/local/grass53/etc/nviz2.2/scripts/nviz2.2_script el=gdaltest
> -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/grass53/bin/nviz" line 16)



With Debian, you need to compile against TclTk 8.3.
(install the tcl8.3-dev and tk8.3-dev packages)

see debian bug #248105
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248105




Two more suspects for consideration:

#171353: tk crash if widget accessed from wrong thread
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171353

#201062: tcl8.4: Tcl_CreateInterp() creates a pipe and does not set handles to close on exec
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=201062




Hamish




More information about the grass-user mailing list