Page MenuHomePhabricator

Segmentation View still holds an reference to removed image
Closed, ResolvedPublic

Description

Add an observer to an image who listens to the itk delete event. while removing the image form the datamanager there is neither an itk event fired nor the destructor is called. during searching for the reason we also found out that there is no event fired for a datanode.

Event Timeline

We found out that the segmentation view holds a smartpointer to the corresponding data node and thus the node isn't deleted when it was removed from the datamanager.

Changing severity since a crash is always critical

The reference is most likely held in the mitkComputeContourSetNormalsFilter.

Tobi can you check that?

What is the status of this bug? Please change the target milestone to "AfterNextRelease" if this bug is not relevant or cannot be fixed in time for the 2013-06 release.

Current release is finished. Reseting target milestone...

I think this bug is fixed with T17993. There a test for the delete event is performed and it passes