Steps to reproduce:
- draw linie with measurement tools
- close measurement view
- click on measurement in data manager
Steps to reproduce:
Steps to reproduce:
The Measurement View holds a weak pointer to the currently selected image. When the View is closed, the weak pointer's dtor is called correctly and its observer tags are removed from the image data node - at least it seems so. However, sometimes the data node still tries to inform the observing weak pointer, which was already destructed, which causes the crash. (???)
Replacing the weak pointer by a full smart pointer works. I checked that the View doesn't keep a reference to an already deleted image data node.
User kislinsk has pushed new remote branch:
bug-18962-ReplaceWeakPointerByFullSmartPointer
[373cd8]: Merge branch 'bug-18962-ReplaceWeakPointerByFullSmartPointer'
2015-04-17 10:11:23 Stefan Kislinskiy [a75ec0]
Replaced weak pointer by ref counting smart pointer.