Page MenuHomePhabricator

MITK Diffusion crashes when selecting a segmentation tool after image and segmentation have been loaded
Closed, InvalidPublic

Description

This bug only occurs in MITK Diffusion 2014.10.02, not in 2014.10.00.

Steps to reproduce:

  • Open MITK Diffusion
  • Open segmentation view
  • Load an image
  • Load a corresponding segmentation
  • Select a segmentation tool, e.g. Add

--> workbench crashes

If segmentation view is opened after loading images, the workbench doesn't crash.

Event Timeline

I can not reproduce this on ubuntu 14.04 following the described steps. I did have to reinit the segmentation after loading both, though. Does the warning not appear on your system?

First, I'm also working on ubuntu 14.04.

Thanks for the pointer! I'm not asked to reinit the segmentation and the segmentation tools are enabled. I checked the properties of my images: they have the same geometry. If the segmentation image has a different geometry, I'm asked to reinit it.

But there seems to be an update problem of the segmentation view. After reinit of the segmentation, the warning is still shown and the segmentation tools are still disabled. Clicking somewhere in the segmentation view removes the warning and enables the tools. From now on I can use the tools.

So back to the image set with same geometry: I can prevent the described crash by first clicking on an empty area (not a tool button) in the segmentation view before selecting a tool.

I tried reproducing it with data which does not need to be initialized:

Matrix: 1,0,0;-0,-0,-1;-0,-1,-0

No crash, but upon loading it is not possible to actually modify the segmentation. Reinit results in the usual - all planes are at the very outside of the bounding box and cannot be changed - negative matrix bug.

Matrix changed by hand to: 1,0,0;0,1,0;0,0,1

No crash and works fine.

Can you reproduce it on the current master? On the release with different data?

Working on arch linux, i cannot reproduce this bug.
the image data used, also requires no reinit for the segmentation.

@matthias, can you check again on a current master?

On current master, I can't reproduce this bug anymore.
I still don't need to reinit the segmentation.

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:30 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:36 PM
kislinsk removed a project: Bulk Edit.