# Paraview crashing when loading state file

**URL:** https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837
**Category:** ParaView Support
**Created:** [June 12, 2024, 4:40pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837 "2024-06-12T16:40:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kieran\_leadbetter](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kieran_leadbetter/32/14585_2.png) [@kieran\_leadbetter](https://discourse.paraview.org/u/kieran_leadbetter)
#### Post date: [June 12, 2024, 4:40pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/1 "2024-06-12T16:40:55Z")

</div>

Hi,

Have been working on some 3D data today when the following error would pop up when loading the state file:

ROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 760 vtkPVDataRepresentationPipeline (000001849E8CB980): Input for connection index 0 on input port index 0 for algorithm vtkImageSliceRepresentation(00000184A32AFFE0) is of type vtkRectilinearGrid, but a vtkImageData is required.

I was able to just ignore it and everything would be fine until paraview would start crashing more frequently until it would crash upon any input.

Now i am unable to even load the state file without paraview crashing. the file will load to the extent i can see the pipeline change but the previous errorwould appear during loading and then paraview will crash.

Is there a solution to this as i can’t at the moment access any of the analysis i was doing.

Thanks in advance,  
Kieran

State file (data too large to attach):

[B3 [200].pvsm](https://discourse.paraview.org/uploads/short-url/aqXP2gjHpqSGwYb9alSCCNrjb7Y.pvsm) (2.2 MB)

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [June 12, 2024, 5:14pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/2 "2024-06-12T17:14:26Z")

</div>

Did you change the dataset you were looking at somewhere along the line? What about the version of Paraview?

---

<div class="post-metadata">

### Author: ![kieran\_leadbetter](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kieran_leadbetter/32/14585_2.png) [@kieran\_leadbetter](https://discourse.paraview.org/u/kieran_leadbetter)
#### Post date: [June 12, 2024, 7:30pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/3 "2024-06-12T19:30:05Z")

</div>

V 5.10.1

and no the data set wasn’t change. neither was the path to the data set.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [June 12, 2024, 7:53pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/4 "2024-06-12T19:53:59Z")

</div>

> [@kieran\_leadbetter](#):
>
> ROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 760 vtkPVDataRepresentationPipeline (000001849E8CB980): Input for connection index 0 on input port index 0 for algorithm vtkImageSliceRepresentation(00000184A32AFFE0) is of type vtkRectilinearGrid, but a vtkImageData is required.

This quote is indicating that your data representation in the state file was set using a vtkImageData object, but that it is now being handed a vtkRectilinearGrid. I’m not surprised that worked, since the representation should only matter for what shows in the RenderView window. However, it implies to me that, somewhere along the line, you were changing stuff around in your pipeline using Change Input or something similar, and that can easily cause problems.

I tried to look at your state file, but 45k lines of code is too much for me to parse through without knowing what I’m looking for.

---

<div class="post-metadata">

### Author: ![garcfd](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ccd318/32.png) [@garcfd](https://discourse.paraview.org/u/garcfd)
#### Post date: [December 4, 2025, 7:31pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/5 "2025-12-04T19:31:16Z")

</div>

I’m getting similar error message. The state file was created using Paraview v5.10.0 and Im using the same version of Paraview to load the state file.

Input for connection index 0 on input port index 0 for algorithm vtkImageSliceRepresentation(00000184CD285AA0) is of type vtkRectilinearGrid, but a vtkImageData is required.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [December 4, 2025, 10:36pm UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/6 "2025-12-04T22:36:23Z")

</div>

This issue was address in ParaView 6.0: [https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/7324](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/7324)

---

<div class="post-metadata">

### Author: ![garcfd](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ccd318/32.png) [@garcfd](https://discourse.paraview.org/u/garcfd)
#### Post date: [December 5, 2025, 9:34am UTC](https://discourse.paraview.org/t/paraview-crashing-when-loading-state-file/14837/7 "2025-12-05T09:34:42Z")

</div>

thanks Cory
