Page MenuHomePhabricator

Crash when deleting the segmentation that is worked on
Closed, ResolvedPublic

Description

To reproduce:

  1. Open MITK and load an image
  2. Open Segmentation bundle and create a segmentation for the image
  3. Activate "Paint" tool
  4. delete the segmentation in the datamanager

->Crash

Event Timeline

Seems to work under linux.
Changing platform.

It crashes only if the "Show helper objects" property is checked (Window->Preferences->DataManager->...)!!!

As Ingmar has no time and Kwong is gone I'll take it on

You must open both views (the data manager and the segmentation bundle) parallel to reproduce this bug.

This bug is perhaps caused by the class QmitkDataStorageTreeModel, the method GetIndex() of the inner class TreeItem is crashing after deletion of the segmentation.

Caution: This bug seems to be a pretty tough one!

I made some changes to the selection behavior of the segmentation bundle. (T9767)
I tried to reproduce this bug but it looks like it doesn't appear any more (at least not on Mac OS).
Can anyone verify that for linux or windows?