ParaView 5.8 Segmentation Fault When loading files

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

Try running paraview like so:

> 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.

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

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?

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.

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?

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

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”.

I still have the same problem with Paraview 5.8.1.