Page MenuHomePhabricator | MITK

MITK crashes when deleting files from Data Manager
Open, NormalPublic


Dear MITK-Team,

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

Similar as in T25759 MITK crashed in the curse of deleting files from the Data Manager (1 image (nii.gz), 1 segmentation (.nii) and the converted segmentation from this file) after saving. I deleted them by

  1. mark all of them
  2. right click -> delete

I did this many times before without causing a crash. So unfortunately I cannot tell what the problem cause.

take files from E130-Personal/Full/2018/MITKbugs/TwoPatients
Reproduce crash with two patients (did also happen with one patient only but with two patients I can reproduce it):

  1. load patient image and corresponding segmentation
  2. right click on segmentation -> convert to segmentation
  3. make any change to segmentation (otherwise MITK will not crash later)
  4. load second image and corresponding segmentation
  5. right click on segmentation -> convert to segmentation
  6. right click in the lowest (oldest) images in the Data Manager -> remove -> crash

Command line out put below

[167.692] Writing image: /mnt/tera1/KORA/Data_segmented/KORA2452252/manual/Pred_4d_pat_2452252_study_72-labels_manual_SCMR.nii
[168.122] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[168.122] rightHandSide is 64.6687981214 : leftHandSide is 200 and tolerance is 2.22044604925e-14
[168.122] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[168.122] rightHandSide is 45.1412978215 : leftHandSide is 240 and tolerance is 2.22044604925e-14
[168.122] [( Geometry3D::BoundingBoxType )] bounds are not equal.
[168.122] rightHandSide is 184 : leftHandSide is 11 and tolerance is 2.22044604925e-14
Aborted (core dumped)

Hope that helps.


Event Timeline

full created this task.Dec 13 2018, 9:00 AM
kislinsk triaged this task as High priority.Dec 13 2018, 9:02 AM

What do you mean by "the converted segmentation from this file"? So there's two or three files in the Data Manager?

I think the "most promising" difference between the crashing and non-crashing scenarios is the order of deletion. I just need more information to reproduce.

full added a comment.Dec 14 2018, 12:20 PM

As briefly discussed in the hall way:
I load two files into the object manager. One file is the MR image, the other file holds the segmentation for the MR image. The file holding the segmentation is then converted into a segmentation (right click -> convert to segmentation). This leaves me with 3 files in the data manager.

In case I will be able to reproduce this crash, I'll let you know!

full updated the task description. (Show Details)Dec 14 2018, 3:49 PM
kislinsk claimed this task.Dec 18 2018, 9:46 AM

Unfortunately I'm still not able to reproduce. Maybe you can come over and show me your steps personally. :-)

Peter showed me the bug at his workplace. I cannot reproduce it with Windows. Trying to crash it with Ubuntu as well...

Also cannot reproduce it with Ubuntu 16.04.

kislinsk removed kislinsk as the assignee of this task.Dec 18 2018, 2:07 PM

Can you please try to crash it again at your workstation, but this time close the segmentation view before you delete the nodes.

full added a comment.Dec 19 2018, 8:01 AM

When I close the segmentation view before I remove the files from the Data Manager, the workstation does not crash

kislinsk lowered the priority of this task from High to Normal.Dec 19 2018, 1:42 PM
kislinsk edited projects, added MITK; removed MITK (2018-04-2).Mon, Mar 11, 9:26 AM