Page MenuHomePhabricator

crash when using pointset interaction with 4D images
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. load 4D image (e.g. MITK-Data/3D+t-Heart)
  2. Open PointSet Interaction View
  3. add new point set
  4. try adding point to a time step other than 0

> crash

Event Timeline

User webechr has pushed new remote branch:

bug-18983-Fix4DCrash

Core Change:
simple check for nullptr when operating on 4d images,
this prevents crash.

it still is not able to add points an t>0, but at least it doesn't crash any more.

[04cd25]: Merge branch 'bug-18983-Fix4DCrash'

Merged commits:

2015-04-15 18:09:28 Christian Weber [1f4e6d]
check if timestep exists, to prevent crash

Re-opening due to crash in 3D window.

User webechr has pushed new remote branch:

bug-18983-Fix4DCrash-2

[a572f3]: Merge branch 'bug-18983-Fix4DCrash-2'

Merged commits:

2015-04-21 13:58:33 Christian Weber [89655a]
Merge branch 'bug-18983-Fix4DCrash-2' of mitk.org:MITK into bug-18983-Fix4DCrash-2

  1. Conflicts:
  2. Modules/Core/src/Interactions/mitkDisplayInteractor.cpp

2015-04-21 13:56:05 Christian Weber [e1e349]
Ignore 3D events or events with no sender information,
within the display interactor, since this

  • can cause crashes
  • reduces performance

2015-04-21 13:55:41 Christian Weber [6f1978]
Ignore 3D events or events with no sender information,
within the display interactor, since this

  • can cause crashes
  • reduces performance