[GRASS-dev] debugging nviz with TclTk 8.5 aqua
Michael Barton
michael.barton at asu.edu
Tue Jul 22 02:56:18 EDT 2008
Glynn,
After some delays, I managed to recompile GRASS 7 with CFLAGS="-arch
i386 -g", etc so that gdb would produce useful output, and with TclTk
8.5 aqua for Mac. Running nviz in gdb gives the results below.
Hopefully these are more helpful. It freezes at the last line.
(gdb) run -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script
elev=elevation.dem
Starting program: /Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/
nviz2.2/nviz -f $GISBASE/etc/nviz2.2/scripts/nviz2.2_script
elev=elevation.dem
Reading symbols for shared libraries . done
Reading symbols for shared libraries ....... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Loading raster map <elevation.dem at PERMANENT>...
Loading raster map <elevation.dem at PERMANENT>...
Translating colors from raster map <elevation.dem at PERMANENT>...
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000024
0x0001702d in Togl_CreateWindow (tkwin=0x1fdb608, parent=30857160,
instanceData=0x758db0) at togl.c:2338
2338 if (!aglSetDrawable(togl->aglCtx,
Michael
More information about the grass-dev
mailing list