How to interpret VTK runtime error messages?

My VTK 9.2 C++ application generates multiple VTK error messages at runtime on stderr when building the pipeline, like this one:

2023-08-11 15:09:34.058 ( 0.335s) [ 443E680] vtkExecutive.cxx:740 ERR| vtkCompositeDataPipeline (0x563dd90c7d60): Algorithm vtkElevationFilter (0x563dd90c8a10) returned failure for request: vtkInformation (0x563dd90b1bb0)
Debug: Off
Modified Time: 36
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0

How to interpret this message? My VTK pipeline includes a vtkElevationFilter.

Hello,

Diagnosing the problem based on those messages alone is a bit difficult indeed. Those messages are not very clear. Try simplifying or commenting out portions of the pipeline to the point the error ceases, then add one part, check, add one part, check… At one point you’ll get the error message. This may help pinpointing the issue.

take care,

PC

1 Like

Request: REQUEST_DATA_OBJECT

this means that vtkElevationFilter fail to perform its RequestDataObject method. However, figuring out why is the tricky part, especially since vtkElevationFilter should not even need to create any king of data object.

To figure it out, you need to start debugging.