Steps to reproduce:
- Build MITK in release mode
- Load tensor/qball image
- Activate odf/tensor visualisation
-> Crash
This crash does not occur in the debug build.
Steps to reproduce:
-> Crash
This crash does not occur in the debug build.
It seems to occur only on the Ubuntu 11.04 platform. Thomas wasn't able to reproduce the bug on Ubuntu 10.10.
The cause of the bug is in
Modules/DiffusionImaging/Rendering/mitkOdfVtkMapper2D.txx,
in ::MeasureDisplayedGeometry method, lines 470 - 550
simply returning the retval = new OdfDisplayGeometry() after having enhanced the constructor of OdfDisplayGeometry does not lead to the crash [ all member are initialized to 0.0 ]
[422a89]: Merge branch 'bug-8351-QBall-Visualisation-Crash'
2011-08-10 15:05:23 Jan Hering [c9213b]
Fixing runtime 'stack smash' error