it usually does not crash because non RGBA multi component images are usually handled separately in the imagevtkmapper2d but IF a multi component image occurs at this point the application crashes.
line 499 vtkMitkLevelWindowFilter
neher | |
Mar 11 2015, 5:31 PM |
F1233: stacktracebug18841.txt | |
Apr 8 2015, 2:06 PM |
it usually does not crash because non RGBA multi component images are usually handled separately in the imagevtkmapper2d but IF a multi component image occurs at this point the application crashes.
line 499 vtkMitkLevelWindowFilter
I reproduced this bug with Peter by removing the line:
node->AddProperty("Image.Displayed Component", mitk::IntProperty::New(0), renderer, overwrite);
in mitkImageVtkMapper2D.cpp
The crash appears deep down in the VTK-Pipeline at the line:
pthread_join( process_id[thread_loop], NULL );
in vtkMultiThreader.txx (see attached stack trace). Since this is VTK code and obviously threads are involved, I will just close the bug. The effort for fixing this seems very high with little gain, since the crash is fixed by setting a correct property in MITK already.