Page MenuHomePhabricator

Fiber Bundle Operations crashes with uncreated planar figure
Closed, ResolvedPublic

Description

To reproduce:

  1. Start MITK and open FiberBundleOperations
  2. Load and select fiber image
  3. click on the circle button to create a circle (do not draw it)
  4. click on the planar figure in the datamanger

> crash

Related Objects

Event Timeline

On Ubuntu 11.04 the bug occurs only in Release-Mode.

The last function entered is the PlaneGeometry::GetNormalVnl(). Calling the m_IndexToWorldTransform->GetMatrix().get_column(2) causes the application to crash.

The planar figures were added to the data manager without a geometry. This causes the crash as soon as the PlaneGeometry is trying to access the VnlMatrix of the m_IndexToWorldTransform member.

[b6b932]: Merge branch 'bug-9717-FiberBundleOperations-Crash'

Merged commits:

2011-10-13 14:14:42 Jan Hering [96ea9f]
Added geometry initialization for planar figure