[vtkusers] Cone example having libGL problem
    Alfred K. K. Wong 
    awong at eee.hku.hk
       
    Sat Jan 18 00:15:00 EST 2003
    
    
  
Dear VTK users:
After compiling VTK successfully, the Cone example (% vtk Cone.tcl) gave
a "Segmentation fault" error, despite "% vtk" started fine by itself.
I believe my problem is the same as the one appended, which was posted
to this list last year.  Unfortunatley I could not find the solution in
the archive.  Please help.
Thanks.
Sincerely,
Alfred Wong
HI
I am running vtk and am getting a core dump for the command
vtk /opt/vtk/graphics/examplesTcl/Cone.tcl
the trace stack is
#0  0x40ebe6d0 in glXGetCurrentContext () from /usr/lib/libGL.so.1
(gdb) where
#0  0x40ebe6d0 in glXGetCurrentContext () from /usr/lib/libGL.so.1
#1  0x40ebe6a8 in glXGetCurrentContext () from /usr/lib/libGL.so.1
#2  0x40966f20 in vtkOpenGLRenderWindow::WindowInitialize ()
   from /usr/lib/libVTKGraphics.so
#3  0x409682fc in vtkOpenGLRenderWindow::Initialize ()
   from /usr/lib/libVTKGraphics.so
#4  0x40965f9b in vtkOpenGLRenderWindow::Start ()
   from /usr/lib/libVTKGraphics.so
#5  0x405b8034 in vtkXRenderWindowTclInteractor::Initialize ()
   from /usr/lib/libVTKGraphicsTcl.so
#6  0x4061c4e5 in vtkRenderWindowInteractorCppCommand ()
   from /usr/lib/libVTKGraphicsTcl.so
#7  0x4061c281 in vtkRenderWindowInteractorCommand ()
   from /usr/lib/libVTKGraphicsTcl.so
#8  0x410bb869 in TclInvokeStringCommand () from /usr/lib/libtcl8.3.so
#9  0x410f62e1 in EvalObjv () from /usr/lib/libtcl8.3.so
#10 0x410f69eb in Tcl_EvalEx () from /usr/lib/libtcl8.3.so
#11 0x410ed65a in Tcl_EvalFile () from /usr/lib/libtcl8.3.so
#12 0x41014a65 in Tk_MainEx () from /usr/lib/libtk8.3.so
#13 0x8048b77 in main ()
#14 0x41307b65 in __libc_start_main (main=0x8048b3c <main>, argc=2,
any ideas as to what the problem is
thanks
chandra
    
    
More information about the vtkusers
mailing list