[GRASS5] RE: [bug #4140] (grass) Nviz doesn't start either from GUI or CLI

Luigi Pirelli l.pirelli at acsys.it
Wed Mar 8 05:19:44 EST 2006


Hamish wrote:
> (gdb) bt
> #0  0x42126ae0 in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #1  0x4212667b in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #2  0x421267bf in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #3  0x420942b2 in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #4  0x420942d9 in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #5  0x42011c5a in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #6  0x42013d7c in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #7  0x420141e8 in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #8  0x4212b1bc in __driUtilCreateScreen () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #9  0x41ffd35d in __driUtilUpdateDrawableInfo () from /usr/X11R6/lib/modules/dri/r200_dri.so
> #10 0x40853195 in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1
> #11 0x408532ec in glXCreateContext () from /usr/X11R6/lib/libGL.so.1
> #12 0x080628d7 in Togl_MakeWindowExist (togl=0x81b1898) at togl.c:1451  <-----------------------------!!!!!
> #13 0x0806172f in Togl_Configure (interp=0x807bfb0, togl=0x81b1898, argc=6, argv=0xbfffe778, flags=0)
>     at togl.c:905
> #14 0x08061e7f in Togl_Cmd (clientData=0x808c6e0, interp=0x807bfb0, argc=8, argv=0xbfffe770)
>     at togl.c:1103
> #15 0x406fc66f in TclInvokeStringCommand () from /usr/lib/libtcl8.4.so.0
> (it failed last year before I was using the radeon card & had dri going...)

seems a problem/setting with Graphic Card o its driver, but....

> visualization/nviz/scripts/nviz2.2_script
> 
> it helped to turn on debug messages (at the top of nviz2.2_script)
> set DEBUG 1
> 
> 
>   segfaults in
> proc Nv_force_panel
>   on this line:
> set Nv_($path) [mk$name\Panel $path]
> 
> debug output:
>  $path=.middle.panelarea.panels.surf
>  $name=surf
> 
> This is called from the Nv_mkPanelMenu proc, "surf" is the first $i
> of $Nv_(panels).

we had similar problem creating our panels... I hope tomorrow to give you more 
info when my collegue Massimo Cuomo back to office.

> changing that line to
> set Nv_($path) {mk$name\Panel $path}

NO!... don't change it... you should investigate inside the mksurfPanel module 
taht you can find in the script directory

i found it in the <grass install path>/etc/nviz2.2/scripts/panel_surf.tcl

investigate inside this tcl code, but...

I thing it's bettere to investigate on driver setting in /etc/X11R6

bye ginetto
www.riade.net
www.acsys.it




More information about the grass-dev mailing list