[vtkusers] problem with vtk3DWidgets and observer order
Charl P. Botha
c.p.botha at its.tudelft.nl
Tue May 14 09:38:25 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 ?
That's easy. CVS checkout of today. I can make it crash (reliably) by
starting it up, moving the camera around a bit (left mouse drag), pressing
'a', moving one of the actors slightly (left mouse drag) and then 'c'. If I
for e.g. don't move between 'a' and 'c', there's no segfault. There are
also a number of other combinations for making it crash.
Your stacktrace monsieur:
(gdb) run Mace.tcl
Starting program: /home/cpbotha/DoNotBackup/build/VTK/bin/vtk Mace.tcl
[New Thread 1024 (LWP 2532)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2532)]
vtkSubjectHelper::InvokeEvent (this=0x80fa860, event=21, callData=0x0,
self=0x80f7b88)
at /home/cpbotha/DoNotBackup/build/VTK/Common/vtkObject.cxx:457
457 next = elem->Next;
(gdb) bt
#0 vtkSubjectHelper::InvokeEvent (this=0x80fa860, event=21, callData=0x0,
self=0x80f7b88)
at /home/cpbotha/DoNotBackup/build/VTK/Common/vtkObject.cxx:457
#1 0x410611ce in vtkObject::InvokeEvent (this=0x80f7b88, event=21,
callData=0x0)
at /home/cpbotha/DoNotBackup/build/VTK/Common/vtkObject.cxx:581
#2 0x4147f6ac in vtkXRenderWindowTclInteractorCallback (
client_data=0x80f7b88, event=0x813a1f0)
at /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx:484
#3 0x4147e8f5 in vtkTclEventProc (clientData=0x80f7b88, event=0x813a1f0)
at /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx:63
#4 0x41286053 in Tk_HandleEvent () from /usr/lib/libtk8.3.so.1
#5 0x412867ca in TkQueueEventForAllChildren () from /usr/lib/libtk8.3.so.1
#6 0x411eb48a in Tcl_ServiceEvent () from /usr/lib/libtcl8.3.so.1
#7 0x411eb7ac in Tcl_DoOneEvent () from /usr/lib/libtcl8.3.so.1
#8 0x4128111c in Tk_TkwaitCmd () from /usr/lib/libtk8.3.so.1
#9 0x411b58c6 in TclInvokeStringCommand () from /usr/lib/libtcl8.3.so.1
#10 0x411ed64d in TclExpandTokenArray () from /usr/lib/libtcl8.3.so.1
#11 0x411edd54 in Tcl_EvalEx () from /usr/lib/libtcl8.3.so.1
#12 0x411e5007 in Tcl_EvalFile () from /usr/lib/libtcl8.3.so.1
#13 0x412909c5 in Tk_MainEx () from /usr/lib/libtk8.3.so.1
#14 0x080491cd in main (argc=2, argv=0xbffff5b4)
at /home/cpbotha/DoNotBackup/build/VTK/Wrapping/Tcl/tkAppInit.cxx:68
(gdb) bt
#0 vtkSubjectHelper::InvokeEvent (this=0x80fa860, event=21, callData=0x0,
self=0x80f7b88)
at /home/cpbotha/DoNotBackup/build/VTK/Common/vtkObject.cxx:457
#1 0x410611ce in vtkObject::InvokeEvent (this=0x80f7b88, event=21,
callData=0x0)
at /home/cpbotha/DoNotBackup/build/VTK/Common/vtkObject.cxx:581
#2 0x4147f6ac in vtkXRenderWindowTclInteractorCallback (
client_data=0x80f7b88, event=0x813a1f0)
at /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx:484
#3 0x4147e8f5 in vtkTclEventProc (clientData=0x80f7b88, event=0x813a1f0)
at /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx:63
#4 0x41286053 in Tk_HandleEvent () from /usr/lib/libtk8.3.so.1
#5 0x412867ca in TkQueueEventForAllChildren () from /usr/lib/libtk8.3.so.1
#6 0x411eb48a in Tcl_ServiceEvent () from /usr/lib/libtcl8.3.so.1
#7 0x411eb7ac in Tcl_DoOneEvent () from /usr/lib/libtcl8.3.so.1
#8 0x4128111c in Tk_TkwaitCmd () from /usr/lib/libtk8.3.so.1
#9 0x411b58c6 in TclInvokeStringCommand () from /usr/lib/libtcl8.3.so.1
#10 0x411ed64d in TclExpandTokenArray () from /usr/lib/libtcl8.3.so.1
#11 0x411edd54 in Tcl_EvalEx () from /usr/lib/libtcl8.3.so.1
#12 0x411e5007 in Tcl_EvalFile () from /usr/lib/libtcl8.3.so.1
#13 0x412909c5 in Tk_MainEx () from /usr/lib/libtk8.3.so.1
#14 0x080491cd in main (argc=2, argv=0xbffff5b4)
at /home/cpbotha/DoNotBackup/build/VTK/Wrapping/Tcl/tkAppInit.cxx:68
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtkusers
mailing list