CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview - Segmentation fault

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2011, 13:03
Default Paraview - Segmentation fault
Join Date: Nov 2010
Posts: 41
Rep Power: 15
grjmell is on a distinguished road
I know this error has been discussed in places previously, but nowhere did i find the solution. First I installed paraviewopenfoam381 on my ubuntu laptop. When i try to run it, I get a message in the terminal "Segmentation fault". I can't even open it. after searching on google, it seemed that compiling from source would help. So i rebuilt paraview (and enabled python while at it) following this:

The build is successful, but i get exactly the same segmentation fault. I have installed and built paraview previously on a ubuntu desktop with no problems... anyone have any ideas?
grjmell is offline   Reply With Quote

Old   March 23, 2011, 16:41
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings grjmell,

Might I suggest that you skim through my list of topics about problems with ParaView: Related issues to ParaView with OpenFOAM - Fixes and solutions

The most relevant thread might be this one: Segmentation fault when visualizing in ParaView

Best regards and good luck!
wyldckat is offline   Reply With Quote

Old   August 22, 2019, 23:09
Senior Member
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
This issue is still happening with version 18.10. We're running it on windows.
Tyring to view a VTK file of some bad mesh. I made the file via

foamToVTK -cellSet skewCells

Any ideas??

[Moderator note: 18.10 refers to a version provided by CFD-Support.]

Last edited by wyldckat; August 25, 2019 at 07:55. Reason: see "Moderator note:"
Bdew8556 is offline   Reply With Quote

Old   August 23, 2019, 03:13
Senior Member
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 7
Carlo_P is on a distinguished road
Hey Brett,
this problem appears with all the simulations or only with one specific case?

A simple solution can be to run "paraFoam" that is installed with OpenFoam
Carlo_P is offline   Reply With Quote

Old   December 20, 2019, 05:01
Default Segmentation fault when exporting .vtp to .vtk
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road

I am experiencing sort of the same problems, when exporting a .vtp file to .vtk.

Following is my python script:

import os,sys
import numpy as np
from decimal import Decimal
from paraview.simple import *

path = './postProcessing/freeSurface'

files = os.listdir(path)

for name in files:
val = np.append(val, ff)

val = np.sort(val)

for name in val:
name = np.str(name)
freeSurfacevtp = XMLPolyDataReader(FileName=[path + '/' + name + '/freeSurface.vtp'])
freeSurfacevtp.CellArrayStatus = ['alpha.water']
SaveData(path + '/' + name + '/freeSurface.vtk', proxy=freeSurfacevtp, FileType='Ascii')

I have a directory comprised by folders ranging from 0.02 to 96 for every 0.01. Each folder contains a .vtp file. The above script is run over all folders to convert the .vtp file to .vtk. At folder ~46, i get the error:
Segmentation fault (core dumped)

Note the python script is executed through ubuntu.
I haven't had luck with any debugging yet. Do either of you guys know what might be happening?
Rasmusiwersen is offline   Reply With Quote

Old   January 9, 2024, 13:14
Default Same exact error
New Member
Join Date: Aug 2016
Posts: 14
Rep Power: 9
jjfm20 is on a distinguished road
Hi, I have the same error, do you have any solution? thanks
jjfm20 is offline   Reply With Quote


paraview, segmentation fault

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Segmentation fault with paraview 3.10.1 aot ParaView 5 June 5, 2023 01:32
[OpenFOAM] paraview parafoam segmentation fault (core dumped) RicardoLB ParaView 3 April 28, 2020 20:07
[] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 00:56
[General] Paraview segmentation fault jrmuller ParaView 0 December 10, 2012 12:02
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 07:23

All times are GMT -4. The time now is 04:08.