Page MenuHomePhabricator

MITK crashes when right clicking on missing segmentation label list in multilabel view
Closed, ResolvedPublic

Description

Dear MITK-Team,

I'm working with the latest MITK 2018-04 release on Ubuntu 16.04.

As mentioned in bug report T25754, the multilabel view needs a restart (to be able to use the tools in the multilabel view) when a nifti, containing a segmentation map, is loaded.

Sometimes, and unfortunately I cannot force this to happen, when restarting the multilabel view the labels are not listed under "number of labels: x" in the multi label view, although I can see the segmentation map normally in Display. With a right click in the field where the labels should be listed, I made MITK crash.

Below three examples of the command line output leading to the crash:

[37.010] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[37.010] rightHandSide is 83.5620046255 : leftHandSide is 200 and tolerance is 2.22044604925e-14
[37.010] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[37.010] rightHandSide is 31.5026407109 : leftHandSide is 240 and tolerance is 2.22044604925e-14
[37.010] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[37.010] rightHandSide is 279 : leftHandSide is 10 and tolerance is 2.22044604925e-14
[37.014] Connection Established
[37.757] Connection Lost
[37.933] Connection Established
Aborted (core dumped)

[792.710] [-26.6894, 128.494, -425.662]
[792.710] [129.287, -141.001, -58.5883]
[792.710] used time geometry: ProportionalTimeGeometry
[792.718] number of image components: 1
[792.810] ...finished!
[794.262] Connection Established
[810.988] Connection Lost
[811.164] Connection Established
Aborted (core dumped)

[730.588] [63.609, 98.987, -627.586]
[730.588] [114.271, -167.576, -232.645]
[730.588] used time geometry: ProportionalTimeGeometry
[730.598] number of image components: 1
[730.683] ...finished!
[731.924] [widget.stdmulti] changing layout to default...
[732.910] Connection Established
[733.376] [widget.stdmulti] changing layout to big Widget3 ...
[734.257] Connection Lost
[734.403] Connection Established
Aborted (core dumped)

<3,
Peter

Event Timeline

kislinsk added a subscriber: kislinsk.

This happens if the source image is set to the original image and the segmentation is set to the converted image. It does not happen if the source image is set to the pseudo segmentation image (the image that is converted to the segmentation). The pixel value in the crashing function is set to -1 then but there is no label with this pixel value leading to a nullptr access.