[vtkusers] problem with vtk3DWidgets and observer order

Robert Belleman robbel at science.uva.nl
Tue May 14 10:04:05 EDT 2002


On Tue, May 14, 2002 at 09:16:02AM -0400, Sebastien BARRE wrote:
> Let's see if it's related to the 3D widgets or the interactor styles.
> Can you test Examples/GUI/Tcl/Mace.tcl (not MaceTk.tcl), use all modes 
> (i.e. 't' for trackball, 'j' for joystick, 'c' for camera, 'a' for actor) 
> and make it crash ?

Oh my... This is scary.

I confirm a crash:

	I start vtk Mace.tcl, click left and move: all ok
	I press 't', click left and move: all ok
	I press 'j': segmentation fault

What is scary is that this also *reliably* crashes my X server when
I use nVidia's 1251 drivers. The X server continues when using the 2880
drivers.  I have good reasons for using the 1251 reasons but now I'll
have to reconsider...

Anyway; I also confirm Charl's stack trace:

$ gdb `which vtk` core
[...]
#0  0x40dc8c9c in vtkSubjectHelper::InvokeEvent ()
   from /usr/local/VTK/debug/lib/libvtkCommon.so
(gdb) bt
#0  0x40dc8c9c in vtkSubjectHelper::InvokeEvent ()
   from /usr/local/VTK/debug/lib/libvtkCommon.so
#1  0x40dc8fba in vtkObject::InvokeEvent ()
   from /usr/local/VTK/debug/lib/libvtkCommon.so
#2  0x4115109e in vtkXRenderWindowTclInteractorCallback ()
   from /usr/local/VTK/debug/lib/libvtkRenderingTCL.so
#3  0x411502fa in vtkTclEventProc ()
   from /usr/local/VTK/debug/lib/libvtkRenderingTCL.so
#4  0x40f60d40 in Tk_HandleEvent () from /usr/lib/libtk.so.0
#5  0x40f614b0 in WindowEventProc () from /usr/lib/libtk.so.0
#6  0x40f0eef1 in Tcl_ServiceEvent () from /usr/lib/libtcl.so.0
#7  0x40f0f211 in Tcl_DoOneEvent () from /usr/lib/libtcl.so.0
#8  0x40f5be72 in Tk_TkwaitCmd () from /usr/lib/libtk.so.0
#9  0x40eda100 in TclInvokeStringCommand () from /usr/lib/libtcl.so.0
#10 0x40f111b9 in EvalObjv () from /usr/lib/libtcl.so.0
#11 0x40f11887 in Tcl_EvalEx () from /usr/lib/libtcl.so.0
#12 0x40f08e38 in Tcl_EvalFile () from /usr/lib/libtcl.so.0
#13 0x40f6b35c in Tk_MainEx () from /usr/lib/libtk.so.0
#14 0x080492da in main (argc=2, argv=0xbfffef64)
    at /usr/local/src/VTK/Wrapping/Tcl/tkAppInit.cxx:68
#15 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6


-- Rob

-- 
[] Robert Belleman         X  Section Computational Science            []
[] robbel at science.uva.nl  |X| University of Amsterdam, the Netherlands []
[] tel: (+31) 20 525 7510  X  http://www.science.uva.nl/~robbel/       []



More information about the vtkusers mailing list