Page MenuHomePhabricator

vtkMitkLevelWindowFilter always treats multi component images as RGBA --> crash
Closed, WontfixPublic

Description

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

Event Timeline

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.

Stack trace of the crash

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.