Reload existing CGNS file leads to crash
I have noticed that when a CGNS file is loaded and the user right-clicks on the reader source and selects "Reload files" -> "Reload existing", that ParaView crashes. I have tracked this to the fact that vtkCGNSFileSeriesReader::SetReader(vtkCGNSReader)
is called with nullptr
, after which vtkCGNSFileSeriesReader::ClearBlockStatus
is called, where the Reader
member is then null
.
This may have something to do with how the file series reader is implemented (it does not inherit from vtkFileSeriesReader and all other file series readers use this class) and/or how it is exposed in the CGNSReader.xml
file, but I am not knowledgeable enough to fix this.