# ParaView 5.8 Segmentation Fault When loading files

**URL:** https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771
**Category:** ParaView Support
**Created:** [March 6, 2020, 10:38pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771 "2020-03-06T22:38:56Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![yopology](https://discourse.paraview.org/user_avatar/discourse.paraview.org/yopology/32/2268_2.png) [@yopology](https://discourse.paraview.org/u/yopology)
#### Post date: [March 6, 2020, 10:38pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/1 "2020-03-06T22:38:57Z")

</div>

Hi,

I get a segmentation fault error when I use ParaView 5.8 to load data files, including the files in the dataset for the ParaView tutorial (e.g., can.ex2 and disk\_out\_ref.ex2), as well as HDF5 files created by my own codes. I was able to load all of them without problems before version 5.8. How may I solve this problem?

Thanks,

Yi-Min

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [March 7, 2020, 4:16pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/2 "2020-03-07T16:16:13Z")

</div>

Try running paraview like so:

```auto
> paraview -l=<path>/output.log,TRACE

```

This will generate a very verbose log file. Now, when it segfaults, look at end of the trace file generated. It should provide more information about what ParaView was doing when the segfault occurred. That may help illuminate where the issue may be.

---

<div class="post-metadata">

### Author: ![yopology](https://discourse.paraview.org/user_avatar/discourse.paraview.org/yopology/32/2268_2.png) [@yopology](https://discourse.paraview.org/u/yopology)
#### Post date: [March 19, 2020, 5:21am UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/3 "2020-03-19T05:21:31Z")

</div>

I got a long log file by running the suggested command. Here is what the log file shows before the error kicks in:

```
 ( 15.768s) [paraview] vtkSMProxy.cxx:851 9| } 0.001 s: vtkSMProxy (0x50f6b50)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 15.769s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 15.769s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 15.784s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 15.812s) [paraview] vtkSMProxy.cxx:851 9| } 0.028 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 22.859s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 22.859s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.100s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.101s) [paraview] vtkSMProxy.cxx:851 9| } 0.001 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.103s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.103s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.103s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.292s) [paraview] vtkSMProxy.cxx:851 9| } 0.189 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.478s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.478s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.481s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 23.481s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 32.584s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 32.584s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.489s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.489s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.491s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.491s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.491s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.494s) [paraview] vtkSMProxy.cxx:851 9| } 0.002 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.499s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.500s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.500s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 33.500s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 34.980s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 34.980s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.161s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.161s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.162s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.162s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.162s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.163s) [paraview] vtkSMProxy.cxx:851 9| } 0.001 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.164s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.165s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.165s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 35.165s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 36.583s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 36.583s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 36.584s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 36.584s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.897s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.898s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.898s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.898s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.898s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.898s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.899s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.899s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.904s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.904s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMProxy (0x5219980)[misc, FileInformationHelper]: gather information vtkPVFileInformation
( 38.922s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMSourceProxy (0x6229aa0)[internal_sources, ExodusIIReaderCore]: gather information vtkPVAlgorithmPortsInformation
( 38.922s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMSourceProxy (0x6229aa0)[internal_sources, ExodusIIReaderCore]: gather information vtkPVAlgorithmPortsInformation
( 38.923s) [paraview] vtkSMProxy.cxx:851 9| { vtkSMSourceProxy (0x531c020)[sources, ExodusIIReader]: gather information vtkPVAlgorithmPortsInformation
( 38.923s) [paraview] vtkSMProxy.cxx:851 9| } 0.000 s: vtkSMSourceProxy (0x531c020)[sources, ExodusIIReader]: gather information vtkPVAlgorithmPortsInformation
```

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [March 20, 2020, 12:14pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/4 "2020-03-20T12:14:00Z")

</div>

alas, the log doesn’t provide much help here. Can you create standard sources like `Sphere`, `Cone` etc? Does it segfault similar? Can describe the steps exactly?

- Open File
- Select File
- Hit Ok
- Apply – is this where it segfaults? or before?

Which OS is this on? Do you have older versions on ParaView in your PATH (on Windows), LD\_LIBRARY\_PATH (on linux), DYLD\_LIBRARY\_PATH (on macOS) environment variables?

---

<div class="post-metadata">

### Author: ![yopology](https://discourse.paraview.org/user_avatar/discourse.paraview.org/yopology/32/2268_2.png) [@yopology](https://discourse.paraview.org/u/yopology)
#### Post date: [March 20, 2020, 3:54pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/5 "2020-03-20T15:54:54Z")

</div>

I can create a sphere, no problems.

For opening a file, I can go up to “Hit OK,” then the program hangs for around 30 seconds, and the segfault kicks in.

My OS is Ubuntu 18.04.4. I do have a few older versions of ParaView in the computer, but the LD\_LIBRARY\_PATH environment variable does not link to any of the older versions. All the older versions work without problems.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 21, 2020, 2:00am UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/6 "2020-03-21T02:00:07Z")

</div>

Could you provide your data file? I suspect we’re running out of memory with a 30s delay like that. Do you know how large your dataset is?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 21, 2020, 2:15am UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/7 "2020-03-21T02:15:01Z")

</div>

Oh, I see. You’re even having issues with the example data sets. Hrm.

---

<div class="post-metadata">

### Author: ![keltonhalbert](https://discourse.paraview.org/user_avatar/discourse.paraview.org/keltonhalbert/32/1394_2.png) [@keltonhalbert](https://discourse.paraview.org/u/keltonhalbert)
#### Post date: [September 30, 2020, 8:12pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/8 "2020-09-30T20:12:28Z")

</div>

Any word on what’s going on here? I’m having the exact same issue where if I load a NetCDF file that previously worked fine in ParaView, it crashes in a segmentation fault the moment I hit “OK”.

---

<div class="post-metadata">

### Author: ![yopology](https://discourse.paraview.org/user_avatar/discourse.paraview.org/yopology/32/2268_2.png) [@yopology](https://discourse.paraview.org/u/yopology)
#### Post date: [October 15, 2020, 4:46pm UTC](https://discourse.paraview.org/t/paraview-5-8-segmentation-fault-when-loading-files/3771/9 "2020-10-15T16:46:33Z")

</div>

I still have the same problem with Paraview 5.8.1.
