CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

paraFoam segmentation fault

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2025, 03:46
Default paraFoam segmentation fault
  #1
New Member
 
Ian Ibanez
Join Date: Jul 2025
Posts: 2
Rep Power: 0
idibanez is on a distinguished road
After following the Getting Started tutorial at https://openfoam.org/download/13-ubuntu/, paraFoam resulted in the following error.

I am using OpenFoam13 through WSL Ubuntu 22.04. How do I fix this?

Code:
Created temporary 'pitzDailySteady.OpenFOAM'
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700

Loguru caught a signal: SIGSEGV
Stack trace:
0       0x7f772e442520 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f772e442520]
(   2.161s) [paraview        ]                       :0     FATL| Signal: SIGSEGV
idibanez is offline   Reply With Quote

Old   July 24, 2025, 18:57
Default paraFoam segmentation fault (SOLVED)
  #2
New Member
 
Ian Ibanez
Join Date: Jul 2025
Posts: 2
Rep Power: 0
idibanez is on a distinguished road
I figured out how to fix this, and it's just a newbie mistake.

To fix the error message
Code:
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
Add this at the end of the ~/.bashrc file
Code:
chmod 0700 /run/user/1000
The segmentation fault might be because Paraview is not configured or might not work inside WSL. I had to install Paraview for Windows 11 first from their official website, then I followed these steps to make the "Getting Started" tutorial at https://openfoam.org/download/13-ubuntu/ work.

1. After the blockMesh and paraFoam commands, create a new file with the same name as the current directory, with file extension ".foam". Using the Getting Started example, we can use

Code:
touch pitzDailySteady.foam
to create this file

2. Launch Paraview (Ubuntu) from outside WSL. It should automatically link with your WSL configuration.

3. Locate the ".foam" file you created earlier. From here, you can now use paraview's functions to visualize your results.
idibanez is offline   Reply With Quote

Reply

Tags
parafoam, segmentation fault, sigsegv

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
'Signal: Segmentation fault (11)' while running openFoam in Parallel Processing jaymeen721 OpenFOAM Running, Solving & CFD 1 April 10, 2023 20:17
[OpenFOAM] paraview parafoam segmentation fault (core dumped) RicardoLB ParaView 3 April 28, 2020 21:07
[OpenFOAM] ParaFoam Segmentation Fault dancfd ParaView 1 July 7, 2014 21:38
paraFoam, Segmentation fault Fed11 OpenFOAM Bugs 3 July 4, 2011 20:04
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 10:12


All times are GMT -4. The time now is 09:16.