[GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window

Request Tracker grass-bugs at intevation.de
Fri Jun 30 14:09:43 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4768
-------------------------------------------------------------------------

Subject: nviz segfault on startup when creating display window

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: CVS 2006_06_24

Even with a simple quickstart: nviz -q, nviz is crashing with a segfault when it tries to create the 
output window.  From the OSX crashlog:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x5c637273

Thread 0 Crashed:
0   libX11.6.dylib                 	0x9bd35fa1 XQueryExtension + 24
1   libGL.1.dylib                  	0x9be2edab glXQueryExtension + 62
2   nviz                           	0x000115eb Togl_CreateWindow + 56
3   com.tcltk.tklibrary            	0x9ad191ad Tk_MakeWindowExist + 120
4   nviz                           	0x000126a3 Togl_Cmd + 1046
5   com.tcltk.tcllibrary           	0x9ac181a3 TclInvokeStringCommand + 121
6   com.tcltk.tcllibrary           	0x9ac1a915 TclEvalObjvInternal + 733
7   com.tcltk.tcllibrary           	0x9ac3d666 TclExecuteByteCode + 3101
8   com.tcltk.tcllibrary           	0x9ac4244e TclCompEvalObj + 279
9   com.tcltk.tcllibrary           	0x9ac6926d TclObjInterpProc + 524
10  com.tcltk.tcllibrary           	0x9ac1a915 TclEvalObjvInternal + 733
11  com.tcltk.tcllibrary           	0x9ac1ac1c Tcl_EvalEx + 488
12  com.tcltk.tcllibrary           	0x9ac5893a Tcl_FSEvalFile + 400
13  com.tcltk.tcllibrary           	0x9ac1a915 TclEvalObjvInternal + 733
14  com.tcltk.tcllibrary           	0x9ac1ac1c Tcl_EvalEx + 488
15  com.tcltk.tcllibrary           	0x9ac1b03a Tcl_Eval + 42
16  nviz                           	0x0000cac0 Ninit + 199
17  nviz                           	0x00002614 NVIZ_AppInit + 210
18  com.tcltk.tklibrary            	0x9acef2eb Tk_MainEx + 761
19  nviz                           	0x000111ca main + 97
20  nviz                           	0x000024ea _start + 228 (crt.c:272)
21  nviz                           	0x00002405 start + 41

If I add an elevation raster from spearfish6 demo, it shows some status, then crashes with the same 
thread trace when trying to create the window.

Loading Data
Update elev null mask
Loading Data
translating colors from fp


GRASS CVS 06-6-24, TclTk 8.4.13 (unix, not Aqua), Mac OS 10.4.6/GCC 4.0.1

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list