Page MenuHomePhabricator

[Segmentation] Crash when segmenting in different render windows
Closed, ResolvedPublic

Description

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).

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kislinsk created this task.
kislinsk renamed this task from Crash in planar figure interaction edge case to [Segmentation] Crash when segmenting in different render windows.Apr 24 2023, 1:42 PM
kislinsk raised the priority of this task from High to Unbreak Now!.
kislinsk updated the task description. (Show Details)
kislinsk edited projects, added MITK (v2023.04); removed MITK.
kislinsk moved this task from Backlog to Cycle on the MITK (v2023.04) board.
kislinsk added a revision: Restricted Differential Revision.Apr 24 2023, 2:30 PM

Deleted branch from rMITK MITK: bugfix/T29537-FixSegmentationMeasurementCrash.