[vtkusers] User-defined ExitMethod to close an interactive vtk model by breaking threads to vtkRenderWindowInteractor and vtkRenderWindow gives Segmentation Fault

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Nov 19 21:06:22 EST 2001


>>>>> "AU" == Anwar Upal <upal at me.queensu.ca> writes:

    AU> vtkRenderWindowInteractor and vtkRenderWindow.  This gives me
    AU> a segmentation fault when my exitMethod tries to break the
    AU> threads.  Is there another way...?

Its hard for people to figure out the problem with pure code.  A trace
from a debugger is usually more helpful.  Try running your code with a
debugger and see where it segfaults.  Also try using a static member
function instead of a static_cast etc.

prabhu



More information about the vtkusers mailing list