Page MenuHomePhabricator

MITK crashes when deleting files from Data Manager
Closed, WontfixPublic

Description

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.

EDIT:
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.

<3,
Peter

Event Timeline

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.

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!

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.

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

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

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs