Crash when printing debug information (F2 key)
About you
CamiTK developer
Overview
When a component is displayed in InteractiveViewer, pressing the F2 key should display debug information in the log. Instead, CamiTK crashes (segfault).
Steps to Reproduce
- Run camitk-imp
- Open a mesh (.obj) or an image (.nii)
- Push F2 key
Actual VS Expected Result
IMP crashes and does not display debug information
Interpretation & Possible fixes
Crash happens in InteractiveViewer.cpp when creating a list of all props from a component:
std::list<vtkSmartPointer <vtkProp> > allActors(actorMap.values(c).begin(), actorMap.values(c).end());
CamiTK Version
Current develop branch of camitk-5.2
please do not remove anything below this line