When I use vtkWarningMacro in another thread in my writer class in Catalyst, I don’t have any issues.
However, when I use my writer in ParaView, to save a result, vtkWarningMacro stops abruptly the thread launched by my writer, in other words : it crashes the thread !
When I was developing in C++ under Windows, I remember that a crash produced in a thread stops the whole application, here I don’t understand how a thread can be stopped abruptly and the program continue its execution.
In the callstack I can see that vtkOutputWindow is handled differently than in Catalyst (that’s normal, as messages are displayed in a widget).
I want to know why I can’t use vtkWarningMacro in a thread in ParaView client and how to fix that.