CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Segmentation fault with paraview 3.10.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2011, 10:22
Default Segmentation fault with paraview 3.10.1
  #1
aot
New Member
 
Andreas Otto
Join Date: Sep 2009
Posts: 12
Rep Power: 17
aot is on a distinguished road
Dear all,
i'm running paraview with OF 2.0 and suddenly got problems. Opening a decomposed case with paraview runs fine but if I try to open something like the color legend or some filters paraview crashes with segmentation fault and without further explanation.

I tried to install paraview again from source but nothing changed.
I'm running kubuntu 10.04, Qt version 4.6.2, and already updated cmake from version 2.8.0 to 2.8.5.

Paraview 3.10.1 ran fine without problems for a long time also with OF 2.0. I think the problems started with a kernel update.

Does somebody have an idea how to solve this problem.

Thank you in advance

Andreas
aot is offline   Reply With Quote

Old   July 22, 2011, 18:35
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Andreas,

I can only think of four possibilities:
  1. Indeed it could be a Kernel problem. If the error message is something like the one on -> this comment <-, then yes it could be a kernel problem. In Synaptic or KPackage, you should be able to revert back to the previous kernel version... Or simply pick the previous one from the grub boot list when your computer starts.
  2. The settings file for ParaView in your home folder might have gotten damaged somehow. This has been known to happen in the past with ParaView 3.8, but I thought that it should be fixed by now. Either way, try erasing the folder "~/.config/ParaView".
  3. It could be a more annoying problem: glibc or Qt might have been updated as well. This might have had an unexpected side effect on ParaView itself or only on the reader used to open the OpenFOAM cases. So, here it really depends on the reader version you are using to open the cases: is the file extension .OpenFOAM or .foam?
    If it's .OpenFOAM, try running paraFoam like this:
    Code:
    paraFoam -builtin
    This will open with .foam. If the crash still occurs, then it's probably ParaView that got broken with something else.
  4. The OpenGL drivers might have been modified. These are usually tightly connected to the Graphics card drivers. If these got updated and ParaView started crashing, then something bad is going with the drivers, specially if you already tried rebuilding ParaView from source. Going backwards to the previous driver version might fix the problem.
Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 25, 2011, 14:43
Default
  #3
aot
New Member
 
Andreas Otto
Join Date: Sep 2009
Posts: 12
Rep Power: 17
aot is on a distinguished road
Hi Bruno,
thank you very much for your reply. I also think it was a problem with the OpenGL-drivers. Instead of investing too much time in this I used the possibility to reinstall and update my new system ...

Andreas
aot is offline   Reply With Quote

Old   November 12, 2015, 13:50
Question
  #4
New Member
 
narayana vekamulla
Join Date: Oct 2015
Posts: 15
Rep Power: 11
vnarayana is on a distinguished road
Good evening Bruno,
i have been observing that you are helping the people by giving wonderful suggestions.
Today i worked out many problems but suddenly i got segmentation fault. would you please help me to rectify it ? i am using linux mint 14.02, paraView 14.0 64bit

narayana@narayana-Lenovo-G50-80 ~/OpenFOAM/narayana-2.4.0/run/tutorials/incompressible/icoFoam/cavity $ paraFoam
Segmentation fault
narayana@narayana-Lenovo-G50-80 ~/OpenFOAM/narayana-2.4.0/run/tutorials/incompressible/icoFoam/cavity $
vnarayana is offline   Reply With Quote

Old   November 13, 2015, 07:55
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Narayana,

Not much information to work with. Knowing what fixes you implemented would help isolate the problem. And knowing which Linux distribution you're using would also help.

My guess, please check if which of the following commands don't result in a segmentation fault:
  1. Run only paraview:
    Code:
    paraview
  2. Deactivate the OpenFOAM shell environment and try again:
    Code:
    wmUNSET
    paraview
  3. Start a new terminal and with the OpenFOAM shell environment ready to be used, please run:
    Code:
    ldd $(echo $ParaView_INCLUDE_DIR | sed -e 's=include=lib=')/libvtkpqCore-pv4.1.so > paraviewLibraries.log
    gzip < paraviewLibraries.log > paraviewLibraries.log.gz
    pwd
    The last command will tell you the path to the folder where the file "paraviewLibraries.log.gz" is located. Please attach this file "paraviewLibraries.log.gz" to your next post, because it provides details regarding which Qt and ParaView libraries it is loading.
  4. Run:
    Code:
    echo $PV_PLUGIN_PATH
    ls -l $PV_PLUGIN_PATH
With the information for the previous 4 details, I might be able to diagnose the problem.


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 5, 2023, 02:32
Default
  #6
New Member
 
Wu Jieping
Join Date: Feb 2023
Posts: 3
Rep Power: 3
TStones is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Andreas,

I can only think of four possibilities:
  1. Indeed it could be a Kernel problem. If the error message is something like the one on -> this comment <-, then yes it could be a kernel problem. In Synaptic or KPackage, you should be able to revert back to the previous kernel version... Or simply pick the previous one from the grub boot list when your computer starts.
  2. The settings file for ParaView in your home folder might have gotten damaged somehow. This has been known to happen in the past with ParaView 3.8, but I thought that it should be fixed by now. Either way, try erasing the folder "~/.config/ParaView".
  3. It could be a more annoying problem: glibc or Qt might have been updated as well. This might have had an unexpected side effect on ParaView itself or only on the reader used to open the OpenFOAM cases. So, here it really depends on the reader version you are using to open the cases: is the file extension .OpenFOAM or .foam?
    If it's .OpenFOAM, try running paraFoam like this:
    Code:
    paraFoam -builtin
    This will open with .foam. If the crash still occurs, then it's probably ParaView that got broken with something else.
  4. The OpenGL drivers might have been modified. These are usually tightly connected to the Graphics card drivers. If these got updated and ParaView started crashing, then something bad is going with the drivers, specially if you already tried rebuilding ParaView from source. Going backwards to the previous driver version might fix the problem.
Best regards and good luck!
Bruno
Hi Bruno,

I also got the "segmentation fault" when I did some filter operations like counter, slice, etc.

My computer OS is win10 so I runed Ubuntu20.04 on wsl2. I installed the OpenFOAM-9 & paraview5.6.3 on Ubuntu by following the steps on the official website and I used VcXsrv to run graphical linux applications.

I have tried your methods 2-4 above. I deleted the the folder "~/.config/ParaView", downloaded the paraview5.10 from the official website instead and changed my Graphics card(Radeon RX550) driver version from 23.5.2 to 21.3.1, but the crash still occurs.

What should I do to solve this problem? I really need your help.

Thank you very much!

Wu
TStones is offline   Reply With Quote

Reply

Tags
paraview 3.10, segmentation fault


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] Paraview - Segmentation fault grjmell ParaView 5 January 9, 2024 14:14
[OpenFOAM] paraview parafoam segmentation fault (core dumped) RicardoLB ParaView 3 April 28, 2020 21:07
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 01:56
[General] Paraview segmentation fault jrmuller ParaView 0 December 10, 2012 13:02
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 08:23


All times are GMT -4. The time now is 07:54.