Page MenuHomePhabricator

potential crash in segmentation tools
Closed, ResolvedPublic

Description

the crash (segfault) is reproducible by reordering the test calls in mitkToolInteractionTest.cpp so that the WipeToolInteractionTest is called after another test.
for example:

MITK_TEST(AddToolInteractionTest);
MITK_TEST(WipeToolInteractionTest);

Event Timeline

kolbch added a subscriber: kolbch.

this crash occured only after statemachine changes in T18240

This is not really critical.
The problem is, that the 3D interpolation is on by default but not initialized in the ToolInteractionText.
It can not be reproduced in MitkWorkbench

An exception handling should be introduced in the mitkSurfaceInterpolationController in order to prevent its usage without proper initialization.

User kolbch has pushed new remote branch:

bug-18382-CrashPreventionInSurfaceInterpolationController

[cc5d11]: Merge branch 'bug-18382-CrashPreventionInSurfaceInterpolationControlle

Merged commits:

2014-11-05 15:08:54 Christoph Kolb [096cbb]
check if m_SelectedSegmentation is there before contour is removed