vtkCaptionWidget causes crash on close
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I have tried using vtkCaptionWidget to replace vtkTextWidget in my application. The text widget causes no problems, but as soon as I start using vtkCaptionWIdget, I get a crash on close. It does not matter what I do with the widget, as soon as I instantiate it using vtkCaptionWidget::New, vtkSmartPointer::New() or vtkNew, the application crashes on close.
I have notidec this in Windows, with 64 bit MinGW v4.9.2. I am using OpenGL2 rendering mode in VTK. I tried but have not noticed it in Linux (CentOS 5.10, OpenSuSe 13.2, Ubuntu 14.04).
I am attaching a minimal compileable example (using QtCreator/qmake) that replicates the problem. Please adjust the VTK_INSTALL variable in vtkCaptionActor.pro file before compiling.