Original task description
- Open an image
- Create a segmentation
- Open Measurement View
- Draw a line in the Axial window
- Click an move the mouse in another 2-d render window Unhandled exception/Crash
Two things are strange here. First, the crash only happens if there's an image and a segmentation. Second, even though being in line mode, the exception is thrown in GeneratePolyLine()/GetControlPoint() of a PlanarCircle.
> MitkPlanarFigure.dll!mitk::PlanarFigure::GetControlPoint(unsigned int index) Line 247 C++ MitkPlanarFigure.dll!mitk::PlanarCircle::GeneratePolyLine() Line 146 C++ MitkPlanarFigure.dll!mitk::PlanarFigure::EvaluateFeatures() Line 412 C++ MitkPlanarFigure.dll!mitk::PlanarFigureInteractor::FinalizeFigure(mitk::StateMachineAction * __formal, mitk::InteractionEvent * __formal) Line 183 C++ MitkPlanarFigure.dll!mitk::MessageDelegate2<mitk::PlanarFigureInteractor,mitk::StateMachineAction *,mitk::InteractionEvent *,void>::Execute(mitk::StateMachineAction * t, mitk::InteractionEvent * u) Line 241 C++ MitkCore.dll!mitk::EventStateMachine::ExecuteAction(mitk::StateMachineAction * action, mitk::InteractionEvent * event) Line 204 C++ MitkCore.dll!mitk::EventStateMachine::HandleEvent(mitk::InteractionEvent * event, mitk::DataNode * dataNode) Line 151 C++ MitkCore.dll!mitk::Dispatcher::ProcessEvent(mitk::InteractionEvent * event) Line 177 C++ MitkCore.dll!mitk::RenderWindowBase::HandleEvent(mitk::InteractionEvent * interactionEvent) Line 66 C++ MitkQtWidgets.dll!QmitkRenderWindow::event(QEvent * e) Line 240 C++
New task description
It's a segmentation issue!
- Open image
- Create segmentation
- Use add tool in Axial window
- Continue using it in another render window same crash!
Update
The crash only occurs when the Measurements View is open (doesn't have to be active).